CRAN Package Check Results for Package regmedint

Last updated on 2024-09-13 00:50:10 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 9.23 184.75 193.98 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 7.13 126.54 133.67 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 324.21 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.1 340.24 NOTE
r-devel-windows-x86_64 1.0.1 12.00 194.00 206.00 OK
r-patched-linux-x86_64 1.0.1 8.87 175.79 184.66 OK
r-release-linux-x86_64 1.0.1 8.11 113.07 121.18 ERROR
r-release-macos-arm64 1.0.1 114.00 OK
r-release-macos-x86_64 1.0.1 188.00 OK
r-release-windows-x86_64 1.0.1 10.00 191.00 201.00 OK
r-oldrel-macos-arm64 1.0.1 104.00 OK
r-oldrel-macos-x86_64 1.0.1 212.00 OK
r-oldrel-windows-x86_64 1.0.1 13.00 236.00 249.00 OK

Check Details

Version: 1.0.1
Check: dependencies in R code
Result: NOTE Namespace in Imports field not imported from: ‘Deriv’ All declared Imports should be used. Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘tidyverse’ Flavor: r-release-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/6s] 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 Flavor: r-release-linux-x86_64