CRAN Package Check Results for Package afex

Last updated on 2018-05-21 11:49:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.20-2 10.89 414.22 425.11 NOTE
r-devel-linux-x86_64-debian-gcc 0.20-2 10.83 389.75 400.58 NOTE
r-devel-linux-x86_64-fedora-clang 0.20-2 599.48 NOTE
r-devel-linux-x86_64-fedora-gcc 0.20-2 612.03 NOTE
r-devel-windows-ix86+x86_64 0.20-2 23.00 483.00 506.00 NOTE
r-patched-linux-x86_64 0.20-2 9.93 463.58 473.51 NOTE
r-patched-solaris-x86 0.20-2 842.10 ERROR
r-release-linux-x86_64 0.20-2 9.51 460.97 470.48 NOTE
r-release-windows-ix86+x86_64 0.20-2 20.00 440.00 460.00 NOTE
r-release-osx-x86_64 0.20-2 NOTE
r-oldrel-windows-ix86+x86_64 0.20-2 24.00 475.00 499.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-release-osx-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.20-2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [9m/10m]
    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: dependencies in R code
Result: NOTE
    Missing or unexported object: ‘lmerTest::as_lmerModLmerTest’
Flavor: r-oldrel-osx-x86_64