Package: etwfe Check: tests New result: ERROR Running ‘tinytest.R’ [28s/28s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + tinytest::test_package("etwfe") + } test_baker.R.................. 0 tests test_baker.R.................. 0 tests test_baker.R.................. 0 tests test_baker.R.................. 0 tests test_baker.R.................. 0 tests test_baker.R.................. 5 tests OK 6.3s test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests The variables '.Dtreat:first.treat::2006:year::2004', '.Dtreat:first.treat::2006:year::2005', '.Dtreat:first.treat::2007:year::2004', '.Dtreat:first.treat::2007:year::2005', '.Dtreat:first.treat::2007:year::2006', '.Dtreat:first.treat::2006:year::2004:lpop_dm' and 4 others have been removed because of collinearity (see $collin.var). test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 0 tests test_emfx.R................... 32 tests OK 8.4s test_etwfe.R.................. 0 tests test_etwfe.R.................. 0 tests test_etwfe.R.................. 0 tests test_etwfe.R.................. 0 tests test_etwfe.R.................. 0 tests test_etwfe.R.................. 0 tests test_etwfe.R.................. 0 tests test_etwfe.R.................. 0 tests test_etwfe.R.................. 0 tests test_etwfe.R.................. 1 tests OK test_etwfe.R.................. 2 tests OK test_etwfe.R.................. 3 tests OK test_etwfe.R.................. 3 tests OK test_etwfe.R.................. 4 tests OK test_etwfe.R.................. 4 tests OK test_etwfe.R.................. 5 tests OK test_etwfe.R.................. 6 tests OK The variables '.Dtreat:first.treat::2006:year::2004', '.Dtreat:first.treat::2006:year::2005', '.Dtreat:first.treat::2007:year::2004', '.Dtreat:first.treat::2007:year::2005', '.Dtreat:first.treat::2007:year::2006', '.Dtreat:first.treat::2006:year::2004:lpop_dm' and 4 others have been removed because of collinearity (see $collin.var). test_etwfe.R.................. 6 tests OK test_etwfe.R.................. 7 tests OK 0.2s test_xvar.R................... 0 tests test_xvar.R................... 0 tests test_xvar.R................... 0 tests test_xvar.R................... 0 tests test_xvar.R................... 0 tests test_xvar.R................... 0 tests test_xvar.R................... 0 tests test_xvar.R................... 0 tests test_xvar.R................... 6 tests OK test_xvar.R................... 6 tests OK test_xvar.R................... 6 tests OK test_xvar.R................... 6 tests OK test_xvar.R................... 6 tests OK test_xvar.R................... 6 tests OK test_xvar.R................... 6 tests OK test_xvar.R................... 6 tests OK test_xvar.R................... 6 tests OK malloc(): unsorted double linked list corrupted Aborted Package: ggeffects Check: examples New 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 Package: ggeffects Check: tests New result: ERROR Running ‘testthat.R’ [82s/82s] 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 Could not compute variance-covariance matrix of predictions. No confidence intervals are returned. 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) ``(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 5. └─ggeffects:::.call_me(fun, fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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) ``(...) 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 Package: insight Check: tests New result: ERROR Running ‘testthat.R’ [204s/101s] 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.R:38:3', 'test-coxph-panel.R:34: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) ``(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) ``(...) 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) ``(...) 5. └─ggeffects:::.call_me("slopes", fun_args, dot_args, include_random) 6. ├─base::do.call(get(fun, asNamespace("marginaleffects")), all_args) 7. └─marginaleffects (local) ``(...) 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 Package: MatchIt Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘MatchIt.Rmd’ using rmarkdown_notangle ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/MatchIt_files/figure-html/unnamed-chunk-7-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 22277 bytes Input file size = 23159 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 21281 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 21061 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 21061 Output IDAT size = 21061 bytes (1216 bytes decrease) Output file size = 21139 bytes (2020 bytes = 8.72% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/MatchIt_files/figure-html/unnamed-chunk-8-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 15009 bytes Input file size = 15879 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13283 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13283 Output IDAT size = 13283 bytes (1726 bytes decrease) Output file size = 13361 bytes (2518 bytes = 15.86% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/MatchIt_files/figure-html/unnamed-chunk-12-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 11875 bytes Input file size = 12745 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10969 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 10917 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 10917 Output IDAT size = 10917 bytes (958 bytes decrease) Output file size = 10995 bytes (1750 bytes = 13.73% decrease) --- finished re-building ‘MatchIt.Rmd’ --- re-building ‘assessing-balance.Rmd’ using rmarkdown_notangle ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-3-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 16116 bytes Input file size = 16986 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 15057 zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 14959 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 1 f = 0 IDAT size = 14959 Output IDAT size = 14959 bytes (1157 bytes decrease) Output file size = 15037 bytes (1949 bytes = 11.47% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-4-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 25556 bytes Input file size = 26450 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 23708 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 23708 Output IDAT size = 23708 bytes (1848 bytes decrease) Output file size = 23786 bytes (2664 bytes = 10.07% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-5-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 11711 bytes Input file size = 12581 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10316 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 10316 Output IDAT size = 10316 bytes (1395 bytes decrease) Output file size = 10394 bytes (2187 bytes = 17.38% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-6-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 15764 bytes Input file size = 16634 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14081 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14081 Output IDAT size = 14081 bytes (1683 bytes decrease) Output file size = 14159 bytes (2475 bytes = 14.88% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-10-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 12085 bytes Input file size = 12955 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 11143 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 11143 Output IDAT size = 11143 bytes (942 bytes decrease) Output file size = 11221 bytes (1734 bytes = 13.38% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-11-1.png 672x480 pixels, 8 bits/pixel, 256 colors in palette Reducing image to 8 bits/pixel, grayscale Input IDAT size = 15048 bytes Input file size = 15918 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13389 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 13389 Output IDAT size = 13389 bytes (1659 bytes decrease) Output file size = 13467 bytes (2451 bytes = 15.40% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-16-1.png 672x480 pixels, 3x8 bits/pixel, RGB Input IDAT size = 21541 bytes Input file size = 21643 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17992 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17992 Output IDAT size = 17992 bytes (3549 bytes decrease) Output file size = 18070 bytes (3573 bytes = 16.51% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-17-1.png 672x480 pixels, 3x8 bits/pixel, RGB Input IDAT size = 36003 bytes Input file size = 36129 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 29147 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 29147 Output IDAT size = 29147 bytes (6856 bytes decrease) Output file size = 29225 bytes (6904 bytes = 19.11% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-18-1.png 672x480 pixels, 3x8 bits/pixel, RGB Input IDAT size = 42559 bytes Input file size = 42697 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 41098 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 39372 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 39372 Output IDAT size = 39372 bytes (3187 bytes decrease) Output file size = 39450 bytes (3247 bytes = 7.60% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-18-2.png 672x480 pixels, 3x8 bits/pixel, RGB Input IDAT size = 16255 bytes Input file size = 16345 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 14961 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 14609 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 5 IDAT size = 14609 Output IDAT size = 14609 bytes (1646 bytes decrease) Output file size = 14687 bytes (1658 bytes = 10.14% decrease) ** Processing: /home/hornik/tmp/CRAN_recheck/MatchIt.Rcheck/vign_test/MatchIt/vignettes/assessing-balance_files/figure-html/unnamed-chunk-18-3.png 672x480 pixels, 3x8 bits/pixel, RGB Input IDAT size = 20311 bytes Input file size = 20413 bytes Trying: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17425 zc = 9 zm = 8 zs = 1 f = 0 zc = 1 zm = 8 zs = 2 f = 0 zc = 9 zm = 8 zs = 3 f = 0 zc = 9 zm = 8 zs = 0 f = 5 zc = 9 zm = 8 zs = 1 f = 5 zc = 1 zm = 8 zs = 2 f = 5 zc = 9 zm = 8 zs = 3 f = 5 Selecting parameters: zc = 9 zm = 8 zs = 0 f = 0 IDAT size = 17425 Output IDAT size = 17425 bytes (2886 bytes decrease) Output file size = 17503 bytes (2910 bytes = 14.26% decrease) --- finished re-building ‘assessing-balance.Rmd’ --- re-building ‘estimating-effects.Rmd’ using rmarkdown_notangle Quitting from lines 583-589 [unnamed-chunk-23] (estimating-effects.Rmd) Error: processing vignette 'estimating-effects.Rmd' failed with diagnostics: 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 --- failed re-building ‘estimating-effects.Rmd’ --- re-building ‘matching-methods.Rmd’ using rmarkdown_notangle --- finished re-building ‘matching-methods.Rmd’ --- re-building ‘sampling-weights.Rmd’ using rmarkdown_notangle --- finished re-building ‘sampling-weights.Rmd’ SUMMARY: processing the following file failed: ‘estimating-effects.Rmd’ Error: Vignette re-building failed. Execution halted Package: modelbased Check: tests New result: ERROR Running ‘testthat.R’ [291s/257s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > library(testthat) > library(modelbased) > > test_check("modelbased") Starting 2 test processes [ FAIL 8 | WARN 0 | SKIP 2 | PASS 161 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • .Platform$OS.type == "windows" is not TRUE (1): 'test-estimate_predicted.R:56:3' • empty test (1): 'test-estimate_contrasts.R:189:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-estimate_means.R:18:3'): estimate_means() - core ───────────── dim(estim2) (`actual`) not identical to c(3L, 5L) (`expected`). `actual`: 3 6 `expected`: 3 5 ── Failure ('test-estimate_means.R:26:3'): estimate_means() - core ───────────── dim(estim2) (`actual`) not identical to c(3L, 6L) (`expected`). `actual`: 3 7 `expected`: 3 6 ── Failure ('test-estimate_means.R:34:3'): estimate_means() - core ───────────── dim(estim2) (`actual`) not identical to c(2L, 5L) (`expected`). `actual`: 2 6 `expected`: 2 5 ── Failure ('test-estimate_means.R:46:3'): estimate_means() - core ───────────── dim(estim2) (`actual`) not identical to c(6L, 6L) (`expected`). `actual`: 6 7 `expected`: 6 6 ── Failure ('test-estimate_means.R:53:3'): estimate_means() - core ───────────── dim(estim2) (`actual`) not identical to c(3L, 6L) (`expected`). `actual`: 3 7 `expected`: 3 6 ── Failure ('test-estimate_means.R:61:3'): estimate_means() - core ───────────── dim(estim2) (`actual`) not equal to c(10, 6) (`expected`). `actual`: 10.0 7.0 `expected`: 10.0 6.0 ── Failure ('test-estimate_means.R:181:3'): estimate_means() - mixed models ──── dim(estim2) (`actual`) not identical to c(3L, 5L) (`expected`). `actual`: 3 6 `expected`: 3 5 ── Failure ('test-estimate_means.R:188:3'): estimate_means() - mixed models ──── dim(estim2) (`actual`) not identical to c(3L, 5L) (`expected`). `actual`: 3 6 `expected`: 3 5 [ FAIL 8 | WARN 0 | SKIP 2 | PASS 161 ] Error: Test failures Execution halted Package: WeightIt Check: re-building of vignette outputs New result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘WeightIt.Rmd’ using rmarkdown_notangle --- finished re-building ‘WeightIt.Rmd’ --- re-building ‘estimating-effects.Rmd’ using rmarkdown_notangle Quitting from lines 398-410 [unnamed-chunk-16] (estimating-effects.Rmd) Error: processing vignette 'estimating-effects.Rmd' failed with diagnostics: 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 --- failed re-building ‘estimating-effects.Rmd’ --- re-building ‘installing-packages.Rmd’ using rmarkdown_notangle --- finished re-building ‘installing-packages.Rmd’ SUMMARY: processing the following file failed: ‘estimating-effects.Rmd’ Error: Vignette re-building failed. Execution halted