- using R version 4.4.3 (2025-02-28 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 13.3.0
GNU Fortran (GCC) 13.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'simPH/DESCRIPTION' ... OK
- this is package 'simPH' version '1.3.14'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'simPH' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [4s] OK
- checking whether the package can be loaded with stated dependencies ... [4s] OK
- checking whether the package can be unloaded cleanly ... [4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s] OK
- checking whether the namespace can be unloaded cleanly ... [4s] OK
- checking loading without being on the library search path ... [4s] 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 ... [18s] OK
- checking Rd files ... [1s] 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] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [4s] ERROR
Running examples in 'simPH-Ex.R' failed
The error most likely occurred in:
> ### Name: MinMaxLines
> ### Title: Transform the simulation object to include only the min and max
> ### of the constricted intervals, as well as the lower and upper bounds
> ### of the middle 50 percent of the constricted intervals
> ### Aliases: MinMaxLines
> ### Keywords: internals
>
> ### ** Examples
>
> # Load Carpenter (2002) data
> data("CarpenterFdaData")
>
> # Load survival package
> library(survival)
>
> # Run basic model
> M1 <- coxph(Surv(acttime, censor) ~ prevgenx + lethal +
+ deathrt1 + acutediz + hosp01 + hhosleng +
+ mandiz01 + femdiz01 + peddiz01 + orphdum +
+ vandavg3 + wpnoavg3 + condavg3 + orderent +
+ stafcder, data = CarpenterFdaData)
>
> # Simulate Hazard Ratios
> Sim1 <- coxsimLinear(M1, b = "stafcder",
+ Xj = c(1237, 1600),
+ Xl = c(1000, 1000),
+ qi = "Hazard Ratio",
+ spin = TRUE, ci = 0.99)
>
> # Find summary statistics of the constricted interval
> Sum <- MinMaxLines(Sim1, clean = TRUE)
Error:
! `group_by_()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `group_by()` instead.
ℹ See vignette('programming') for more help
Backtrace:
▆
1. └─simPH::MinMaxLines(Sim1, clean = TRUE)
2. └─dplyr::group_by_(df, .dots = byVars)
3. └─dplyr:::lazy_defunct("group_by")
4. └─lifecycle::deprecate_stop(...)
5. └─lifecycle:::deprecate_stop0(msg)
6. └─rlang::cnd_signal(...)
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [20s] OK
Running 'testthat.R' [20s]
- checking PDF version of manual ... [24s] OK
- checking HTML version of manual ... [6s] OK
- DONE
Status: 1 ERROR