- using R Under development (unstable) (2025-01-24 r87627)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘sprtt/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘sprtt’ version ‘0.2.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘testthis’
- 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 ‘sprtt’ can be installed ... [4s/5s] 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [4s/5s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] 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 ... [2s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [18s/24s] ERROR
Running ‘testthat.R’ [18s/24s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(sprtt)
> test_check("sprtt")
group1:
mean1 = 2.46777344198438, mean2 = 0.608428594215837,
sigma1 = 0.482007335673351, sigma2 = 0.197705075542727
group2:
mean1 = -2.46347924113178, mean2 = -0.538882255686642,
sigma1 = 0.357577686490047, sigma2 = 0.141779476413764
group3:
mean1 = 2.38161351990046, mean2 = 0.581606228997085,
sigma1 = 0.552465125339928, sigma2 = 0.273439502688409
group4:
mean1 = -2.50761894316742, mean2 = -0.529441345111927,
sigma1 = 0.207670515238717, sigma2 = 0.0167228100567904
[ FAIL 2 | WARN 1 | SKIP 15 | PASS 274 ]
══ Skipped tests (15) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-calc_effect_sizes.R:75:3',
'test-calc_group_means.R:11:3', 'test-calc_likelihoods.R:101:3',
'test-calc_plot_sprt.R:13:3',
'test-calc_seq_anova_non_centrality_parameter.R:10:3',
'test-calc_ss_effect.R:15:3', 'test-calc_ss_residual.R:15:3',
'test-draw_sample.R:9:3', 'test-draw_sample.R:101:3',
'test-draw_sample.R:194:3', 'test-seq_anova.R:9:3', 'test-seq_anova.R:52:3',
'test-show.R:9:3', 'test-show.R:63:3', 'test-show.R:90:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-seq_anova_error_rates.R:5:3'): Check error rates ───────────────
<packageNotFoundError/error/condition>
Error in `library(testthis)`: there is no package called 'testthis'
Backtrace:
▆
1. └─base::library(testthis) at test-seq_anova_error_rates.R:5:3
── Error ('test-seq_ttest-error_rates.R:5:3'): Check error rates ───────────────
<packageNotFoundError/error/condition>
Error in `library(testthis)`: there is no package called 'testthis'
Backtrace:
▆
1. └─base::library(testthis) at test-seq_ttest-error_rates.R:5:3
[ FAIL 2 | WARN 1 | SKIP 15 | PASS 274 ]
Deleting unused snapshots:
• calc_plot_sprt/balanced.svg
• calc_plot_sprt/change-lr-position.svg
• calc_plot_sprt/color-change.svg
• calc_plot_sprt/custom-steps-2.svg
• calc_plot_sprt/custom-steps.svg
• calc_plot_sprt/exmple-case-all-arguments.svg
• calc_plot_sprt/larger-sample.svg
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [18s/24s] OK
- checking PDF version of manual ... [6s/8s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '