CRAN Package Check Results for Package afex

Last updated on 2024-02-28 08:54:20 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3-1 18.71 418.21 436.92 OK
r-devel-linux-x86_64-debian-gcc 1.3-1 13.74 314.70 328.44 OK
r-devel-linux-x86_64-fedora-clang 1.3-1 544.09 OK
r-devel-linux-x86_64-fedora-gcc 1.3-1 558.19 OK
r-devel-windows-x86_64 1.3-0 16.00 337.00 353.00 OK
r-patched-linux-x86_64 1.3-0 24.76 422.27 447.03 OK
r-release-linux-x86_64 1.3-0 16.48 410.54 427.02 ERROR
r-release-macos-arm64 1.3-1 144.00 OK
r-release-macos-x86_64 1.3-1 336.00 OK
r-release-windows-x86_64 1.3-1 19.00 371.00 390.00 OK
r-oldrel-macos-arm64 1.3-1 138.00 OK
r-oldrel-windows-x86_64 1.3-1 15.00 333.00 348.00 OK

Check Details

Version: 1.3-0
Check: tests
Result: ERROR Running ‘testthat.R’ [87s/99s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(afex) Loading required package: lme4 Loading required package: Matrix ************ Welcome to afex. For support visit: http://afex.singmann.science/ - Functions for ANOVAs: aov_car(), aov_ez(), and aov_4() - Methods for calculating p-values with mixed(): 'S', 'KR', 'LRT', and 'PB' - 'afex_aov' and 'mixed' objects can be passed to emmeans() for follow-up tests - Get and set global package options with: afex_options() - Set sum-to-zero contrasts globally: set_sum_contrasts() - For example analyses see: browseVignettes("afex") ************ Attaching package: 'afex' The following object is masked from 'package:lme4': lmer > > test_check("afex") Mixed Model Anova Table (Type 3 tests, S-method) Model: value ~ treatment + (1 | id) Data: obk.long Effect df F p.value 1 treatment 2, 13.00 2.91 + .090 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, S-method) Model: value ~ treatment + phase + (1 | id) Data: obk.long Effect df F p.value 1 treatment 2, 13.00 2.91 + .090 2 phase 2, 222.00 38.48 *** <.001 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, LRT-method) Model: value ~ treatment + (1 | id) Data: obk.long Df full model: 5 Effect df Chisq p.value 1 treatment 2 5.93 + .052 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, LRT-method) Model: value ~ treatment + phase + (1 | id) Data: obk.long Df full model: 7 Effect df Chisq p.value 1 treatment 2 5.93 + .052 2 phase 2 66.67 *** <.001 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, PB-method) Model: use ~ urban + (1 | district) Data: Contraception Effect df Chisq p.value 1 urban 1 31.28 .333 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 Mixed Model Anova Table (Type 3 tests, PB-method) Model: use ~ urban + livch + (1 | district) Data: Contraception Effect df Chisq p.value 1 urban 1 36.33 .333 2 livch 3 77.91 .333 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1 [ FAIL 3 | WARN 8 | SKIP 28 | PASS 334 ] ══ Skipped tests (28) ══════════════════════════════════════════════════════════ • On CRAN (27): 'test-afex_plot-basics.R:11:3', 'test-afex_plot-basics.R:76:3', 'test-afex_plot-basics.R:111:3', 'test-afex_plot-basics.R:140:3', 'test-afex_plot-basics.R:339:3', 'test-afex_plot-bugs.R:6:3', 'test-afex_plot-bugs.R:21:3', 'test-afex_plot-bugs.R:43:3', 'test-afex_plot-bugs.R:79:3', 'test-afex_plot-default-support.R:11:3', 'test-afex_plot-default-support.R:20:3', 'test-afex_plot-default-support.R:38:3', 'test-afex_plot-default-support.R:66:3', 'test-afex_plot-vignette.R:4:3', 'test-afex_plot-vignette.R:38:3', 'test-afex_plot-vignette.R:114:3', 'test-aov_car-bugs.R:253:3', 'test-emmeans-interface.R:144:3', 'test-emmeans-interface.R:209:3', 'test-mixed-bugs.R:6:3', 'test-mixed-bugs.R:19:3', 'test-mixed-structure.R:214:5', 'test-mixed-structure.R:242:3', 'test-mixed-structure.R:264:3', 'test-mixed-structure.R:305:3', 'test-mixed-structure.R:349:3', 'test-mixed-structure.R:369:3' • empty test (1): 'test-mixed-structure.R:86:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-afex_plot-basics.R:332:3'): relabeling of factors and legend works ── p2$guides$shape$title not equal to "Noise Condition". target is NULL, current is character ── Failure ('test-afex_plot-basics.R:333:3'): relabeling of factors and legend works ── p2$guides$linetype$title not equal to "Noise Condition". target is NULL, current is character ── Error ('test-afex_plot-basics.R:364:3'): labels are correct in case variables are of lenth > 1 ── Error in `expect_match(p1$guides$shape$title, "treatment")`: is.character(act$val) is not TRUE Backtrace: ▆ 1. └─testthat::expect_match(p1$guides$shape$title, "treatment") at test-afex_plot-basics.R:364:3 2. └─base::stopifnot(is.character(act$val)) [ FAIL 3 | WARN 8 | SKIP 28 | PASS 334 ] Deleting unused snapshots: • afex_plot-basics/afex-plot-connecting-individual-points-works.svg • afex_plot-basics/geoms-work-box-plot.svg • afex_plot-basics/geoms-work-boxjitter-1.svg • afex_plot-basics/geoms-work-boxjitter-2.svg • afex_plot-basics/geoms-work-boxjitter-3.svg • afex_plot-basics/geoms-work-geom-count.svg • afex_plot-basics/geoms-work-ggbeeswarm-geom-beeswarm.svg • afex_plot-basics/geoms-work-ggbeeswarm-geom-quasirandom.svg • afex_plot-basics/geoms-work-jitterdodge.svg • afex_plot-basics/geoms-work-violin-with-colour.svg • afex_plot-basics/geoms-work-violin.svg • afex_plot-basics/lme4-mermod-plot-2.svg • afex_plot-basics/lme4-mermod-plot-3.svg • afex_plot-basics/mixed-model-1.svg • afex_plot-basics/mixed-model-2.svg • afex_plot-basics/mixed-model-3.svg • afex_plot-basics/mixed-model-4.svg • afex_plot-basics/multiple-geoms-work-1.svg • afex_plot-basics/multiple-geoms-work-2.svg • afex_plot-basics/one-way-within.svg • afex_plot-basics/two-way.svg • afex_plot-basics/x-trace-panel.svg • afex_plot-bugs/afex-plot-binomial-glm-with-factor-2.svg • afex_plot-bugs/afex-plot-dv-y-works.svg • afex_plot-bugs/afex-plot-lmm-type-2.svg • afex_plot-bugs/afex-plot-mermod-objects-with-missing-data.svg • afex_plot-default-support/afex-plots-binomial-glm-1.svg • afex_plot-default-support/afex-plots-binomial-glm-2.svg • afex_plot-default-support/afex-plots-lm-model-2.svg • afex_plot-default-support/afex-plots-nlme-2.svg • afex_plot-default-support/afex-plots-nlme-3.svg • afex_plot-default-support/afex-plots-nlme-4.svg • afex_plot-default-support/afex-plots-nlme-5.svg • afex_plot-default-support/afex-plots-poisson-glm-1.svg • afex_plot-default-support/afex-plots-poisson-glm-2.svg • afex_plot-vignette/afex-plot-glmmtmb-1.svg • afex_plot-vignette/afex-plot-glmmtmb-2.svg • afex_plot-vignette/afex-plot-glmmtmb-3.svg Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 1.3-0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘afex_analysing_accuracy_data.Rmd’ using rmarkdown --- finished re-building ‘afex_analysing_accuracy_data.Rmd’ --- re-building ‘afex_anova_example.Rmd’ using rmarkdown --- finished re-building ‘afex_anova_example.Rmd’ --- re-building ‘afex_mixed_example.Rmd’ using rmarkdown --- finished re-building ‘afex_mixed_example.Rmd’ --- re-building ‘afex_plot_introduction.Rmd’ using rmarkdown --- finished re-building ‘afex_plot_introduction.Rmd’ --- re-building ‘afex_plot_supported_models.Rmd’ using rmarkdown Quitting from lines 281-282 [unnamed-chunk-22] (afex_plot_supported_models.Rmd) Error: processing vignette 'afex_plot_supported_models.Rmd' failed with diagnostics: Problem while computing aesthetics. ℹ Error occurred in the 1st layer. Caused by error in `scales_add_defaults()`: ! could not find function "scales_add_defaults" --- failed re-building ‘afex_plot_supported_models.Rmd’ --- re-building ‘assumptions_of_ANOVAs.Rmd’ using rmarkdown --- finished re-building ‘assumptions_of_ANOVAs.Rmd’ --- re-building ‘introduction-mixed-models.pdf.asis’ using asis --- finished re-building ‘introduction-mixed-models.pdf.asis’ SUMMARY: processing the following file failed: ‘afex_plot_supported_models.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-release-linux-x86_64