- using R Under development (unstable) (2025-04-01 r88092)
- 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 ‘sjtable2df/DESCRIPTION’ ... OK
- this is package ‘sjtable2df’ version ‘0.0.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 ‘sjtable2df’ can be installed ... 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 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 ... [5s/17s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [4s/13s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [16s/32s] ERROR
Running ‘testthat.R’ [15s/31s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(sjtable2df)
>
> test_check("sjtable2df")
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
boundary (singular) fit: see help('isSingular')
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 19 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-mtab2df.R:48:5'): correct functioning of mtab2df: glm ──────────
Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
Backtrace:
▆
1. └─testthat::expect_snapshot_value(...) at test-mtab2df.R:48:5
2. ├─testthat:::check_roundtrip(...)
3. │ └─testthat:::waldo_compare(...)
4. │ └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
5. │ └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
6. │ └─rlang::is_missing(y)
7. └─testthat (local) load(save(x))
8. └─jsonlite::unserializeJSON(x)
9. └─jsonlite:::unpack(parseJSON(txt))
10. └─base::lapply(obj$attributes, unpack)
11. └─jsonlite (local) FUN(X[[i]], ...)
12. ├─base::do.call("structure", newdata, quote = TRUE)
13. └─base::structure(.Data = base::quote(NULL))
── Error ('test-mtab2df.R:136:5'): correct functioning of mtab2df: glmer ───────
Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
Backtrace:
▆
1. └─testthat::expect_snapshot_value(...) at test-mtab2df.R:136:5
2. ├─testthat:::check_roundtrip(...)
3. │ └─testthat:::waldo_compare(...)
4. │ └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
5. │ └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
6. │ └─rlang::is_missing(y)
7. └─testthat (local) load(save(x))
8. └─jsonlite::unserializeJSON(x)
9. └─jsonlite:::unpack(parseJSON(txt))
10. └─base::lapply(obj$attributes, unpack)
11. └─jsonlite (local) FUN(X[[i]], ...)
12. ├─base::do.call("structure", newdata, quote = TRUE)
13. └─base::structure(.Data = base::quote(NULL))
── Error ('test-xtab2df.R:36:5'): correct functioning of 2x2 xtab2df, with stats ──
Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
Backtrace:
▆
1. └─testthat::expect_snapshot_value(...) at test-xtab2df.R:36:5
2. ├─testthat:::check_roundtrip(...)
3. │ └─testthat:::waldo_compare(...)
4. │ └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
5. │ └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
6. │ └─rlang::is_missing(y)
7. └─testthat (local) load(save(x))
8. └─jsonlite::unserializeJSON(x)
9. └─jsonlite:::unpack(parseJSON(txt))
10. └─base::lapply(obj$attributes, unpack)
11. └─jsonlite (local) FUN(X[[i]], ...)
12. ├─base::do.call("structure", newdata, quote = TRUE)
13. └─base::structure(.Data = base::quote(NULL))
── Error ('test-xtab2df.R:206:5'): correct functioning of 2x2 xtab2df, without stats ──
Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
Backtrace:
▆
1. └─testthat::expect_snapshot_value(...) at test-xtab2df.R:206:5
2. ├─testthat:::check_roundtrip(...)
3. │ └─testthat:::waldo_compare(...)
4. │ └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
5. │ └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
6. │ └─rlang::is_missing(y)
7. └─testthat (local) load(save(x))
8. └─jsonlite::unserializeJSON(x)
9. └─jsonlite:::unpack(parseJSON(txt))
10. └─base::lapply(obj$attributes, unpack)
11. └─jsonlite (local) FUN(X[[i]], ...)
12. ├─base::do.call("structure", newdata, quote = TRUE)
13. └─base::structure(.Data = base::quote(NULL))
── Error ('test-xtab2df.R:253:5'): correct functioning of 3x4 xtab2df, with stats ──
Error in `structure(.Data = base::quote(NULL))`: attempt to set an attribute on NULL
Backtrace:
▆
1. └─testthat::expect_snapshot_value(...) at test-xtab2df.R:253:5
2. ├─testthat:::check_roundtrip(...)
3. │ └─testthat:::waldo_compare(...)
4. │ └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)
5. │ └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts)
6. │ └─rlang::is_missing(y)
7. └─testthat (local) load(save(x))
8. └─jsonlite::unserializeJSON(x)
9. └─jsonlite:::unpack(parseJSON(txt))
10. └─base::lapply(obj$attributes, unpack)
11. └─jsonlite (local) FUN(X[[i]], ...)
12. ├─base::do.call("structure", newdata, quote = TRUE)
13. └─base::structure(.Data = base::quote(NULL))
[ FAIL 5 | WARN 0 | SKIP 0 | PASS 19 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [34s/70s] OK
- checking PDF version of manual ... [6s/12s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR