Running 'spelling.R' [0s]
  Running 'testthat.R' [157s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(visR)
  > library(vdiffr)
  > library(survival)
  > 
  > test_check("visR")
  [ FAIL 1 | WARN 28 | SKIP 28 | PASS 1001 ]
  
  ══ Skipped tests (28) ══════════════════════════════════════════════════════════
  • On CRAN (27): 'test-add_CI.R:30:3', 'test-add_CI.R:45:3',
    'test-add_CI.R:65:3', 'test-add_CI.R:95:3', 'test-add_CI.R:124:3',
    'test-add_CI.R:144:3', 'test-add_CNSR.R:34:3', 'test-add_CNSR.R:47:3',
    'test-add_CNSR.R:60:3', 'test-add_CNSR.R:78:3', 'test-add_CNSR.R:95:3',
    'test-add_CNSR.R:112:3', 'test-add_highlight.R:107:3',
    'test-add_highlight.R:151:3', 'test-add_highlight.R:281:3',
    'test-add_risktable.R:81:3', 'test-add_risktable.R:93:3',
    'test-add_risktable.R:204:3', 'test-add_risktable.R:214:3',
    'test-stat_stepribbon.R:32:3', 'test-stat_stepribbon.R:60:3',
    'test-stat_stepribbon.R:94:3', 'test-stat_stepribbon.R:117:3',
    'test-utils_visR.R:139:3', 'test-utils_visR.R:150:3',
    'test-visr_survfit.R:528:3', 'test-watchdog_testfiles.R:14:1'
  • utils::packageVersion("ggplot2") >= "3.5.0" is TRUE (1):
    'test-utils_visR.R:97:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-tidyme.R:138:3'): T3.2 The S3 method, associated with a `survfit` object, has columns representing all list elements of the S3 object ──
  surv_object_df %>% dplyr::select(-call) not equal to survfit_object_tidy %>% dplyr::select(-call).
  Length mismatch: comparison on first 22 components
  Component 15: target is character, current is numeric
  Component 16: 164 string mismatches
  Component 17: target is numeric, current is character
  Component 18: Mean relative difference: 4.077603
  Component 19: Mean relative difference: 0.9152565
  Component 20: Mean relative difference: 0.280564
  Component 21: 'current' is not a factor
  Component 22: target is numeric, current is factor
  
  [ FAIL 1 | WARN 28 | SKIP 28 | PASS 1001 ]
  Error: Test failures
  In addition: Warning message:
  In .External(ffi_dots_values, env = environment(), named = NULL,  :
    closing unused connection 4 (https://raw.githubusercontent.com/vntkumar8/covid-survival/main/data/final.csv)
  Execution halted