CRAN Package Check Results for Package faux

Last updated on 2025-12-07 07:49:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.3 13.48 168.16 181.64 OK
r-devel-linux-x86_64-debian-gcc 1.2.3 8.19 82.24 90.43 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.3 29.00 247.53 276.53 OK
r-devel-linux-x86_64-fedora-gcc 1.2.3 31.00 253.90 284.90 OK
r-devel-windows-x86_64 1.2.3 23.00 197.00 220.00 OK
r-patched-linux-x86_64 1.2.3 13.28 156.71 169.99 OK
r-release-linux-x86_64 1.2.3 12.89 155.65 168.54 OK
r-release-macos-arm64 1.2.3 OK
r-release-macos-x86_64 1.2.3 14.00 172.00 186.00 OK
r-release-windows-x86_64 1.2.3 24.00 196.00 220.00 OK
r-oldrel-macos-arm64 1.2.3 OK
r-oldrel-macos-x86_64 1.2.3 17.00 172.00 189.00 OK
r-oldrel-windows-x86_64 1.2.3 31.00 250.00 281.00 OK

Check Details

Version: 1.2.3
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'rmarkdown', 'roxygen2', 'ggExtra', 'kableExtra' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.3
Check: examples
Result: ERROR Running examples in ‘faux-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: beta2norm > ### Title: Convert beta to normal > ### Aliases: beta2norm > > ### ** Examples > > > x <- rbeta(10000, 2, 3) > y <- beta2norm(x) Error in loadNamespace(x) : there is no package called ‘knitr’ Calls: beta2norm ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.3
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/32s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(faux) ************ Welcome to faux. For support and examples visit: https://scienceverse.github.io/faux/ - Get and set global package options with: faux_options() ************ > > expect_equal <- function(...) { + testthat::expect_equal(..., check.environment=FALSE) + } > > test_check("faux") Saving _problems/test-distributions-23.R Saving _problems/test-distributions-24.R Saving _problems/test-distributions-25.R [ FAIL 3 | WARN 0 | SKIP 42 | PASS 1244 ] ══ Skipped tests (42) ══════════════════════════════════════════════════════════ • 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:57:3', 'test-plot_design.R:347: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' • {knitr} is not installed. (20): 'test-check_design.R:339:3', 'test-check_design.R:379:3', 'test-codebook.R:11:3', 'test-codebook.R:96:3', 'test-codebook.R:113:3', 'test-codebook.R:154:3', 'test-codebook.R:194:3', 'test-codebook.R:212:3', 'test-codebook.R:266:3', 'test-codebook.R:317:3', 'test-codebook.R:337:3', 'test-codebook.R:399:3', 'test-codebook_interactive.R:51:35', 'test-codebook_interactive.R:95:32', 'test-interactive_design.R:18:25', 'test-interactive_design.R:62:25', 'test-interactive_design.R:108:25', 'test-interactive_design.R:157:25', 'test-messages.R:4:3', 'test-sim_design.R:646:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-distributions.R:23:3'): error ──────────────────────────────── `binom2norm(c(1, 2, -3))` threw an error with unexpected message. Expected match: "the smallest possible value in a binomial distribution is 0" Actual message: "there is no package called 'knitr'" Backtrace: ▆ 1. ├─testthat::expect_error(binom2norm(c(1, 2, -3)), "the smallest possible value in a binomial distribution is 0") at test-distributions.R:23:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─faux::binom2norm(c(1, 2, -3)) 7. │ └─faux:::message("size was not set, so guessed as ", size) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Failure ('test-distributions.R:24:3'): error ──────────────────────────────── `binom2norm(c(1, 2, 3), size = 2)` threw an error with unexpected message. Expected match: "size cannot be smaller than the largest value" Actual message: "there is no package called 'knitr'" Backtrace: ▆ 1. ├─testthat::expect_error(binom2norm(c(1, 2, 3), size = 2), "size cannot be smaller than the largest value") at test-distributions.R:24:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─faux::binom2norm(c(1, 2, 3), size = 2) 7. │ └─faux:::message("prob was not set, so guessed as ", prob) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) ── Failure ('test-distributions.R:25:3'): error ──────────────────────────────── `binom2norm(c(0, 1), size = 1)` threw an error with unexpected message. Expected match: "size cannot be smaller than 2" Actual message: "there is no package called 'knitr'" Backtrace: ▆ 1. ├─testthat::expect_error(binom2norm(c(0, 1), size = 1), "size cannot be smaller than 2") at test-distributions.R:25:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─faux::binom2norm(c(0, 1), size = 1) 7. │ └─faux:::message("prob was not set, so guessed as ", prob) 8. └─base::loadNamespace(x) 9. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 10. └─base (local) withOneRestart(expr, restarts[[1L]]) 11. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 3 | WARN 0 | SKIP 42 | PASS 1244 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.2.3
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc