R Under development (unstable) (2023-10-27 r85420 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(tidycmprsk) > > test_check("tidycmprsk") 11 cases omitted due to missing values -- crr() ----------------------------------------------------------------------- * Call Surv(ttdeath, death_cr) ~ age * Failure type of interest "death from cancer" Variable Coef SE HR 95% CI p-value age 0.006 0.010 1.01 0.99, 1.03 0.55 11 cases omitted due to missing values 11 cases omitted due to missing values 11 cases omitted due to missing values 11 cases omitted due to missing values 11 cases omitted due to missing values x There was an error evaluating the LHS of the formula. -- cuminc() -------------------------------------------------------------------- * Failure type "death from cancer" strata time n.risk estimate std.error 95% CI Drug A 5.00 97 0.000 0.000 NA, NA Drug A 10.0 94 0.020 0.014 0.004, 0.065 Drug A 15.0 83 0.071 0.026 0.031, 0.134 Drug A 20.0 61 0.173 0.039 0.106, 0.255 Drug B 5.00 102 0.000 0.000 NA, NA Drug B 10.0 95 0.039 0.019 0.013, 0.090 Drug B 15.0 75 0.167 0.037 0.102, 0.246 Drug B 20.0 55 0.255 0.043 0.175, 0.343 * Failure type "death other causes" strata time n.risk estimate std.error 95% CI Drug A 5.00 97 0.010 0.010 0.001, 0.050 Drug A 10.0 94 0.020 0.014 0.004, 0.065 Drug A 15.0 83 0.082 0.028 0.038, 0.147 Drug A 20.0 61 0.204 0.041 0.131, 0.289 Drug B 5.00 102 0.000 0.000 NA, NA Drug B 10.0 95 0.029 0.017 0.008, 0.077 Drug B 15.0 75 0.098 0.030 0.050, 0.165 Drug B 20.0 55 0.206 0.040 0.133, 0.289 * Tests outcome statistic df p.value death from cancer 1.99 1.00 0.16 death other causes 0.089 1.00 0.77 Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union 11 cases omitted due to missing values 11 cases omitted due to missing values 11 cases omitted due to missing values [ FAIL 0 | WARN 0 | SKIP 1 | PASS 101 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-tbl_cuminc.R:30:3' [ FAIL 0 | WARN 0 | SKIP 1 | PASS 101 ] > > proc.time() user system elapsed 12.37 0.56 12.95