- using R Under development (unstable) (2026-02-02 r89367)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-12) 15.2.0
GNU Fortran (Debian 15.2.0-12) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-02-03 18:04:04Z
- checking for file ‘survminer/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘survminer’ version ‘0.5.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] OK
- 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 serialization versions ... OK
- checking whether package ‘survminer’ 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 ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
- checking loading without being on the library search path ... [3s/3s] 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 ... [19s/24s] OK
- checking Rd files ... [0s/1s] 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 ... [48s/54s] ERROR
Running examples in ‘survminer-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: surv_fit
> ### Title: Create Survival Curves
> ### Aliases: surv_fit
>
> ### ** Examples
>
>
> library("survival")
Attaching package: ‘survival’
The following object is masked from ‘package:survminer’:
myeloma
> library("magrittr")
>
> # Case 1: One formula and One data set
> #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> fit <- surv_fit(Surv(time, status) ~ sex,
+ data = colon)
> surv_pvalue(fit)
variable pval method pval.txt
1 sex 0.6107936 Log-rank p = 0.61
>
>
> # Case 2: List of formulas and One data set.
> # - Different formulas are applied to the same data set
> # - Returns a (named) list of survfit objects
> #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> # Create a named list of formulas
> formulas <- list(
+ sex = Surv(time, status) ~ sex,
+ rx = Surv(time, status) ~ rx
+ )
>
> # Fit survival curves for each formula
> fit <- surv_fit(formulas, data = colon)
> surv_pvalue(fit)
$`colon::sex`
variable pval method pval.txt
1 sex 0.6107936 Log-rank p = 0.61
$`colon::rx`
variable pval method pval.txt
1 rx 4.990735e-08 Log-rank p < 0.0001
>
> # Case 3: One formula and List of data sets
> #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> fit <- surv_fit(Surv(time, status) ~ sex,
+ data = list(colon, lung))
> surv_pvalue(fit)
$`colon::sex`
variable pval method pval.txt
1 sex 0.6107936 Log-rank p = 0.61
$`lung::sex`
variable pval method pval.txt
1 sex 0.001311165 Log-rank p = 0.0013
>
>
> # Case 4: List of formulas and List of data sets
> # - Each formula is applied to each of the data in the data list
> # - argument: match.fd = FALSE
> #:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>
> # Create two data sets
> set.seed(123)
> colon1 <- dplyr::sample_frac(colon, 1/2)
> set.seed(1234)
> colon2 <- dplyr::sample_frac(colon, 1/2)
>
> # Create a named list of formulas
> formula.list <- list(
+ sex = Surv(time, status) ~ sex,
+ adhere = Surv(time, status) ~ adhere,
+ rx = Surv(time, status) ~ rx
+ )
>
> # Fit survival curves
> fit <- surv_fit(formula.list, data = list(colon1, colon2),
+ match.fd = FALSE)
Error:
! `combine()` was deprecated in dplyr 1.0.0 and is now defunct.
ℹ Please use `vctrs::vec_c()` instead.
Backtrace:
▆
1. ├─survminer::surv_fit(...)
2. │ └─purrr::map(formula, .map_each, data) %>% dplyr::combine()
3. └─dplyr::combine(.)
4. └─lifecycle::deprecate_stop("1.0.0", "combine()", "vctrs::vec_c()")
5. └─lifecycle:::deprecate_stop0(msg)
6. └─rlang::cnd_signal(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
ggsurvplot_group_by 4.828 0.032 5.249
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/8s] OK
Running ‘testthat.R’ [7s/7s]
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [38s/42s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [3s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR