- using R Under development (unstable) (2024-06-25 r86831 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.2.0
GNU Fortran (GCC) 13.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'report/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'report' version '0.5.8'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'report' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- 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 ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] 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 ... [16s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [24s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [258s] ERROR
Running 'testthat.R' [257s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # Generate snapshots only on Windows to avoid having to generate snapshot variant
> # corresponding to each OS (#312).
> #
> # This is especially important for Bayesian models where the results can be different
> # across OS, and there is no way to specify a threshold when it comes to snapshots
> # since the values included are of character type.
> if (tolower(Sys.info()[["sysname"]]) == "windows") {
+ library(testthat)
+
+ test_check("report")
+ }
Loading required package: report
Start sampling
boundary (singular) fit: see help('isSingular')
[ FAIL 1 | WARN 16 | SKIP 42 | PASS 113 ]
══ Skipped tests (42) ══════════════════════════════════════════════════════════
• On CRAN (41): 'test-report.aov.R:64:3', 'test-report.brmsfit.R:17:3',
'test-report.data.frame.R:37:3', 'test-report.data.frame.R:76:3',
'test-report.data.frame.R:87:3', 'test-report.data.frame.R:94:3',
'test-report.htest-chi2.R:6:3', 'test-report.htest-chi2.R:108:3',
'test-report.htest-correlation.R:17:3', 'test-report.htest-fisher.R:12:3',
'test-report.htest-friedman.R:11:3', 'test-report.htest-kruskal.R:5:3',
'test-report.htest-t-test.R:23:3', 'test-report.ivreg.R:13:3',
'test-report.lavaan.R:12:3', 'test-report.lavaan.R:16:3',
'test-report.lavaan.R:20:3', 'test-report.lm.R:22:3',
'test-report.lm.R:40:3', 'test-report.lmer.R:20:3',
'test-report.stanreg.R:34:3', 'test-report.survreg.R:10:3',
'test-report_participants.R:51:3', 'test-report_participants.R:131:3',
'test-report_participants.R:155:3', 'test-report_participants.R:171:3',
'test-report_performance.R:79:3', 'test-report_performance.R:120:3',
'test-report_s.R:2:3', 'test-report_sample.R:57:3',
'test-report_sample.R:72:3', 'test-report_sample.R:92:3',
'test-report_sample.R:127:3', 'test-report_sample.R:142:3',
'test-report_sample.R:169:3', 'test-report_sample.R:184:3',
'test-report_sample.R:199:3', 'test-report_sample.R:226:3',
'test-report_sample.R:241:3', 'test-report_sample.R:266:3',
'test-report_sample.R:289:3'
• Skipping because of a .1 decimal difference in snapshots (1):
'test-report.lm.R:6:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-report.htest-wilcox.R:7:3'): report.htest-wilcox ───────────────
Error in `abs(r)`: non-numeric argument to mathematical function
Backtrace:
▆
1. └─testthat::expect_snapshot(...) at test-report.htest-wilcox.R:7:3
2. └─rlang::cnd_signal(state$error)
[ FAIL 1 | WARN 16 | SKIP 42 | PASS 113 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [17s] OK
- checking PDF version of manual ... [23s] OK
- checking HTML version of manual ... [7s] OK
- DONE
Status: 1 ERROR