CRAN Package Check Results for Maintainer ‘Daniel Lüdecke <d.luedecke at uke.de>’

Last updated on 2025-02-07 08:51:59 CET.

Package ERROR NOTE OK
easystats 1 12
esc 13
ggeffects 4 9
insight 7 6
parameters 13
performance 13
sjlabelled 13
sjmisc 3 10
sjPlot 13
sjstats 13

Package easystats

Current CRAN status: ERROR: 1, OK: 12

Version: 0.7.4
Check: package dependencies
Result: ERROR Packages required and available but unsuitable versions: 'bayestestR', 'modelbased', 'see' See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’ manual. Flavor: r-release-macos-arm64

Package esc

Current CRAN status: OK: 13

Package ggeffects

Current CRAN status: ERROR: 4, OK: 9

Version: 2.1.0
Check: examples
Result: ERROR Running examples in ‘ggeffects-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: pool_comparisons > ### Title: Pool contrasts and comparisons from 'test_predictions()' > ### Aliases: pool_comparisons > > ### ** Examples > > ## Don't show: > if (require("mice")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + data("nhanes2", package = "mice") + imp <- mice::mice(nhanes2, printFlag = FALSE) + comparisons <- lapply(1:5, function(i) { + m <- lm(bmi ~ age + hyp + chl, data = mice::complete(imp, action = i)) + test_predictions(m, "age") + }) + pool_comparisons(comparisons) + ## Don't show: + }) # examplesIf Loading required package: mice Attaching package: ‘mice’ The following object is masked from ‘package:stats’: filter The following objects are masked from ‘package:base’: cbind, rbind > data("nhanes2", package = "mice") > imp <- mice::mice(nhanes2, printFlag = FALSE) > comparisons <- lapply(1:5, function(i) { + m <- lm(bmi ~ age + hyp + chl, data = mice::complete(imp, action = i)) + test_predictions(m, "age") + }) Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Execution halted Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 2.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [127s/155s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ggeffects) > test_check("ggeffects") You are calculating adjusted predictions on the population-level (i.e. `type = "fixed"`) for a *generalized* linear mixed model. This may produce biased estimates due to Jensen's inequality. Consider setting `bias_correction = TRUE` to correct for this bias. See also the documentation of the `bias_correction` argument. Not all rows are shown in the output. Use `print(..., n = Inf)` to show all rows. Not all rows are shown in the output. Use `print(..., n = Inf)` to show all rows. Running model... Done! Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Iteration 1 - deviance = 39.74973 - criterion = 0.8590917 Iteration 2 - deviance = 10.50328 - criterion = 2.758244 Iteration 3 - deviance = 9.231325 - criterion = 0.1363107 Iteration 4 - deviance = 9.227742 - criterion = 0.0003840654 Iteration 5 - deviance = 9.227742 - criterion = 3.446463e-09 converged Data were 'prettified'. Consider using `terms="price [all]"` to get smooth plots. NOTE: Results may be misleading due to involvement in interactions NOTE: Results may be misleading due to involvement in interactions Re-fitting to get Hessian Re-fitting to get Hessian Model contains splines or polynomial terms. Consider using `terms="mined [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="cover [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="mined [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="cover [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Can't compute adjusted predictions, `effects::Effect()` returned an error. Reason: Invalid operation on a survival time You may try `ggpredict()` or `ggemmeans()`. Can't compute adjusted predictions, `effects::Effect()` returned an error. Reason: non-conformable arguments You may try `ggpredict()` or `ggemmeans()`. [ FAIL 15 | WARN 0 | SKIP 74 | PASS 500 ] ══ Skipped tests (74) ══════════════════════════════════════════════════════════ • On CRAN (61): 'test-MCMCglmm.R:1:1', 'test-MixMod.R:1:1', 'test-averaging.R:1:1', 'test-avg_predictions.R:1:1', 'test-backtransform_response.R:1:1', 'test-bias_correction.R:1:1', 'test-brms-categ-cum.R:1:1', 'test-brms-monotonic.R:1:1', 'test-brms-ppd.R:1:1', 'test-brms-trial.R:1:1', 'test-clean_vars.R:1:1', 'test-clm.R:1:1', 'test-clm2.R:1:1', 'test-clmm.R:1:1', 'test-condition.R:1:1', 'test-correct_se_sorting.R:1:1', 'test-decimals.R:1:1', 'test-fixest.R:1:1', 'test-focal_only_random.R:1:1', 'test-format.R:1:1', 'test-gamlss.R:1:1', 'test-gamm4.R:1:1', 'test-glmer.R:2:1', 'test-glmmTMB.R:1:1', 'test-interval_re.R:1:1', 'test-ivreg.R:1:1', 'test-johnson_neyman.R:1:1', 'test-johnson_neyman_numcat.R:1:1', 'test-list_terms.R:36:3', 'test-lmer.R:1:1', 'test-mgcv.R:1:1', 'test-plot-from-vignettes.R:5:1', 'test-plot-ordinal-latent.R:1:1', 'test-plot-show_data.R:1:1', 'test-plot-survival.R:2:1', 'test-plot.R:1:1', 'test-polr.R:21:7', 'test-polr.R:60:7', 'test-pool_comparisons.R:1:1', 'test-print.R:1:1', 'test-print_digits.R:1:1', 'test-print_md.R:1:1', 'test-print_zero_inflation.R:1:1', 'test-resid_over_grid.R:33:5', 'test-rstanarm-ppd.R:1:1', 'test-rstanarm.R:1:1', 'test-sdmTMB.R:1:1', 'test-simulate.R:1:1', 'test-test_predictions-formula.R:1:1', 'test-test_predictions-margin.R:1:1', 'test-test_predictions-mixed.R:1:1', 'test-test_predictions_emmeans.R:133:3', 'test-test_predictions_emmeans.R:168:3', 'test-test_predictions_ggeffects.R:140:3', 'test-test_predictions_ggeffects.R:184:3', 'test-test_predictions_ggeffects.R:193:3', 'test-test_predictions_ggeffects.R:236:5', 'test-vcov.R:1:1', 'test-vglm.R:1:1', 'test-zeroinfl.R:27:3', 'test-zi_prob.R:1:1' • On Linux (11): 'test-brglm.R:1:1', 'test-ci_backticks-names.R:1:1', 'test-emmeans-weights.R:1:1', 'test-gee.R:1:1', 'test-ggaverage.R:1:1', 'test-glm.R:1:1', 'test-ordinal.R:1:1', 'test-parsnip.R:94:3', 'test-print_subsets.R:1:1', 'test-print_test_predictions-ordinal.R:1:1', 'test-print_test_predictions.R:1:1' • empty test (2): 'test-polr.R:136:5', 'test-polr.R:142:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-betareg.R:51:3'): ggpredict ──────────────────────────────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(p) at test-betareg.R:51:3 2. └─ggeffects:::test_predictions.ggeffects(p) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:30:3'): test_predictions, categorical, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model1, c("groups", "episode")) at test-test_predictions.R:30:3 2. └─ggeffects:::test_predictions.default(model1, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:63:3'): test_predictions, categorical, pairwise, p_adjust ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model1, c("groups", "episode")) at test-test_predictions.R:63:3 2. └─ggeffects:::test_predictions.default(model1, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:107:3'): test_predictions, interaction ────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model2, c("Sepal.Length", "Species")) at test-test_predictions.R:107:3 2. └─ggeffects:::test_predictions.default(...) 3. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects::comparisons(...) 7. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 8. └─checkmate::assert(...) 9. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 10. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:125:3'): test_predictions, by-argument ────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(prfilter, by = "c161sex") at test-test_predictions.R:125:3 2. └─ggeffects:::test_predictions.ggeffects(prfilter, by = "c161sex") 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:155:3'): test_predictions, categorical, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model3, c("groups", "episode")) at test-test_predictions.R:155:3 2. └─ggeffects:::test_predictions.default(model3, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:221:3'): test_predictions, categorical, one focal, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "Sex") at test-test_predictions.R:221:3 2. └─ggeffects:::test_predictions.default(m, "Sex") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:244:3'): test_predictions, masked chars in levels ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model, c("groups", "sex")) at test-test_predictions.R:244:3 2. └─ggeffects:::test_predictions.default(model, c("groups", "sex")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:268:3'): test_predictions, don't drop single columns ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-test_predictions.R:268:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggeffects::test_predictions(m, c("Sepal.Width.factor", "Petal.Width [0.5]")) 5. └─ggeffects:::test_predictions.default(...) 6. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 7. ├─base::suppressMessages(...) 8. │ └─base::withCallingHandlers(...) 9. ├─base::suppressWarnings(...) 10. │ └─base::withCallingHandlers(...) 11. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 12. └─marginaleffects (local) `<fn>`(...) 13. └─marginaleffects::predictions(...) 14. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 15. └─checkmate::assert(...) 16. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 17. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:284:3'): test_predictions, make sure random effects group is categorical ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(ggpredict(m, c("Days", "grp"))) at test-test_predictions.R:284:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::comparisons(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:307:3'): test_predictions, works with glmmTMB and w/o vcov ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(predictions, verbose = FALSE) at test-test_predictions.R:307:3 2. └─ggeffects:::test_predictions.ggeffects(predictions, verbose = FALSE) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::predictions(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:331:3'): test_predictions, correct order of character vectors ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(pr1) at test-test_predictions.R:331:3 2. └─ggeffects:::test_predictions.ggeffects(pr1) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:350:3'): test_predictions, zero-inflated models ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(pr1) at test-test_predictions.R:350:3 2. └─ggeffects:::test_predictions.ggeffects(pr1) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::predictions(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions_emmeans.R:18:3'): test_predictions, engine emmeans ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "c172code") at test-test_predictions_emmeans.R:18:3 2. └─ggeffects:::test_predictions.default(m, "c172code") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions_emmeans.R:80:3'): test_predictions, engine emmeans, glm binomial ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "var_binom", margin = "marginaleffects") at test-test_predictions_emmeans.R:80:3 2. └─ggeffects:::test_predictions.default(m, "var_binom", margin = "marginaleffects") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) [ FAIL 15 | WARN 0 | SKIP 74 | PASS 500 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 2.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [130s/174s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ggeffects) > test_check("ggeffects") You are calculating adjusted predictions on the population-level (i.e. `type = "fixed"`) for a *generalized* linear mixed model. This may produce biased estimates due to Jensen's inequality. Consider setting `bias_correction = TRUE` to correct for this bias. See also the documentation of the `bias_correction` argument. Not all rows are shown in the output. Use `print(..., n = Inf)` to show all rows. Not all rows are shown in the output. Use `print(..., n = Inf)` to show all rows. Running model... Done! Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Iteration 1 - deviance = 39.74973 - criterion = 0.8590917 Iteration 2 - deviance = 10.50328 - criterion = 2.758244 Iteration 3 - deviance = 9.231325 - criterion = 0.1363107 Iteration 4 - deviance = 9.227742 - criterion = 0.0003840654 Iteration 5 - deviance = 9.227742 - criterion = 3.446463e-09 converged Data were 'prettified'. Consider using `terms="price [all]"` to get smooth plots. NOTE: Results may be misleading due to involvement in interactions NOTE: Results may be misleading due to involvement in interactions Re-fitting to get Hessian Re-fitting to get Hessian Model contains splines or polynomial terms. Consider using `terms="mined [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="cover [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="mined [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="cover [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Can't compute adjusted predictions, `effects::Effect()` returned an error. Reason: Invalid operation on a survival time You may try `ggpredict()` or `ggemmeans()`. Can't compute adjusted predictions, `effects::Effect()` returned an error. Reason: non-conformable arguments You may try `ggpredict()` or `ggemmeans()`. [ FAIL 15 | WARN 0 | SKIP 74 | PASS 500 ] ══ Skipped tests (74) ══════════════════════════════════════════════════════════ • On CRAN (61): 'test-MCMCglmm.R:1:1', 'test-MixMod.R:1:1', 'test-averaging.R:1:1', 'test-avg_predictions.R:1:1', 'test-backtransform_response.R:1:1', 'test-bias_correction.R:1:1', 'test-brms-categ-cum.R:1:1', 'test-brms-monotonic.R:1:1', 'test-brms-ppd.R:1:1', 'test-brms-trial.R:1:1', 'test-clean_vars.R:1:1', 'test-clm.R:1:1', 'test-clm2.R:1:1', 'test-clmm.R:1:1', 'test-condition.R:1:1', 'test-correct_se_sorting.R:1:1', 'test-decimals.R:1:1', 'test-fixest.R:1:1', 'test-focal_only_random.R:1:1', 'test-format.R:1:1', 'test-gamlss.R:1:1', 'test-gamm4.R:1:1', 'test-glmer.R:2:1', 'test-glmmTMB.R:1:1', 'test-interval_re.R:1:1', 'test-ivreg.R:1:1', 'test-johnson_neyman.R:1:1', 'test-johnson_neyman_numcat.R:1:1', 'test-list_terms.R:36:3', 'test-lmer.R:1:1', 'test-mgcv.R:1:1', 'test-plot-from-vignettes.R:5:1', 'test-plot-ordinal-latent.R:1:1', 'test-plot-show_data.R:1:1', 'test-plot-survival.R:2:1', 'test-plot.R:1:1', 'test-polr.R:21:7', 'test-polr.R:60:7', 'test-pool_comparisons.R:1:1', 'test-print.R:1:1', 'test-print_digits.R:1:1', 'test-print_md.R:1:1', 'test-print_zero_inflation.R:1:1', 'test-resid_over_grid.R:33:5', 'test-rstanarm-ppd.R:1:1', 'test-rstanarm.R:1:1', 'test-sdmTMB.R:1:1', 'test-simulate.R:1:1', 'test-test_predictions-formula.R:1:1', 'test-test_predictions-margin.R:1:1', 'test-test_predictions-mixed.R:1:1', 'test-test_predictions_emmeans.R:133:3', 'test-test_predictions_emmeans.R:168:3', 'test-test_predictions_ggeffects.R:140:3', 'test-test_predictions_ggeffects.R:184:3', 'test-test_predictions_ggeffects.R:193:3', 'test-test_predictions_ggeffects.R:236:5', 'test-vcov.R:1:1', 'test-vglm.R:1:1', 'test-zeroinfl.R:27:3', 'test-zi_prob.R:1:1' • On Linux (11): 'test-brglm.R:1:1', 'test-ci_backticks-names.R:1:1', 'test-emmeans-weights.R:1:1', 'test-gee.R:1:1', 'test-ggaverage.R:1:1', 'test-glm.R:1:1', 'test-ordinal.R:1:1', 'test-parsnip.R:94:3', 'test-print_subsets.R:1:1', 'test-print_test_predictions-ordinal.R:1:1', 'test-print_test_predictions.R:1:1' • empty test (2): 'test-polr.R:136:5', 'test-polr.R:142:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-betareg.R:51:3'): ggpredict ──────────────────────────────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(p) at test-betareg.R:51:3 2. └─ggeffects:::test_predictions.ggeffects(p) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:30:3'): test_predictions, categorical, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model1, c("groups", "episode")) at test-test_predictions.R:30:3 2. └─ggeffects:::test_predictions.default(model1, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:63:3'): test_predictions, categorical, pairwise, p_adjust ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model1, c("groups", "episode")) at test-test_predictions.R:63:3 2. └─ggeffects:::test_predictions.default(model1, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:107:3'): test_predictions, interaction ────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model2, c("Sepal.Length", "Species")) at test-test_predictions.R:107:3 2. └─ggeffects:::test_predictions.default(...) 3. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects::comparisons(...) 7. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 8. └─checkmate::assert(...) 9. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 10. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:125:3'): test_predictions, by-argument ────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(prfilter, by = "c161sex") at test-test_predictions.R:125:3 2. └─ggeffects:::test_predictions.ggeffects(prfilter, by = "c161sex") 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:155:3'): test_predictions, categorical, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model3, c("groups", "episode")) at test-test_predictions.R:155:3 2. └─ggeffects:::test_predictions.default(model3, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:221:3'): test_predictions, categorical, one focal, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "Sex") at test-test_predictions.R:221:3 2. └─ggeffects:::test_predictions.default(m, "Sex") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:244:3'): test_predictions, masked chars in levels ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model, c("groups", "sex")) at test-test_predictions.R:244:3 2. └─ggeffects:::test_predictions.default(model, c("groups", "sex")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:268:3'): test_predictions, don't drop single columns ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-test_predictions.R:268:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggeffects::test_predictions(m, c("Sepal.Width.factor", "Petal.Width [0.5]")) 5. └─ggeffects:::test_predictions.default(...) 6. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 7. ├─base::suppressMessages(...) 8. │ └─base::withCallingHandlers(...) 9. ├─base::suppressWarnings(...) 10. │ └─base::withCallingHandlers(...) 11. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 12. └─marginaleffects (local) `<fn>`(...) 13. └─marginaleffects::predictions(...) 14. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 15. └─checkmate::assert(...) 16. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 17. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:284:3'): test_predictions, make sure random effects group is categorical ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(ggpredict(m, c("Days", "grp"))) at test-test_predictions.R:284:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::comparisons(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:307:3'): test_predictions, works with glmmTMB and w/o vcov ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(predictions, verbose = FALSE) at test-test_predictions.R:307:3 2. └─ggeffects:::test_predictions.ggeffects(predictions, verbose = FALSE) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::predictions(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:331:3'): test_predictions, correct order of character vectors ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(pr1) at test-test_predictions.R:331:3 2. └─ggeffects:::test_predictions.ggeffects(pr1) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:350:3'): test_predictions, zero-inflated models ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(pr1) at test-test_predictions.R:350:3 2. └─ggeffects:::test_predictions.ggeffects(pr1) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::predictions(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions_emmeans.R:18:3'): test_predictions, engine emmeans ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "c172code") at test-test_predictions_emmeans.R:18:3 2. └─ggeffects:::test_predictions.default(m, "c172code") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions_emmeans.R:80:3'): test_predictions, engine emmeans, glm binomial ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "var_binom", margin = "marginaleffects") at test-test_predictions_emmeans.R:80:3 2. └─ggeffects:::test_predictions.default(m, "var_binom", margin = "marginaleffects") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) [ FAIL 15 | WARN 0 | SKIP 74 | PASS 500 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 2.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(ggeffects) > test_check("ggeffects") [ FAIL 1 | WARN 0 | SKIP 114 | PASS 12 ] ══ Skipped tests (114) ═════════════════════════════════════════════════════════ • On CRAN (46): 'test-MCMCglmm.R:1:1', 'test-MixMod.R:1:1', 'test-averaging.R:1:1', 'test-avg_predictions.R:1:1', 'test-backtransform_response.R:1:1', 'test-bias_correction.R:1:1', 'test-brms-categ-cum.R:1:1', 'test-brms-monotonic.R:1:1', 'test-brms-ppd.R:1:1', 'test-brms-trial.R:1:1', 'test-clean_vars.R:1:1', 'test-clm.R:1:1', 'test-clm2.R:1:1', 'test-clmm.R:1:1', 'test-condition.R:1:1', 'test-correct_se_sorting.R:1:1', 'test-decimals.R:1:1', 'test-fixest.R:1:1', 'test-focal_only_random.R:1:1', 'test-format.R:1:1', 'test-gamlss.R:1:1', 'test-gamm4.R:1:1', 'test-glmmTMB.R:1:1', 'test-interval_re.R:1:1', 'test-ivreg.R:1:1', 'test-johnson_neyman.R:1:1', 'test-lmer.R:1:1', 'test-mgcv.R:1:1', 'test-plot-ordinal-latent.R:1:1', 'test-plot-show_data.R:1:1', 'test-plot.R:1:1', 'test-pool_comparisons.R:1:1', 'test-print.R:1:1', 'test-print_digits.R:1:1', 'test-print_md.R:1:1', 'test-print_zero_inflation.R:1:1', 'test-rstanarm-ppd.R:1:1', 'test-rstanarm.R:1:1', 'test-sdmTMB.R:1:1', 'test-simulate.R:1:1', 'test-test_predictions-formula.R:1:1', 'test-test_predictions-margin.R:1:1', 'test-test_predictions-mixed.R:1:1', 'test-vcov.R:1:1', 'test-vglm.R:1:1', 'test-zi_prob.R:1:1' • On Mac (68): 'test-Gam2.R:1:1', 'test-add_data_missings.R:1:1', 'test-afex.R:1:1', 'test-as_data_frame.R:1:1', 'test-betareg.R:1:1', 'test-brglm.R:1:1', 'test-check_vars.R:1:1', 'test-ci_backticks-names.R:1:1', 'test-contrasts.R:1:1', 'test-contrasts2.R:1:1', 'test-contrasts3.R:1:1', 'test-coxph.R:1:1', 'test-data_grid.R:1:1', 'test-emmeans_factor_char.R:1:1', 'test-extract_values.R:1:1', 'test-focal_character.R:1:1', 'test-gee.R:1:1', 'test-geeglm.R:1:1', 'test-get_titles.R:1:1', 'test-glm.R:1:1', 'test-glmer.R:1:1', 'test-glmrob_base.R:1:1', 'test-gls.R:1:1', 'test-linear-models.R:1:1', 'test-list_terms.R:1:1', 'test-lmrob_base.R:1:1', 'test-logistf.R:1:1', 'test-logitr.R:1:1', 'test-lrm.R:1:1', 'test-mclogit.R:1:1', 'test-mlogit.R:1:1', 'test-negbin.R:1:1', 'test-nestedLogit.R:1:1', 'test-nlme.R:1:1', 'test-offset.R:1:1', 'test-offset_zeroinfl.R:1:1', 'test-on-the-fly-factor.R:1:1', 'test-ordinal.R:1:1', 'test-orm.R:1:1', 'test-parsnip.R:1:1', 'test-percentile_at_values.R:1:1', 'test-plm.R:1:1', 'test-plot-from-vignettes.R:1:1', 'test-plot-survival.R:1:1', 'test-poisson.R:1:1', 'test-polr.R:1:1', 'test-poly-zeroinf.R:1:1', 'test-pool_predictions.R:1:1', 'test-prediction_interval.R:1:1', 'test-print_subsets.R:1:1', 'test-print_test_predictions-ordinal.R:1:1', 'test-print_test_predictions.R:1:1', 'test-raw_data.R:1:1', 'test-resid_over_grid.R:1:1', 'test-rq.R:1:1', 'test-scoping.R:1:1', 'test-speedglm.R:1:1', 'test-splines.R:1:1', 'test-survey.R:1:1', 'test-survreg.R:1:1', 'test-svyglmnb.R:1:1', 'test-test_predictions_emmeans.R:1:1', 'test-test_predictions_ggeffects.R:1:1', 'test-tibble.R:1:1', 'test-tobit.R:1:1', 'test-typical.R:1:1', 'test-vgam.R:1:1', 'test-zeroinfl.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ggaverage.R:25:3'): ggaverage works with condition ───────────── Error in `if (adjust %in% c("bh", "by")) adjust = toupper(adjust)`: argument is of length zero Backtrace: ▆ 1. ├─ggeffects::test_predictions(moff, c("x2", "offset_1 = 1")) at test-ggaverage.R:25:3 2. └─ggeffects:::test_predictions.default(moff, c("x2", "offset_1 = 1")) 3. └─modelbased::estimate_contrasts(...) 4. ├─base::as.data.frame(...) 5. ├─base::merge(...) 6. ├─base::merge.data.frame(...) 7. │ ├─base::nrow(y <- as.data.frame(y)) 8. │ └─base::as.data.frame(y) 9. ├─stats::confint(estimated, level = ci, adjust = p_adjust) 10. └─emmeans:::confint.emmGrid(estimated, level = ci, adjust = p_adjust) 11. ├─base::summary(...) 12. └─emmeans:::summary.emmGrid(...) [ FAIL 1 | WARN 0 | SKIP 114 | PASS 12 ] Error: Test failures Execution halted Flavor: r-release-macos-arm64

Version: 2.1.0
Check: examples
Result: ERROR Running examples in 'ggeffects-Ex.R' failed The error most likely occurred in: > ### Name: pool_comparisons > ### Title: Pool contrasts and comparisons from 'test_predictions()' > ### Aliases: pool_comparisons > > ### ** Examples > > ## Don't show: > if (require("mice")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf + ## End(Don't show) + data("nhanes2", package = "mice") + imp <- mice::mice(nhanes2, printFlag = FALSE) + comparisons <- lapply(1:5, function(i) { + m <- lm(bmi ~ age + hyp + chl, data = mice::complete(imp, action = i)) + test_predictions(m, "age") + }) + pool_comparisons(comparisons) + ## Don't show: + }) # examplesIf Loading required package: mice Attaching package: 'mice' The following object is masked from 'package:stats': filter The following objects are masked from 'package:base': cbind, rbind > data("nhanes2", package = "mice") > imp <- mice::mice(nhanes2, printFlag = FALSE) > comparisons <- lapply(1:5, function(i) { + m <- lm(bmi ~ age + hyp + chl, data = mice::complete(imp, action = i)) + test_predictions(m, "age") + }) Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Execution halted Flavor: r-oldrel-windows-x86_64

Version: 2.1.0
Check: tests
Result: ERROR Running 'testthat.R' [194s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(ggeffects) > test_check("ggeffects") (Intercept) tensionM tensionH 36.38889 -10.00000 -14.72222 You are calculating adjusted predictions on the population-level (i.e. `type = "fixed"`) for a *generalized* linear mixed model. This may produce biased estimates due to Jensen's inequality. Consider setting `bias_correction = TRUE` to correct for this bias. See also the documentation of the `bias_correction` argument. Not all rows are shown in the output. Use `print(..., n = Inf)` to show all rows. Not all rows are shown in the output. Use `print(..., n = Inf)` to show all rows. Running model... Done! Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Some of the focal terms are of type `character`. This may lead to unexpected results. It is recommended to convert these variables to factors before fitting the model. The following variables are of type character: `brand` Iteration 1 - deviance = 39.74973 - criterion = 0.8590917 Iteration 2 - deviance = 10.50328 - criterion = 2.758244 Iteration 3 - deviance = 9.231325 - criterion = 0.1363107 Iteration 4 - deviance = 9.227742 - criterion = 0.0003840654 Iteration 5 - deviance = 9.227742 - criterion = 3.446463e-09 converged Data were 'prettified'. Consider using `terms="price [all]"` to get smooth plots. NOTE: Results may be misleading due to involvement in interactions NOTE: Results may be misleading due to involvement in interactions # weights: 16 (9 variable) initial value 1149.238025 iter 10 value 1015.404427 final value 1013.443395 converged Re-fitting to get Hessian Re-fitting to get Hessian Re-fitting to get Hessian Model contains splines or polynomial terms. Consider using `terms="mined [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="cover [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="mined [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Model contains splines or polynomial terms. Consider using `terms="cover [all]"` to get smooth plots. See also package-vignette 'Adjusted Predictions at Specific Values'. Can't compute adjusted predictions, `effects::Effect()` returned an error. Reason: Invalid operation on a survival time You may try `ggpredict()` or `ggemmeans()`. Can't compute adjusted predictions, `effects::Effect()` returned an error. Reason: non-conformable arguments You may try `ggpredict()` or `ggemmeans()`. [ FAIL 31 | WARN 0 | SKIP 70 | PASS 565 ] ══ Skipped tests (70) ══════════════════════════════════════════════════════════ • On CRAN (68): 'test-MCMCglmm.R:1:1', 'test-MixMod.R:1:1', 'test-averaging.R:1:1', 'test-avg_predictions.R:1:1', 'test-backtransform_response.R:1:1', 'test-bias_correction.R:1:1', 'test-brms-categ-cum.R:1:1', 'test-brms-monotonic.R:1:1', 'test-brms-ppd.R:1:1', 'test-brms-trial.R:1:1', 'test-clean_vars.R:1:1', 'test-clm.R:1:1', 'test-clm2.R:1:1', 'test-clmm.R:1:1', 'test-condition.R:1:1', 'test-correct_se_sorting.R:1:1', 'test-decimals.R:1:1', 'test-fixest.R:1:1', 'test-focal_only_random.R:1:1', 'test-format.R:1:1', 'test-gamlss.R:1:1', 'test-gamm4.R:1:1', 'test-glmer.R:2:1', 'test-glmmTMB.R:1:1', 'test-interval_re.R:1:1', 'test-ivreg.R:1:1', 'test-johnson_neyman.R:1:1', 'test-johnson_neyman_numcat.R:1:1', 'test-list_terms.R:36:3', 'test-lmer.R:1:1', 'test-mgcv.R:1:1', 'test-plot-from-vignettes.R:5:1', 'test-plot-ordinal-latent.R:1:1', 'test-plot-show_data.R:1:1', 'test-plot-survival.R:2:1', 'test-plot.R:1:1', 'test-polr.R:21:7', 'test-polr.R:60:7', 'test-pool_comparisons.R:1:1', 'test-print.R:1:1', 'test-print_digits.R:1:1', 'test-print_md.R:1:1', 'test-print_subsets.R:7:3', 'test-print_subsets.R:12:3', 'test-print_test_predictions.R:24:3', 'test-print_test_predictions.R:40:3', 'test-print_test_predictions.R:44:3', 'test-print_test_predictions.R:53:3', 'test-print_test_predictions.R:65:3', 'test-print_zero_inflation.R:1:1', 'test-resid_over_grid.R:33:5', 'test-rstanarm-ppd.R:1:1', 'test-rstanarm.R:1:1', 'test-sdmTMB.R:1:1', 'test-simulate.R:1:1', 'test-test_predictions-formula.R:1:1', 'test-test_predictions-margin.R:1:1', 'test-test_predictions-mixed.R:1:1', 'test-test_predictions_emmeans.R:133:3', 'test-test_predictions_emmeans.R:168:3', 'test-test_predictions_ggeffects.R:140:3', 'test-test_predictions_ggeffects.R:184:3', 'test-test_predictions_ggeffects.R:193:3', 'test-test_predictions_ggeffects.R:236:5', 'test-vcov.R:1:1', 'test-vglm.R:1:1', 'test-zeroinfl.R:27:3', 'test-zi_prob.R:1:1' • empty test (2): 'test-polr.R:136:5', 'test-polr.R:142:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-betareg.R:51:3'): ggpredict ──────────────────────────────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(p) at test-betareg.R:51:3 2. └─ggeffects:::test_predictions.ggeffects(p) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-brglm.R:23:3'): ggpredict brglm ─────────────────────────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(out) at test-brglm.R:23:3 2. └─ggeffects:::test_predictions.ggeffects(out) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-ggaverage.R:25:3'): ggaverage works with condition ───────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(out1) at test-ggaverage.R:25:3 2. └─ggeffects:::test_predictions.ggeffects(out1) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions-ordinal.R:13:3'): print hypothesis_test ordinal outcome ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-print_test_predictions-ordinal.R:13:3 2. │ └─base::withCallingHandlers(...) 3. ├─base::suppressWarnings(...) 4. │ └─base::withCallingHandlers(...) 5. ├─ggeffects::hypothesis_test(ggpredict(m_polr, "Type"), scale = "probs") 6. └─ggeffects:::test_predictions.ggeffects(...) 7. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 8. └─ggeffects (local) `<fn>`(...) 9. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 13. └─checkmate::assert(...) 14. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 15. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:19:3'): print hypothesis_test simple contrast link scale ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, "var_binom", scale = "link") at test-print_test_predictions.R:19:3 2. └─ggeffects:::test_predictions.default(m, "var_binom", scale = "link") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:27:3'): print hypothesis_test simple contrast exp scale ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, "var_binom", scale = "exp") at test-print_test_predictions.R:27:3 2. └─ggeffects:::test_predictions.default(m, "var_binom", scale = "exp") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:31:3'): print hypothesis_test simple contrast odds ratio scale ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, "var_binom", scale = "oddsratios") at test-print_test_predictions.R:31:3 2. └─ggeffects:::test_predictions.default(m, "var_binom", scale = "oddsratios") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:35:3'): print hypothesis_test simple contrast response scale ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, "var_binom", scale = "response") at test-print_test_predictions.R:35:3 2. └─ggeffects:::test_predictions.default(m, "var_binom", scale = "response") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:48:3'): print hypothesis_test contrasts link scale ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, c("var_binom", "var_cont"), scale = "link") at test-print_test_predictions.R:48:3 2. └─ggeffects:::test_predictions.default(...) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:56:3'): print hypothesis_test contrasts exp scale ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, c("var_binom", "var_cont"), scale = "exp") at test-print_test_predictions.R:56:3 2. └─ggeffects:::test_predictions.default(...) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:60:3'): print hypothesis_test contrasts response scale ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, c("var_binom", "var_cont"), scale = "response") at test-print_test_predictions.R:60:3 2. └─ggeffects:::test_predictions.default(...) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:74:3'): print hypothesis_test many rows ── Error in `.tp_label_hypothesis_categorical(.comparisons, need_average_predictions = need_average_predictions, margin = margin, object = object, by_variables = by_variables, datagrid = datagrid, df = df, ci_level = ci_level, dot_args = dot_args, include_random = include_random, focal = focal, test = test)`: object 'hypothesis_label' not found Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-print_test_predictions.R:74:3 2. │ └─base::withCallingHandlers(...) 3. ├─ggeffects::hypothesis_test(...) 4. └─ggeffects:::test_predictions.default(...) 5. └─ggeffects:::.tp_label_hypothesis_categorical(...) ── Error ('test-print_test_predictions.R:170:3'): print hypothesis_test comma and dash levels ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, c("f1", "f2")) at test-print_test_predictions.R:170:3 2. └─ggeffects:::test_predictions.default(m, c("f1", "f2")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:230:3'): print hypothesis_test collapse levels ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, c("c172code", "c161sex"), collapse_levels = TRUE) at test-print_test_predictions.R:230:3 2. └─ggeffects:::test_predictions.default(...) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:238:3'): hypothesis_test, ci-level ──── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(m, "Species") at test-print_test_predictions.R:238:3 2. └─ggeffects:::test_predictions.default(m, "Species") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-print_test_predictions.R:256:3'): glmmTMB, orderedbeta ───────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. └─testthat::expect_snapshot(print(test_predictions(out2))) at test-print_test_predictions.R:256:3 2. └─rlang::cnd_signal(state$error) ── Error ('test-print_test_predictions.R:268:5'): print hypothesis_test collapse CI ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(pr) at test-print_test_predictions.R:268:5 2. └─ggeffects:::test_predictions.ggeffects(pr) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:30:3'): test_predictions, categorical, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model1, c("groups", "episode")) at test-test_predictions.R:30:3 2. └─ggeffects:::test_predictions.default(model1, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:63:3'): test_predictions, categorical, pairwise, p_adjust ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model1, c("groups", "episode")) at test-test_predictions.R:63:3 2. └─ggeffects:::test_predictions.default(model1, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:107:3'): test_predictions, interaction ────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model2, c("Sepal.Length", "Species")) at test-test_predictions.R:107:3 2. └─ggeffects:::test_predictions.default(...) 3. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects::comparisons(...) 7. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 8. └─checkmate::assert(...) 9. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 10. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:125:3'): test_predictions, by-argument ────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(prfilter, by = "c161sex") at test-test_predictions.R:125:3 2. └─ggeffects:::test_predictions.ggeffects(prfilter, by = "c161sex") 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:155:3'): test_predictions, categorical, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model3, c("groups", "episode")) at test-test_predictions.R:155:3 2. └─ggeffects:::test_predictions.default(model3, c("groups", "episode")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:221:3'): test_predictions, categorical, one focal, pairwise ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "Sex") at test-test_predictions.R:221:3 2. └─ggeffects:::test_predictions.default(m, "Sex") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:244:3'): test_predictions, masked chars in levels ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(model, c("groups", "sex")) at test-test_predictions.R:244:3 2. └─ggeffects:::test_predictions.default(model, c("groups", "sex")) 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::suppressMessages(...) 5. │ └─base::withCallingHandlers(...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 9. └─marginaleffects (local) `<fn>`(...) 10. └─marginaleffects::predictions(...) 11. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 12. └─checkmate::assert(...) 13. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 14. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:268:3'): test_predictions, don't drop single columns ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-test_predictions.R:268:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggeffects::test_predictions(m, c("Sepal.Width.factor", "Petal.Width [0.5]")) 5. └─ggeffects:::test_predictions.default(...) 6. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 7. ├─base::suppressMessages(...) 8. │ └─base::withCallingHandlers(...) 9. ├─base::suppressWarnings(...) 10. │ └─base::withCallingHandlers(...) 11. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 12. └─marginaleffects (local) `<fn>`(...) 13. └─marginaleffects::predictions(...) 14. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 15. └─checkmate::assert(...) 16. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 17. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:284:3'): test_predictions, make sure random effects group is categorical ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(ggpredict(m, c("Days", "grp"))) at test-test_predictions.R:284:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::comparisons(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:307:3'): test_predictions, works with glmmTMB and w/o vcov ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(predictions, verbose = FALSE) at test-test_predictions.R:307:3 2. └─ggeffects:::test_predictions.ggeffects(predictions, verbose = FALSE) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::predictions(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:331:3'): test_predictions, correct order of character vectors ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(pr1) at test-test_predictions.R:331:3 2. └─ggeffects:::test_predictions.ggeffects(pr1) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 9. └─checkmate::assert(...) 10. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 11. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions.R:350:3'): test_predictions, zero-inflated models ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(pr1) at test-test_predictions.R:350:3 2. └─ggeffects:::test_predictions.ggeffects(pr1) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. ├─base::suppressWarnings(...) 9. │ └─base::withCallingHandlers(...) 10. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 11. └─marginaleffects (local) `<fn>`(...) 12. └─marginaleffects::predictions(...) 13. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 14. └─checkmate::assert(...) 15. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 16. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions_emmeans.R:18:3'): test_predictions, engine emmeans ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "c172code") at test-test_predictions_emmeans.R:18:3 2. └─ggeffects:::test_predictions.default(m, "c172code") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-test_predictions_emmeans.R:80:3'): test_predictions, engine emmeans, glm binomial ── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(m, "var_binom", margin = "marginaleffects") at test-test_predictions_emmeans.R:80:3 2. └─ggeffects:::test_predictions.default(m, "var_binom", margin = "marginaleffects") 3. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 7. └─checkmate::assert(...) 8. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 9. └─checkmate:::mstop("Assertion failed. %s", res) [ FAIL 31 | WARN 0 | SKIP 70 | PASS 565 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

Package insight

Current CRAN status: ERROR: 7, OK: 6

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [327s/169s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(insight) > test_check("insight") Starting 2 test processes [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3413 ] ══ Skipped tests (72) ══════════════════════════════════════════════════════════ • On CRAN (64): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:3:1', 'test-brms.R:1:1', 'test-brms_aterms.R:1:1', 'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1', 'test-brms_von_mises.R:1:1', 'test-blmer.R:249:3', 'test-clean_names.R:103:3', 'test-clean_parameters.R:2:3', 'test-clean_parameters.R:35:3', 'test-clmm.R:165:3', 'test-cpglmm.R:145:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3', 'test-export_table.R:106:3', 'test-export_table.R:133:3', 'test-export_table.R:164:3', 'test-export_table.R:193:3', 'test-export_table.R:205:3', 'test-export_table.R:233:3', 'test-find_random.R:27:3', 'test-format_table.R:1:1', 'test-format_table_ci.R:71:3', 'test-gam.R:1:1', 'test-find_smooth.R:31:3', 'test-get_data.R:385:1', 'test-get_loglikelihood.R:93:3', 'test-get_loglikelihood.R:158:3', 'test-get_predicted.R:2:1', 'test-get_priors.R:3:3', 'test-get_varcov.R:40:3', 'test-is_converged.R:28:1', 'test-lme.R:34:3', 'test-lme.R:210:3', 'test-glmmTMB.R:71:3', 'test-glmmTMB.R:755:3', 'test-glmmTMB.R:787:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1', 'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3', 'test-phylolm.R:5:1', 'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1', 'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1', 'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1', 'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1', 'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1', 'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1', 'test-rlmer.R:259:3', 'test-rqss.R:1:1', 'test-rstanarm.R:1:1', 'test-spatial.R:1:1', 'test-svylme.R:1:1', 'test-vgam.R:1:1', 'test-weightit.R:1:1' • On Linux (3): 'test-BayesFactorBF.R:1:1', 'test-MCMCglmm.R:1:1', 'test-get_data.R:150:3' • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1' • TRUE is TRUE (1): 'test-fixest.R:2:1' • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3' • {bigglm} is not installed (1): 'test-model_info.R:24:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ggeffects.R:7:3'): get_parameters, hypothesis_test ───────────── Error: Please specify the `by` argument to calculate contrasts of slopes. Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:7:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. ├─modelbased::estimate_contrasts(...) 6. └─modelbased:::estimate_contrasts.default(...) 7. └─modelbased::get_marginalcontrasts(...) 8. └─insight::format_error("Please specify the `by` argument to calculate contrasts of slopes.") 9. └─insight::format_alert(..., type = "error") ── Error ('test-ggeffects.R:66:3'): get_statistic, hypothesis_test ───────────── Error: Please specify the `by` argument to calculate contrasts of slopes. Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:66:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. ├─modelbased::estimate_contrasts(...) 6. └─modelbased:::estimate_contrasts.default(...) 7. └─modelbased::get_marginalcontrasts(...) 8. └─insight::format_error("Please specify the `by` argument to calculate contrasts of slopes.") 9. └─insight::format_alert(..., type = "error") [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3413 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [212s/111s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(insight) > test_check("insight") Starting 2 test processes [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3413 ] ══ Skipped tests (72) ══════════════════════════════════════════════════════════ • On CRAN (64): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:3:1', 'test-brms.R:1:1', 'test-brms_aterms.R:1:1', 'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1', 'test-brms_von_mises.R:1:1', 'test-blmer.R:249:3', 'test-clean_names.R:103:3', 'test-clean_parameters.R:2:3', 'test-clean_parameters.R:35:3', 'test-clmm.R:165:3', 'test-cpglmm.R:145:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3', 'test-export_table.R:106:3', 'test-export_table.R:133:3', 'test-export_table.R:164:3', 'test-export_table.R:193:3', 'test-export_table.R:205:3', 'test-export_table.R:233:3', 'test-find_random.R:27:3', 'test-format_table.R:1:1', 'test-format_table_ci.R:71:3', 'test-gam.R:1:1', 'test-find_smooth.R:31:3', 'test-get_data.R:385:1', 'test-get_loglikelihood.R:93:3', 'test-get_loglikelihood.R:158:3', 'test-get_predicted.R:2:1', 'test-get_priors.R:3:3', 'test-get_varcov.R:40:3', 'test-is_converged.R:28:1', 'test-lme.R:34:3', 'test-lme.R:210:3', 'test-glmmTMB.R:71:3', 'test-glmmTMB.R:755:3', 'test-glmmTMB.R:787:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1', 'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3', 'test-phylolm.R:5:1', 'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1', 'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1', 'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1', 'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1', 'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1', 'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1', 'test-rlmer.R:259:3', 'test-rqss.R:1:1', 'test-rstanarm.R:1:1', 'test-spatial.R:1:1', 'test-svylme.R:1:1', 'test-vgam.R:1:1', 'test-weightit.R:1:1' • On Linux (3): 'test-BayesFactorBF.R:1:1', 'test-MCMCglmm.R:1:1', 'test-get_data.R:150:3' • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1' • TRUE is TRUE (1): 'test-fixest.R:2:1' • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3' • {bigglm} is not installed (1): 'test-model_info.R:24:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ggeffects.R:7:3'): get_parameters, hypothesis_test ───────────── Error: Please specify the `by` argument to calculate contrasts of slopes. Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:7:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. ├─modelbased::estimate_contrasts(...) 6. └─modelbased:::estimate_contrasts.default(...) 7. └─modelbased::get_marginalcontrasts(...) 8. └─insight::format_error("Please specify the `by` argument to calculate contrasts of slopes.") 9. └─insight::format_alert(..., type = "error") ── Error ('test-ggeffects.R:66:3'): get_statistic, hypothesis_test ───────────── Error: Please specify the `by` argument to calculate contrasts of slopes. Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:66:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. ├─modelbased::estimate_contrasts(...) 6. └─modelbased:::estimate_contrasts.default(...) 7. └─modelbased::get_marginalcontrasts(...) 8. └─insight::format_error("Please specify the `by` argument to calculate contrasts of slopes.") 9. └─insight::format_alert(..., type = "error") [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3413 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [329s/253s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(insight) > test_check("insight") Starting 2 test processes [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3427 ] ══ Skipped tests (72) ══════════════════════════════════════════════════════════ • On CRAN (64): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:3:1', 'test-brms.R:1:1', 'test-brms_aterms.R:1:1', 'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1', 'test-brms_von_mises.R:1:1', 'test-blmer.R:249:3', 'test-clean_names.R:103:3', 'test-clean_parameters.R:2:3', 'test-clean_parameters.R:35:3', 'test-clmm.R:165:3', 'test-cpglmm.R:145:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3', 'test-export_table.R:106:3', 'test-export_table.R:133:3', 'test-export_table.R:164:3', 'test-export_table.R:193:3', 'test-export_table.R:205:3', 'test-export_table.R:233:3', 'test-find_random.R:27:3', 'test-format_table.R:1:1', 'test-format_table_ci.R:71:3', 'test-gam.R:1:1', 'test-find_smooth.R:31:3', 'test-get_data.R:385:1', 'test-get_loglikelihood.R:93:3', 'test-get_loglikelihood.R:158:3', 'test-get_predicted.R:2:1', 'test-get_priors.R:3:3', 'test-get_varcov.R:40:3', 'test-is_converged.R:28:1', 'test-lme.R:34:3', 'test-lme.R:210:3', 'test-glmmTMB.R:71:3', 'test-glmmTMB.R:755:3', 'test-glmmTMB.R:787:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1', 'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3', 'test-phylolm.R:5:1', 'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1', 'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1', 'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1', 'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1', 'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1', 'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1', 'test-rlmer.R:259:3', 'test-rqss.R:1:1', 'test-rstanarm.R:1:1', 'test-spatial.R:1:1', 'test-svylme.R:1:1', 'test-vgam.R:1:1', 'test-weightit.R:1:1' • On Linux (3): 'test-BayesFactorBF.R:1:1', 'test-MCMCglmm.R:1:1', 'test-get_data.R:150:3' • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1' • TRUE is TRUE (1): 'test-fixest.R:2:1' • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3' • {bigglm} is not installed (1): 'test-model_info.R:24:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ggeffects.R:43:3'): get_parameters, hypothesis_test ──────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:43:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects::comparisons(...) 9. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 10. └─checkmate::assert(...) 11. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 12. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-ggeffects.R:102:3'): get_statistic, hypothesis_test ──────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:102:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects::comparisons(...) 9. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 10. └─checkmate::assert(...) 11. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 12. └─checkmate:::mstop("Assertion failed. %s", res) [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3427 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [309s/254s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(insight) > test_check("insight") Starting 2 test processes [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3427 ] ══ Skipped tests (72) ══════════════════════════════════════════════════════════ • On CRAN (64): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:3:1', 'test-brms.R:1:1', 'test-brms_aterms.R:1:1', 'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1', 'test-brms_von_mises.R:1:1', 'test-blmer.R:249:3', 'test-clean_names.R:103:3', 'test-clean_parameters.R:2:3', 'test-clean_parameters.R:35:3', 'test-clmm.R:165:3', 'test-cpglmm.R:145:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3', 'test-export_table.R:106:3', 'test-export_table.R:133:3', 'test-export_table.R:164:3', 'test-export_table.R:193:3', 'test-export_table.R:205:3', 'test-export_table.R:233:3', 'test-find_random.R:27:3', 'test-format_table.R:1:1', 'test-format_table_ci.R:71:3', 'test-gam.R:1:1', 'test-find_smooth.R:31:3', 'test-get_data.R:385:1', 'test-get_loglikelihood.R:93:3', 'test-get_loglikelihood.R:158:3', 'test-get_predicted.R:2:1', 'test-get_priors.R:3:3', 'test-get_varcov.R:40:3', 'test-is_converged.R:28:1', 'test-lme.R:34:3', 'test-lme.R:210:3', 'test-glmmTMB.R:71:3', 'test-glmmTMB.R:755:3', 'test-glmmTMB.R:787:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1', 'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3', 'test-phylolm.R:5:1', 'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1', 'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1', 'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1', 'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1', 'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1', 'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1', 'test-rqss.R:1:1', 'test-rstanarm.R:1:1', 'test-spatial.R:1:1', 'test-svylme.R:1:1', 'test-vgam.R:1:1', 'test-rlmer.R:259:3', 'test-weightit.R:1:1' • On Linux (3): 'test-BayesFactorBF.R:1:1', 'test-MCMCglmm.R:1:1', 'test-get_data.R:150:3' • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1' • TRUE is TRUE (1): 'test-fixest.R:2:1' • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3' • {bigglm} is not installed (1): 'test-model_info.R:24:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ggeffects.R:43:3'): get_parameters, hypothesis_test ──────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:43:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects::comparisons(...) 9. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 10. └─checkmate::assert(...) 11. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 12. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-ggeffects.R:102:3'): get_statistic, hypothesis_test ──────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:102:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects::comparisons(...) 9. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 10. └─checkmate::assert(...) 11. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 12. └─checkmate:::mstop("Assertion failed. %s", res) [ FAIL 2 | WARN 0 | SKIP 72 | PASS 3427 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [109s/57s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(insight) > test_check("insight") Starting 2 test processes [ FAIL 2 | WARN 2 | SKIP 75 | PASS 3187 ] ══ Skipped tests (75) ══════════════════════════════════════════════════════════ • On CRAN (57): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:3:1', 'test-brms.R:1:1', 'test-brms_aterms.R:1:1', 'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1', 'test-brms_von_mises.R:1:1', 'test-blmer.R:249:3', 'test-clean_names.R:103:3', 'test-clean_parameters.R:2:3', 'test-clean_parameters.R:35:3', 'test-clmm.R:165:3', 'test-cpglmm.R:145:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3', 'test-export_table.R:106:3', 'test-export_table.R:133:3', 'test-export_table.R:164:3', 'test-export_table.R:193:3', 'test-export_table.R:205:3', 'test-export_table.R:233:3', 'test-find_smooth.R:31:3', 'test-find_random.R:27:3', 'test-format_table.R:1:1', 'test-format_table_ci.R:71:3', 'test-gam.R:1:1', 'test-get_loglikelihood.R:93:3', 'test-get_loglikelihood.R:158:3', 'test-get_varcov.R:40:3', 'test-lme.R:34:3', 'test-lme.R:210:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1', 'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3', 'test-phylolm.R:5:1', 'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1', 'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1', 'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1', 'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1', 'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1', 'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1', 'test-rlmer.R:259:3', 'test-rqss.R:1:1', 'test-rstanarm.R:1:1', 'test-spatial.R:1:1', 'test-svylme.R:1:1', 'test-vgam.R:1:1', 'test-weightit.R:1:1' • On Mac (12): 'test-MCMCglmm.R:1:1', 'test-epiR.R:1:1', 'test-get_data.R:1:1', 'test-get_datagrid.R:218:3', 'test-get_predicted.R:1:1', 'test-get_priors.R:2:3', 'test-get_random.R:1:1', 'test-glmmTMB.R:1:1', 'test-is_converged.R:27:1', 'test-model_data.R:26:1', 'test-null_model.R:13:1', 'test-vglm.R:1:1' • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1' • TRUE is TRUE (1): 'test-fixest.R:2:1' • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3' • {bigglm} is not installed (1): 'test-model_info.R:24:3' • {logistf} cannot be loaded (1): 'test-logistf.R:2:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ggeffects.R:7:3'): get_parameters, hypothesis_test ───────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::test_predictions(mgg, "Sepal.Length", by = "Species") at test-ggeffects.R:7:3 2. └─ggeffects:::test_predictions.default(mgg, "Sepal.Length", by = "Species") 3. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects::comparisons(...) 7. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 8. └─checkmate::assert(...) 9. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 10. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-ggeffects.R:42:3'): get_statistic, hypothesis_test ───────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(mgg, "Sepal.Length", by = "Species") at test-ggeffects.R:42:3 2. └─ggeffects:::test_predictions.default(mgg, "Sepal.Length", by = "Species") 3. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 4. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 5. └─marginaleffects (local) `<fn>`(...) 6. └─marginaleffects::comparisons(...) 7. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 8. └─checkmate::assert(...) 9. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 10. └─checkmate:::mstop("Assertion failed. %s", res) [ FAIL 2 | WARN 2 | SKIP 75 | PASS 3187 ] Error: Test failures Execution halted Flavor: r-release-macos-arm64

Version: 1.0.1
Check: tests
Result: ERROR Running 'testthat.R' [168s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(insight) > test_check("insight") Starting 2 test processes [ FAIL 2 | WARN 0 | SKIP 69 | PASS 3512 ] ══ Skipped tests (69) ══════════════════════════════════════════════════════════ • On CRAN (63): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:3:1', 'test-brms.R:1:1', 'test-brms_aterms.R:1:1', 'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1', 'test-brms_von_mises.R:1:1', 'test-blmer.R:249:3', 'test-clean_names.R:103:3', 'test-clean_parameters.R:2:3', 'test-clean_parameters.R:35:3', 'test-clmm.R:165:3', 'test-cpglmm.R:145:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3', 'test-export_table.R:106:3', 'test-export_table.R:133:3', 'test-export_table.R:164:3', 'test-export_table.R:193:3', 'test-export_table.R:205:3', 'test-export_table.R:233:3', 'test-find_smooth.R:31:3', 'test-find_random.R:27:3', 'test-format_table.R:1:1', 'test-format_table_ci.R:71:3', 'test-gam.R:1:1', 'test-get_data.R:385:1', 'test-get_loglikelihood.R:93:3', 'test-get_loglikelihood.R:158:3', 'test-get_predicted.R:2:1', 'test-get_varcov.R:40:3', 'test-is_converged.R:28:1', 'test-lme.R:34:3', 'test-lme.R:210:3', 'test-glmmTMB.R:71:3', 'test-glmmTMB.R:755:3', 'test-glmmTMB.R:787:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1', 'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3', 'test-phylolm.R:5:1', 'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1', 'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1', 'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1', 'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1', 'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1', 'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1', 'test-rqss.R:1:1', 'test-rstanarm.R:1:1', 'test-spatial.R:1:1', 'test-rlmer.R:259:3', 'test-svylme.R:1:1', 'test-vgam.R:1:1', 'test-weightit.R:1:1' • On Windows (1): 'test-get_priors.R:2:3' • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1' • TRUE is TRUE (1): 'test-fixest.R:2:1' • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3' • {bigglm} is not installed (1): 'test-model_info.R:24:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ggeffects.R:7:3'): get_parameters, hypothesis_test ───────────── Error: Please specify the `by` argument to calculate contrasts of slopes. Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:7:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. ├─modelbased::estimate_contrasts(...) 6. └─modelbased:::estimate_contrasts.default(...) 7. └─modelbased::get_marginalcontrasts(...) 8. └─insight::format_error("Please specify the `by` argument to calculate contrasts of slopes.") 9. └─insight::format_alert(..., type = "error") ── Error ('test-ggeffects.R:66:3'): get_statistic, hypothesis_test ───────────── Error: Please specify the `by` argument to calculate contrasts of slopes. Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:66:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. ├─modelbased::estimate_contrasts(...) 6. └─modelbased:::estimate_contrasts.default(...) 7. └─modelbased::get_marginalcontrasts(...) 8. └─insight::format_error("Please specify the `by` argument to calculate contrasts of slopes.") 9. └─insight::format_alert(..., type = "error") [ FAIL 2 | WARN 0 | SKIP 69 | PASS 3512 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running 'testthat.R' [226s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(insight) > test_check("insight") Starting 2 test processes [ FAIL 2 | WARN 0 | SKIP 69 | PASS 3494 ] ══ Skipped tests (69) ══════════════════════════════════════════════════════════ • On CRAN (62): 'test-GLMMadaptive.R:1:1', 'test-averaging.R:3:1', 'test-brms.R:1:1', 'test-brms_aterms.R:1:1', 'test-brms_gr_random_effects.R:1:1', 'test-brms_missing.R:1:1', 'test-brms_von_mises.R:1:1', 'test-blmer.R:249:3', 'test-clean_names.R:103:3', 'test-clean_parameters.R:2:3', 'test-clean_parameters.R:35:3', 'test-clmm.R:165:3', 'test-export_table.R:4:3', 'test-export_table.R:8:3', 'test-export_table.R:106:3', 'test-export_table.R:133:3', 'test-export_table.R:164:3', 'test-export_table.R:193:3', 'test-export_table.R:205:3', 'test-export_table.R:233:3', 'test-find_random.R:27:3', 'test-format_table.R:1:1', 'test-find_smooth.R:31:3', 'test-format_table_ci.R:71:3', 'test-gam.R:1:1', 'test-get_data.R:385:1', 'test-get_loglikelihood.R:93:3', 'test-get_loglikelihood.R:158:3', 'test-get_predicted.R:2:1', 'test-get_varcov.R:40:3', 'test-is_converged.R:28:1', 'test-lme.R:34:3', 'test-lme.R:210:3', 'test-glmmTMB.R:71:3', 'test-glmmTMB.R:755:3', 'test-glmmTMB.R:787:3', 'test-marginaleffects.R:1:1', 'test-mgcv.R:1:1', 'test-mipo.R:1:1', 'test-mvrstanarm.R:1:1', 'test-panelr-asym.R:142:3', 'test-panelr.R:272:3', 'test-phylolm.R:5:1', 'test-r2_nakagawa_bernoulli.R:1:1', 'test-r2_nakagawa_beta.R:1:1', 'test-r2_nakagawa_binomial.R:1:1', 'test-r2_nakagawa_gamma.R:1:1', 'test-r2_nakagawa_linear.R:1:1', 'test-r2_nakagawa_negbin.R:1:1', 'test-r2_nakagawa_negbin_zi.R:1:1', 'test-r2_nakagawa_ordered_beta.R:1:1', 'test-r2_nakagawa_poisson.R:1:1', 'test-r2_nakagawa_poisson_zi.R:1:1', 'test-r2_nakagawa_truncated_poisson.R:1:1', 'test-r2_nakagawa_tweedie.R:1:1', 'test-rlmer.R:259:3', 'test-rqss.R:1:1', 'test-rstanarm.R:1:1', 'test-spatial.R:1:1', 'test-svylme.R:1:1', 'test-vgam.R:1:1', 'test-weightit.R:1:1' • On Windows (1): 'test-get_priors.R:2:3' • Package `logistf` is loaded and breaks `mmrm::mmrm()` (1): 'test-mmrm.R:4:1' • TRUE is TRUE (1): 'test-fixest.R:2:1' • getRversion() >= "4.4.0" is not TRUE (1): 'test-cpglmm.R:1:1' • works interactively (2): 'test-coxph-panel.R:34:3', 'test-coxph.R:38:3' • {bigglm} is not installed (1): 'test-model_info.R:24:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ggeffects.R:43:3'): get_parameters, hypothesis_test ──────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:43:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects::comparisons(...) 9. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 10. └─checkmate::assert(...) 11. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 12. └─checkmate:::mstop("Assertion failed. %s", res) ── Error ('test-ggeffects.R:102:3'): get_statistic, hypothesis_test ──────────── Error: Assertion failed. One of the following must apply: * checkmate::check_character(hypothesis): Must comply to pattern '=' * checkmate::check_numeric(hypothesis): Must be of type 'numeric', not * 'character' * checkmate::check_formula(hypothesis): Must be a formula, not * character * checkmate::check_matrix(hypothesis): Must be of type 'matrix', not * 'character' * checkmate::check_function(hypothesis): Must be a function, not * 'character' * checkmate::check_null(hypothesis): Must be NULL Backtrace: ▆ 1. ├─ggeffects::hypothesis_test(...) at test-ggeffects.R:102:3 2. └─ggeffects:::test_predictions.ggeffects(...) 3. ├─base::do.call(test_predictions.default, c(my_args, dot_args)) 4. └─ggeffects (local) `<fn>`(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) `<fn>`(...) 8. └─marginaleffects::comparisons(...) 9. └─marginaleffects:::sanitize_hypothesis(hypothesis, ...) 10. └─checkmate::assert(...) 11. └─checkmate:::mstopOrPush(res = msgs, v_name = .var.name, collection = add) 12. └─checkmate:::mstop("Assertion failed. %s", res) [ FAIL 2 | WARN 0 | SKIP 69 | PASS 3494 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64

Package parameters

Current CRAN status: OK: 13

Package performance

Current CRAN status: OK: 13

Package sjlabelled

Current CRAN status: OK: 13

Package sjmisc

Current CRAN status: NOTE: 3, OK: 10

Version: 2.8.10
Check: Rd cross-references
Result: NOTE Found the following Rd file(s) with Rd \link{} targets missing package anchors: to_value.Rd: set_labels Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64

Package sjPlot

Current CRAN status: OK: 13

Package sjstats

Current CRAN status: OK: 13