- using R Under development (unstable) (2025-02-15 r87723)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3)
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘papaja/DESCRIPTION’ ... OK
- this is package ‘papaja’ version ‘0.1.3’
- 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 ‘papaja’ can be installed ... [16s/22s] OK
See the install log for details.
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... OK
- checking use of S3 registration ... 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 ... [54s/66s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [12s/15s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [95s/125s] ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [94s/123s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library("testthat")
> library("papaja")
Loading required package: tinylabels
>
> test_check("papaja")
# weights: 11 (10 variable)
initial value 131.004817
iter 10 value 18.950613
iter 20 value 1.688044
iter 30 value 0.191850
iter 40 value 0.157681
iter 50 value 0.144956
iter 60 value 0.140122
iter 70 value 0.126855
iter 80 value 0.121665
iter 90 value 0.119362
iter 100 value 0.114966
final value 0.114966
stopped after 100 iterations
[ FAIL 4 | WARN 665 | SKIP 10 | PASS 2355 ]
══ Skipped tests (10) ══════════════════════════════════════════════════════════
• On CRAN (7): 'test-generate_author_yml.R:18:5',
'test_apa_print_merMod.R:6:5', 'test_apa_print_merMod.R:117:5',
'test_apa_print_model_comp.R:83:5', 'test_apa_table.R:19:5',
'test_custom_effect_sizes.R:109:5', 'test_skeleton.R:4:5'
• Structure of glht output not decided, yet. (2): 'test_apa_print_glht.R:7:5',
'test_apa_print_glht.R:36:5'
• emtrends() is not yet supported. (1): 'test_apa_print_emm_lsm.R:936:5'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_apa_print_merMod.R:192:5'): ANOVA tables from lmerTest::anova() ──
apa_KR$full_result$Days not identical to "$F(1, 17) = 45.85$, $p < .001$".
1/1 mismatches
x[1]: "$F(1, 17) = 3.28$, $p = .088$"
y[1]: "$F(1, 17) = 45.85$, $p < .001$"
── Failure ('test_apa_print_merMod.R:196:5'): ANOVA tables from lmerTest::anova() ──
apa_S$full_result$Days not identical to apa_KR$full_result$Days.
1/1 mismatches
x[1]: "$F(1, 115.69) = 3.28$, $p = .073$"
y[1]: "$F(1, 17) = 3.28$, $p = .088$"
── Error ('test_apa_print_merMod.R:225:5'): Type-3 tables from afex::mixed ─────
Error in `validate(x, check_class = "data.frame", check_infinite = FALSE)`: The parameter 'x' is NA.
Backtrace:
▆
1. ├─papaja::apa_print(mixed_PB) at test_apa_print_merMod.R:225:5
2. └─papaja:::apa_print.mixed(mixed_PB)
3. ├─papaja::apa_print(anova_table, ...)
4. └─papaja:::apa_print.anova(anova_table, ...)
5. └─papaja:::beautify(canonical_table, ...)
6. └─papaja:::validate(x, check_class = "data.frame", check_infinite = FALSE)
── Error ('test_apa_print_merMod.R:357:5'): Deprecated 'args_confint' argument ──
Error in `FUN(X[[i]], ...)`: The parameter 'x' is NA.
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test_apa_print_merMod.R:357:5
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. ├─papaja::apa_print(fm1, args_confint = list(level = 0.99, method = "profile"))
7. └─papaja:::apa_print.merMod(...)
8. ├─base::do.call("beautify", ellipsis)
9. └─papaja:::beautify(x = `<df[,5]>`)
10. ├─base::unlist(...)
11. └─base::lapply(...)
12. └─papaja (local) FUN(X[[i]], ...)
13. └─papaja::apa_interval(x, use_math = use_math, ...)
14. └─base::sapply(...)
15. └─base::lapply(X = X, FUN = FUN, ...)
16. └─papaja (local) FUN(X[[i]], ...)
[ FAIL 4 | WARN 665 | SKIP 10 | PASS 2355 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [25s/34s] OK
- checking PDF version of manual ... [13s/16s] OK
- checking HTML version of manual ... [8s/13s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR