- using R version 4.4.1 (2024-06-14)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘insight/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘insight’ version ‘1.0.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘insight’ can be installed ... [9s/9s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [18s/20s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [9s/9s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [109s/57s] 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [10s/10s] OK
- checking PDF version of manual ... [6s/7s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '