- using R Under development (unstable) (2025-02-19 r87749)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 20.1.0-rc2
flang version 20.1.0-rc2
- running under: Fedora Linux 40 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘faux/DESCRIPTION’ ... OK
- this is package ‘faux’ version ‘1.2.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 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 ‘faux’ can be installed ... [19s/34s] 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 ... 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 ... [29s/45s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... 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 ... [74s/83s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [50s/83s] ERROR
Running ‘testthat.R’ [50s/83s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(faux)
************
Welcome to faux. For support and examples visit:
https://debruine.github.io/faux/
- Get and set global package options with: faux_options()
************
>
> expect_equal <- function(...) {
+ testthat::expect_equal(..., check.environment=FALSE)
+ }
>
> test_check("faux")
[ FAIL 6 | WARN 24 | SKIP 22 | PASS 1364 ]
══ Skipped tests (22) ══════════════════════════════════════════════════════════
• On CRAN (12): 'test-distributions.R:61:3', 'test-distributions.R:92:3',
'test-distributions.R:115:3', 'test-distributions.R:138:3',
'test-distributions.R:162:3', 'test-distributions.R:236:3',
'test-distributions.R:294:3', 'test-distributions.R:318:3',
'test-distributions.R:386:3', 'test-distributions.R:415:3',
'test-plot_design.R:51:3', 'test-plot_design.R:341:3'
• Too variable (1): 'test-distributions.R:520:3'
• long checking function (1): 'test-norta.R:55:3'
• long simulation (8): 'test-norta.R:92:3', 'test-norta.R:112:3',
'test-norta.R:140:3', 'test-norta.R:160:3', 'test-norta.R:186:3',
'test-norta.R:209:3', 'test-norta.R:233:3', 'test-norta.R:295:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-check_mixed_design.R:27:3'): faceratings ─────────────────────
des$sub_sd not equal to 0.8959721.
1/1 mismatches
[1] 0.926 - 0.896 == 0.0302
Backtrace:
▆
1. └─global expect_equal(des$sub_sd, 0.8959721, tolerance = 1e-06) at test-check_mixed_design.R:27:3
2. └─testthat::expect_equal(..., check.environment = FALSE)
── Failure ('test-check_mixed_design.R:28:3'): faceratings ─────────────────────
des$item_sd not equal to 0.6545743.
1/1 mismatches
[1] 0.701 - 0.655 == 0.0461
Backtrace:
▆
1. └─global expect_equal(des$item_sd, 0.6545743, tolerance = 1e-06) at test-check_mixed_design.R:28:3
2. └─testthat::expect_equal(..., check.environment = FALSE)
── Failure ('test-check_mixed_design.R:29:3'): faceratings ─────────────────────
des$error_sd not equal to 1.04295.
1/1 mismatches
[1] 1.04 - 1.04 == -0.00364
Backtrace:
▆
1. └─global expect_equal(des$error_sd, 1.04295, tolerance = 1e-06) at test-check_mixed_design.R:29:3
2. └─testthat::expect_equal(..., check.environment = FALSE)
── Failure ('test-check_mixed_design.R:40:3'): formula ─────────────────────────
des$sub_sd not equal to 0.8959708.
1/1 mismatches
[1] 0.926 - 0.896 == 0.0296
Backtrace:
▆
1. └─global expect_equal(des$sub_sd, 0.8959708, tolerance = 1e-06) at test-check_mixed_design.R:40:3
2. └─testthat::expect_equal(..., check.environment = FALSE)
── Failure ('test-check_mixed_design.R:41:3'): formula ─────────────────────────
des$item_sd not equal to 0.640946.
1/1 mismatches
[1] 0.7 - 0.641 == 0.0593
Backtrace:
▆
1. └─global expect_equal(des$item_sd, 0.640946, tolerance = 1e-06) at test-check_mixed_design.R:41:3
2. └─testthat::expect_equal(..., check.environment = FALSE)
── Failure ('test-check_mixed_design.R:42:3'): formula ─────────────────────────
des$error_sd not equal to 1.04295.
1/1 mismatches
[1] 1.04 - 1.04 == -0.00423
Backtrace:
▆
1. └─global expect_equal(des$error_sd, 1.04295, tolerance = 1e-06) at test-check_mixed_design.R:42:3
2. └─testthat::expect_equal(..., check.environment = FALSE)
[ FAIL 6 | WARN 24 | SKIP 22 | PASS 1364 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [14s/23s] OK
- checking PDF version of manual ... [10s/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