- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'tidystats/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'tidystats' version '0.6.2'
- 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 'tidystats' 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 whether startup messages can be suppressed ... [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 ... [7s] 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 contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [3s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [19s] ERROR
Running 'testthat.R' [19s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(tidystats)
This version of tidystats uses a new and improved way of structuring statistics. This breaks previous (major) versions of tidystats.
>
> test_check("tidystats")
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 180 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_lme4.R:21:3'): lme4 ML works ───────────────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `summary$AICtab[["deviance"]]`: subscript out of bounds
Backtrace:
▆
1. └─tidystats:::expect_equal_models(model = model, expected_tidy_model = expected_statistics$lme4_ML) at test_lme4.R:21:3
2. ├─tidystats::tidy_stats(model)
3. └─tidystats:::tidy_stats.lmerMod(model)
4. └─tidystats:::add_statistic(...)
5. └─tidystats:::is_blank(value)
── Failure ('test_lme4.R:56:3'): lme4 anova model comparison works ─────────────
`tidy_model` not equal to `expected_tidy_model`.
Component "groups": Component 1: Component 2: Component 1: Component 2: Length mismatch: comparison on first 4 components
Component "groups": Component 1: Component 2: Component 2: Component 2: Length mismatch: comparison on first 7 components
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 5: Component 1: 1 string mismatch
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 5: Component 2: 1 string mismatch
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 5: Component 3: Mean relative difference: 40.63962
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 6: Names: 1 string mismatch
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 6: Length mismatch: comparison on first 2 components
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 6: Component 1: 1 string mismatch
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 6: Component 2: Modes: numeric, character
...
Backtrace:
▆
1. └─tidystats:::expect_equal_models(model = model, expected_tidy_model = expected_statistics$anova_models) at test_lme4.R:56:3
2. └─testthat::expect_equal(tidy_model, expected_tidy_model, tolerance = tolerance)
── Error ('test_lmerTest.R:37:3'): lmerTest ML works ───────────────────────────
<subscriptOutOfBoundsError/error/condition>
Error in `summary$AICtab[["deviance"]]`: subscript out of bounds
Backtrace:
▆
1. └─tidystats:::expect_equal_models(model = model, expected_tidy_model = expected_statistics$lmerTest_ML) at test_lmerTest.R:37:3
2. ├─tidystats::tidy_stats(model)
3. └─tidystats:::tidy_stats.lmerModLmerTest(model)
4. ├─tidystats:::add_statistic(...)
5. └─tidystats:::add_statistic(...)
6. └─tidystats:::is_blank(value)
── Failure ('test_lmerTest.R:70:3'): lmerTest anova fit works ──────────────────
`tidy_model` not equal to `expected_tidy_model`.
Component "groups": Component 1: Component 2: Component 1: Component 2: Length mismatch: comparison on first 4 components
Component "groups": Component 1: Component 2: Component 2: Component 2: Length mismatch: comparison on first 7 components
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 5: Component 1: 1 string mismatch
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 5: Component 2: 1 string mismatch
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 5: Component 3: Mean relative difference: 40.57495
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 6: Names: 1 string mismatch
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 6: Length mismatch: comparison on first 2 components
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 6: Component 1: 1 string mismatch
Component "groups": Component 1: Component 2: Component 2: Component 2: Component 6: Component 2: Modes: numeric, character
...
Backtrace:
▆
1. └─tidystats:::expect_equal_models(model = model, expected_tidy_model = expected_statistics$anova_lmerTest_fit) at test_lmerTest.R:70:3
2. └─testthat::expect_equal(tidy_model, expected_tidy_model, tolerance = tolerance)
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 180 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s] OK
- checking PDF version of manual ... [22s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR