R Under development (unstable) (2024-05-07 r86527 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 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. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(ggsurvfit) Loading required package: ggplot2 > > test_check("ggsurvfit") Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". ! `add_pvalue()` works with objects created with `survfit2()` or `tidycmprsk::cuminc()`. i `add_pvalue()` has been ignored. Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". ! Setting start time to -9.83572895277207. i Specify `ggsurvfit::survfit2(start.time)` to override this default. Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Plotting outcome "death from cancer". Saving 7 x 7 in image Saving 7 x 7 in image [ FAIL 0 | WARN 0 | SKIP 25 | PASS 232 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (25): 'test-add_censor_mark.R:15:3', 'test-add_censor_mark.R:48:3', 'test-add_censor_mark.R:63:3', 'test-add_confidence_interval.R:20:3', 'test-add_confidence_interval.R:64:3', 'test-add_confidence_interval.R:85:3', 'test-add_pvalue.R:47:3', 'test-add_quantile.R:78:3', 'test-add_quantile.R:160:3', 'test-add_quantile.R:174:3', 'test-add_quantile.R:205:3', 'test-add_risktable.R:103:3', 'test-add_risktable.R:174:3', 'test-add_risktable.R:193:3', 'test-add_risktable.R:257:3', 'test-add_risktable.R:319:3', 'test-add_risktable_strata_symbol.R:32:3', 'test-ggcuminc.R:36:3', 'test-ggcuminc.R:63:3', 'test-ggsurvfit.R:10:3', 'test-ggsurvfit.R:193:3', 'test-ggsurvfit_options.R:45:3', 'test-stat_stepribbon.R:27:3', 'test-theme_risktable.R:33:3', 'test-tidy_survfit.R:211:3' [ FAIL 0 | WARN 0 | SKIP 25 | PASS 232 ] Deleting unused snapshots: • add_censor_mark/cuminc2-censor-mark-all-outcomes.svg • add_censor_mark/cuminc2-censor-mark.svg • add_censor_mark/cuminc3-censor-mark-all-outcomes.svg • add_censor_mark/cuminc3-censor-mark.svg • add_censor_mark/sf2-censor-mark.svg • add_censor_mark/sf3-censor-mark.svg • add_confidence_interval/cuminc2-confidence-interval-all-outcomes.svg • add_confidence_interval/cuminc2-confidence-interval.svg • add_confidence_interval/cuminc3-confidence-interval-all-outcomes.svg • add_confidence_interval/cuminc3-confidence-interval.svg • add_confidence_interval/sf2-confidence-interval.svg • add_confidence_interval/sf3-confidence-interval.svg • add_pvalue/cuminc2-pvalue.svg • add_pvalue/sf2-pvalue-annotation-risk.svg • add_pvalue/sf2-pvalue-annotation.svg • add_pvalue/sf2-pvalue-with-survfit.svg • add_quantile/cuminc2-quantile-all-outcomes.svg • add_quantile/cuminc2-quantile.svg • add_quantile/cuminc3-quantile-all-outcomes.svg • add_quantile/cuminc3-quantile.svg • add_quantile/sf-mtcars-decreasing-many-quantiles.svg • add_quantile/sf-mtcars-decreasing.svg • add_quantile/sf-mtcars-increasing-many-quantiles.svg • add_quantile/sf-mtcars-increasing.svg • add_quantile/sf-mtcars-timing.svg • add_quantile/sf2-colon-quantile-no-line.svg • add_quantile/sf2-colon-quantile.svg • add_quantile/sf2-quantile-x-value-not-all-groups.svg • add_quantile/sf2-quantile-x-value-out-of-bounds.svg • add_quantile/sf2-quantile.svg • add_quantile/sf3-quantile.svg • add_risktable/add-risktable-overall1.svg • add_risktable/add-risktable-overall2.svg • add_risktable/add-risktable-weights.svg • add_risktable/cuminc2-risktable-all-outcomes.svg • add_risktable/cuminc2-risktable.svg • add_risktable/cuminc3-risktable-all-outcomes.svg • add_risktable/cuminc3-risktable.svg • add_risktable/sf-start-time.svg • add_risktable/sf1-risktable-custom-stats-and-label2.svg • add_risktable/sf1-risktable-height.svg • add_risktable/sf2-risktable-custom-stats-and-label.svg • add_risktable/sf2-risktable-custom-stats-and-label2.svg • add_risktable/sf2-risktable.svg • add_risktable/sf3-risktable-custom-stats-and-label.svg • add_risktable/sf3-risktable-custom-stats-and-label2.svg • add_risktable/sf3-risktable.svg • add_risktable_strata_symbol/add-risktable-strata-symbol-circle.svg • add_risktable_strata_symbol/add-risktable-strata-symbol-uni.svg • ggcuminc/cuminc1-ggcuminc-sf-all-outcomes.svg • ggcuminc/cuminc1-ggcuminc.svg • ggcuminc/cuminc2-ggcuminc-all-outcomes.svg • ggcuminc/cuminc2-ggcuminc-sf-all-outcomes.svg • ggcuminc/cuminc2-ggcuminc.svg • ggcuminc/cuminc3-ggcuminc-all-outcomes.svg • ggcuminc/cuminc3-ggcuminc-sf-all-outcomes.svg • ggcuminc/cuminc3-ggcuminc.svg • ggcuminc/sf-cuminc2-ggcuminc.svg • ggcuminc/sf-cuminc3-ggcuminc.svg • ggsurvfit/sf1-ggsurvfit-cloglog.svg • ggsurvfit/sf1-ggsurvfit-cumhaz.svg • ggsurvfit/sf1-ggsurvfit-custom.svg • ggsurvfit/sf1-ggsurvfit-kmunicate.svg • ggsurvfit/sf1-ggsurvfit-risk.svg • ggsurvfit/sf2-ggsurvfit-cloglog.svg • ggsurvfit/sf2-ggsurvfit-cumhaz.svg • ggsurvfit/sf2-ggsurvfit-custom.svg • ggsurvfit/sf2-ggsurvfit-kmunicate.svg • ggsurvfit/sf2-ggsurvfit-linetype.svg • ggsurvfit/sf2-ggsurvfit-new-data-geom2.svg • ggsurvfit/sf2-ggsurvfit-risk.svg • ggsurvfit/sf2-ggsurvfit-strata-transformation.svg • ggsurvfit/sf2-ggsurvfit.svg • ggsurvfit/sf3-ggsurvfit-cloglog.svg • ggsurvfit/sf3-ggsurvfit-cumhaz.svg • ggsurvfit/sf3-ggsurvfit-custom.svg • ggsurvfit/sf3-ggsurvfit-kmunicate.svg • ggsurvfit/sf3-ggsurvfit-linetype.svg • ggsurvfit/sf3-ggsurvfit-risk.svg • ggsurvfit/sf3-ggsurvfit.svg • ggsurvfit_options/ggci-outcomes-linetype.svg • ggsurvfit_options/ggci-outcomes.svg • ggsurvfit_options/ggci-strata.svg • stat_stepribbon/gg-stepribbon2.svg • theme_risktable/sf1-ggsurvfit-theme-risktable-boxed-symbol.svg • theme_risktable/sf1-ggsurvfit-theme-risktable-boxed.svg • theme_risktable/sf2-ggsurvfit-theme-risktable-boxed-symbol.svg • theme_risktable/sf2-ggsurvfit-theme-risktable-boxed.svg • theme_risktable/sf2-ggsurvfit-theme-risktable-default.svg • theme_risktable/sf3-ggsurvfit-theme-risktable-boxed-symbol.svg • theme_risktable/sf3-ggsurvfit-theme-risktable-boxed.svg • theme_risktable/sf3-ggsurvfit-theme-risktable-default.svg > > proc.time() user system elapsed 64.59 1.59 66.25