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.918  0.012   6.420
ggsurvplot          4.420  0.004   6.228