Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed May 13, 2024
1 parent 1a5de54 commit f70cc50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/chi_squared_test.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#' - du Prel, J.B., Röhrig, B., Hommel, G., Blettner, M. Auswahl statistischer
#' Testverfahren. Dtsch Arztebl Int 2010; 107(19): 343–8
#'
#' @examplesIf requireNamespace("effectsize")
#' @examplesIf requireNamespace("effectsize") && requireNamespace("MASS")
#' data(efc)
#' efc$weight <- abs(rnorm(nrow(efc), 1, 0.3))
#'
Expand Down Expand Up @@ -94,7 +94,7 @@ chi_squared_test <- function(data,
# Mann-Whitney-Test for two groups --------------------------------------------

.calculate_chisq <- function(data, select, by, weights, paired = FALSE, ...) {
insight::check_if_installed("datawizard")
insight::check_if_installed(c("datawizard", "MASS"))
# sanity checks
.sanitize_htest_input(data, select, by, weights)

Expand Down
2 changes: 1 addition & 1 deletion man/chi_squared_test.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f70cc50

Please sign in to comment.