- using R Under development (unstable) (2025-09-11 r88811)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.0
flang version 21.1.0
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘bayesassurance/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘bayesassurance’ version ‘0.1.0’
- 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 ‘bayesassurance’ can be installed ... [17s/23s] 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 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 ... [26s/33s] 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 ... [30s/40s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [238s/278s] ERROR
Running ‘testthat.R’ [237s/277s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(bayesassurance)
>
> test_check("bayesassurance")
[1] 20 10
[1] 30 10
[1] 40 10
[1] 20 20
[1] 30 20
[1] 40 20
[1] 20 30
[1] 30 30
[1] 40 30
[1] 20 10
[1] 30 10
[1] 40 10
[1] 20 20
[1] 30 20
[1] 40 20
[1] 20 30
[1] 30 30
[1] 40 30
[1] 20 10
[1] 30 20
[1] 40 30
[1] 10 20
[1] 10 20
[ FAIL 15 | WARN 92 | SKIP 0 | PASS 125 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-bayes_adcock.R:47:3'): Assurance plot output is a ggplot ─────
is.ggplot(out$assurance_plot) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-bayes_adcock.R:57:3'): Correct labels on x and y axes ──────────
<notSubsettableError/error/condition>
Error in `out$assurance_plot$labels`: object of type 'object' is not subsettable
Backtrace:
▆
1. └─testthat::expect_identical(out$assurance_plot$labels$y, "Assurance") at test-bayes_adcock.R:57:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-bayes_goal_func.R:52:3'): Rate of correct classification plot is a ggplot ──
is.ggplot(out$rc_plot) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-bayes_goal_func.R:63:3'): Correct labels on x and y axes ───────
<notSubsettableError/error/condition>
Error in `out$rc_plot$labels`: object of type 'object' is not subsettable
Backtrace:
▆
1. └─testthat::expect_identical(out$rc_plot$labels$y, "Rate of Correct Classification") at test-bayes_goal_func.R:63:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-bayes_sim.R:57:3'): Assurance plot output is a ggplot ────────
is.ggplot(out$assurance_plot) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-bayes_sim.R:70:3'): Correct labels on x and y axes ─────────────
<notSubsettableError/error/condition>
Error in `out$assurance_plot$labels`: object of type 'object' is not subsettable
Backtrace:
▆
1. └─testthat::expect_identical(out$assurance_plot$labels$y, "Assurance") at test-bayes_sim.R:70:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-bayes_sim_betabinomial.R:53:3'): Assurance plot output is a ggplot ──
is.ggplot(out$assurance_plot) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-bayes_sim_betabinomial.R:65:3'): Correct labels on x and y axes ──
<notSubsettableError/error/condition>
Error in `out$assurance_plot$labels`: object of type 'object' is not subsettable
Backtrace:
▆
1. └─testthat::expect_identical(out$assurance_plot$labels$y, "Assurance") at test-bayes_sim_betabinomial.R:65:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Error ('test-bayes_sim_unknownvar.R:75:3'): Correct labels on x and y axes of assurance plot ──
<notSubsettableError/error/condition>
Error in `out$assur_plot$labels`: object of type 'object' is not subsettable
Backtrace:
▆
1. └─testthat::expect_identical(out$assur_plot$labels$y, "Assurance") at test-bayes_sim_unknownvar.R:75:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-bayesassurance.R:28:3'): Assurance plot output is a ggplot ───
is.ggplot(out$assurance_plot) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-bayesassurance.R:36:3'): Correct labels on x and y axes ────────
<notSubsettableError/error/condition>
Error in `out$assurance_plot$labels`: object of type 'object' is not subsettable
Backtrace:
▆
1. └─testthat::expect_identical(out$assurance_plot$labels$y, "Assurance") at test-bayesassurance.R:36:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-frequentist.R:28:3'): Power plot output is a ggplot ──────────
is.ggplot(out$pwr_plot) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-frequentist.R:36:3'): Correct labels on x and y axes ───────────
<notSubsettableError/error/condition>
Error in `out$pwr_plot$labels`: object of type 'object' is not subsettable
Backtrace:
▆
1. └─testthat::expect_identical(out$pwr_plot$labels$y, "Power") at test-frequentist.R:36:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-pwr_curves.R:99:3'): Plot output is a ggplot ─────────────────
is.ggplot(out$plot) is not TRUE
`actual`: FALSE
`expected`: TRUE
── Error ('test-pwr_curves.R:114:3'): Correct labels on x and y axes ───────────
<notSubsettableError/error/condition>
Error in `out$plot$labels`: object of type 'object' is not subsettable
Backtrace:
▆
1. └─testthat::expect_identical(out$plot$labels$y, "Power/Assurance") at test-pwr_curves.R:114:3
2. └─testthat::quasi_label(enquo(object), label, arg = "object")
3. └─rlang::eval_bare(expr, quo_get_env(quo))
[ FAIL 15 | WARN 92 | SKIP 0 | PASS 125 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [26s/37s] OK
- checking PDF version of manual ... 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