diff --git a/R/p_direction.R b/R/p_direction.R index b743ce9d2..cd620fe05 100644 --- a/R/p_direction.R +++ b/R/p_direction.R @@ -106,7 +106,9 @@ #' # emmeans #' # ----------------------------------------------- #' if (require("emmeans")) { -#' p_direction(emtrends(model, ~1, "wt", data = mtcars)) +#' p_direction(suppressWarnings( +#' emtrends(model, ~1, "wt", data = mtcars)) +#' ) #' } #' #' # brms models diff --git a/man/p_direction.Rd b/man/p_direction.Rd index cf90a3531..07c3c95dd 100644 --- a/man/p_direction.Rd +++ b/man/p_direction.Rd @@ -163,7 +163,9 @@ if (require("rstanarm")) { # emmeans # ----------------------------------------------- if (require("emmeans")) { - p_direction(emtrends(model, ~1, "wt", data = mtcars)) + p_direction(suppressWarnings( + emtrends(model, ~1, "wt", data = mtcars)) + ) } # brms models