Describe the bug
Within report_effectsize.htest(), .report_effectsize_ttest() is called by passing a table object – except there is no such object in the scope of report_effectsize.htest(), making it refer to base::table().
To Reproduce
|
report_effectsize.htest <- function(x, ...) { |
|
dot_args <- list(...) |
|
model_info <- dot_args$model_info |
|
if (is.null(model_info)) { |
|
model_info <- suppressWarnings(insight::model_info(x, verbose = FALSE)) |
|
} |
|
|
|
# remove arg, so dots can be passed to effectsize |
|
dot_args[["model_info"]] <- NULL |
|
|
|
# For t-tests ---------------- |
|
|
|
if (model_info$is_ttest) { |
|
out <- .report_effectsize_ttest(x, table, dot_args) |
|
} |
Describe the bug
Within
report_effectsize.htest(),.report_effectsize_ttest()is called by passing atableobject – except there is no such object in the scope ofreport_effectsize.htest(), making it refer tobase::table().To Reproduce
report/R/report.htest.R
Lines 40 to 54 in 69e8c5f