* using log directory 'd:/Rcompile/CRANpkg/local/4.5/visR.Rcheck' * using R Under development (unstable) (2024-06-10 r86715 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'visR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'visR' version '0.4.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 'visR' can be installed ... OK * checking installed package size ... OK * 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [2s] 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 ... [9s] 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 ... [22s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [105s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [105s] 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 for (i in seq_len(nrow(theme))) { : closing unused connection 4 (https://raw.githubusercontent.com/vntkumar8/covid-survival/main/data/final.csv) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [30s] OK * checking PDF version of manual ... [23s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR