- using R Under development (unstable) (2024-09-10 r87115)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-3) 14.2.0
GNU Fortran (Debian 14.2.0-3) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘regmedint/DESCRIPTION’ ... OK
- this is package ‘regmedint’ version ‘1.0.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: ‘tidyverse’
- 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 serialization versions ... OK
- checking whether package ‘regmedint’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/2s] 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 ... [12s/18s] OK
- checking Rd files ... [0s/0s] 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 ... [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/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(regmedint)
>
> test_check("regmedint")
[ FAIL 19 | WARN 0 | SKIP 0 | PASS 23 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-01_regmedint_class_ui.R:10:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-01_regmedint_class_ui.R:10:1
── Error ('test-03_fit_mreg.R:11:1'): (code run outside of `test_that()`) ──────
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-03_fit_mreg.R:11:1
── Error ('test-04_fit_yreg_linear.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-04_fit_yreg_linear.R:11:1
── Error ('test-04_fit_yreg_logistic.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-04_fit_yreg_logistic.R:11:1
── Error ('test-04_fit_yreg_loglinear.R:13:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-04_fit_yreg_loglinear.R:13:1
── Error ('test-04_fit_yreg_negbin.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-04_fit_yreg_negbin.R:11:1
── Error ('test-04_fit_yreg_poisson.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-04_fit_yreg_poisson.R:11:1
── Error ('test-04_fit_yreg_survAFT_exp.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-04_fit_yreg_survAFT_exp.R:11:1
── Error ('test-04_fit_yreg_survAFT_weibull.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-04_fit_yreg_survAFT_weibull.R:11:1
── Error ('test-04_fit_yreg_survCox.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-04_fit_yreg_survCox.R:11:1
── Error ('test-05_calc_myreg.R:11:1'): (code run outside of `test_that()`) ────
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-05_calc_myreg.R:11:1
── Error ('test-06_calc_myreg_helpers_coef.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-06_calc_myreg_helpers_coef.R:11:1
── Error ('test-06_calc_myreg_helpers_vcov.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-06_calc_myreg_helpers_vcov.R:11:1
── Error ('test-07_calc_myreg_mreg_linear_yreg_linear.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-07_calc_myreg_mreg_linear_yreg_linear.R:11:1
── Error ('test-07_calc_myreg_mreg_linear_yreg_logistic.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-07_calc_myreg_mreg_linear_yreg_logistic.R:11:1
── Error ('test-07_calc_myreg_mreg_logistic_yreg_linear.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-07_calc_myreg_mreg_logistic_yreg_linear.R:11:1
── Error ('test-07_calc_myreg_mreg_logistic_yreg_logistic.R:11:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-07_calc_myreg_mreg_logistic_yreg_logistic.R:11:1
── Error ('test-08_regmedint_class_user_methods.R:16:5'): (code run outside of `test_that()`) ──
Error in `mutate(., male = if_else(sex == "m", 1L, 0L), status = if_else(status ==
0, 0L, 1L), bili_bin = if_else(bili > median(bili), 1L, 0L),
alk_phos = alk.phos)`: could not find function "mutate"
Backtrace:
▆
1. └─testthat::describe(...) at test-08_regmedint_class_user_methods.R:12:1
2. └─base::eval(substitute(code), describe_environment)
3. └─base::eval(substitute(code), describe_environment)
4. └─pbc[complete.cases(pbc), ] %>% ... at test-08_regmedint_class_user_methods.R:16:5
── Error ('test-09_cross_check_with_sas_macro.R:10:1'): (code run outside of `test_that()`) ──
<packageNotFoundError/error/condition>
Error in `library(tidyverse)`: there is no package called 'tidyverse'
Backtrace:
▆
1. └─base::library(tidyverse) at test-09_cross_check_with_sas_macro.R:10:1
[ FAIL 19 | WARN 0 | SKIP 0 | PASS 23 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [31s/41s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE