* using log directory 'd:/Rcompile/CRANpkg/local/4.4/survminer.Rcheck' * 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 'survminer/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'survminer' version '0.5.1' * 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 'survminer' can be installed ... OK * checking installed package size ... NOTE installed size is 6.0Mb sub-directories of 1Mb or more: doc 5.5Mb * 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 ... [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 ... [5s] 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 ... [19s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [98s] ERROR Running examples in 'survminer-Ex.R' failed The error most likely occurred in: > ### 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 * checking for unstated dependencies in 'tests' ... OK * checking tests ... [12s] OK Running 'testthat.R' [11s] * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [68s] OK * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [8s] OK * DONE Status: 1 ERROR, 1 NOTE