CRAN Package Check Results for Package afex

Last updated on 2018-04-24 10:46:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.20-2 9.61 385.80 395.41 NOTE
r-devel-linux-x86_64-debian-gcc 0.20-2 7.76 352.26 360.02 NOTE
r-devel-linux-x86_64-fedora-clang 0.20-2 503.28 NOTE
r-devel-linux-x86_64-fedora-gcc 0.20-2 501.86 NOTE
r-devel-windows-ix86+x86_64 0.20-2 27.00 428.00 455.00 NOTE
r-patched-linux-x86_64 0.20-2 9.11 430.15 439.26 NOTE
r-patched-solaris-x86 0.20-2 739.50 ERROR
r-release-linux-x86_64 0.20-2 8.42 399.20 407.62 NOTE
r-release-windows-ix86+x86_64 0.20-2 27.00 428.00 455.00 NOTE
r-release-osx-x86_64 0.20-2 NOTE
r-oldrel-windows-ix86+x86_64 0.20-2 14.00 454.00 468.00 NOTE
r-oldrel-osx-x86_64 0.20-2 NOTE

Check Details

Version: 0.20-2
Check: dependencies in R code
Result: NOTE
    Missing or unexported objects:
     ‘lmerTest::anova’ ‘lmerTest::summary’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.20-2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [490s/499s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(afex)
     Loading required package: lme4
     Loading required package: Matrix
     Loading required package: emmeans
     ************
     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(): 'KR', 'S', '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 orthogonal 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, KR-method)
    
     Model: value ~ treatment + (1 | id)
     Data: obk.long
     Effect df F p.value
     1 treatment 2, 13 2.91 + .09
     ---
     Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1
     Mixed Model Anova Table (Type 3 tests, KR-method)
    
     Model: value ~ treatment + phase + (1 | id)
     Data: obk.long
     Effect df F p.value
     1 treatment 2, 13 2.91 + .09
     2 phase 2, 222 38.48 *** <.0001
     ---
     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 + .05
     ---
     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 + .05
     2 phase 2 66.67 *** <.0001
     ---
     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 .33
     ---
     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 .33
     2 livch 3 77.91 .33
     ---
     Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '+' 0.1 ' ' 1
     ── 1. Error: mixed with all_fit = TRUE (@test-mixed-structure.R#277) ──────────
     all models must be fit to the same data object
     1: mixed(score ~ Machine + (Machine || Worker), data = Machines, expand_re = TRUE, all_fit = TRUE,
     method = "LRT", progress = FALSE) at testthat/test-mixed-structure.R:277
     2: anova(full_model, fits[[c]])
     3: anova.merMod(full_model, fits[[c]])
     4: stop("all models must be fit to the same data object")
    
     ── 2. Error: mixed with all available methods (@test-mixed-structure.R#312) ───
     afex_options("lmer_function") needs to be "lmerTest" for method="KR"
     1: mixed(response ~ instruction * type + (inference * type || id), sk2_aff, expand_re = TRUE,
     all_fit = FALSE, method = "KR", progress = FALSE, type = i) at testthat/test-mixed-structure.R:312
     2: stop("afex_options(\"lmer_function\") needs to be \"lmerTest\" for method=\"", method,
     "\"", call. = FALSE)
    
     ── 3. Error: mixed all_fit = TRUE works with new (KR) methods (@test-mixed-struc
     afex_options("lmer_function") needs to be "lmerTest" for method="KR"
     1: mixed(response ~ instruction + (inference * type || id), sk2_aff, expand_re = TRUE,
     all_fit = TRUE, method = "KR", progress = FALSE) at testthat/test-mixed-structure.R:373
     2: stop("afex_options(\"lmer_function\") needs to be \"lmerTest\" for method=\"", method,
     "\"", call. = FALSE)
    
     ── 4. Error: anova_table attributes (@test-mixed-structure.R#390) ─────────────
     afex_options("lmer_function") needs to be "lmerTest" for method="KR"
     1: mixed(value ~ treatment * phase + (1 | id), obk.long, sig_symbols = c("", "a", "aa",
     "aaa"), progress = FALSE, return = "nice") at testthat/test-mixed-structure.R:390
     2: stop("afex_options(\"lmer_function\") needs to be \"lmerTest\" for method=\"", method,
     "\"", call. = FALSE)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 263 SKIPPED: 2 FAILED: 4
     1. Error: mixed with all_fit = TRUE (@test-mixed-structure.R#277)
     2. Error: mixed with all available methods (@test-mixed-structure.R#312)
     3. Error: mixed all_fit = TRUE works with new (KR) methods (@test-mixed-structure.R#373)
     4. Error: anova_table attributes (@test-mixed-structure.R#390)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.20-2
Check: PDF version of manual
Result: WARN
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
Flavor: r-patched-solaris-x86

Version: 0.20-2
Check: PDF version of manual without hyperrefs or index
Result: ERROR
    Re-running with no redirection of stdout/stderr.
Flavor: r-patched-solaris-x86

Version: 0.20-2
Check: dependencies in R code
Result: NOTE
    Missing or unexported object: ‘lmerTest::as_lmerModLmerTest’
Flavors: r-release-osx-x86_64, r-oldrel-osx-x86_64