* using log directory 'd:/RCompile/CRANincoming/R-devel/parseRPDR.Rcheck' * using R Under development (unstable) (2024-01-07 r85787 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'parseRPDR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'parseRPDR' version '1.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [11s] Note_to_CRAN_maintainers Maintainer: 'Marton Kolossvary ' * 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 'parseRPDR' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [11s] ERROR Running 'covr.R' Running 'testthat.R' [11s] Running the tests in 'tests/covr.R' failed. Complete output: > library(covr) > coverage <- covr::package_coverage(path="/Users/mjk2/Dropbox (Personal)/R_packages/parseRPDR/") Error: `path` is invalid: d:/Users/mjk2/Dropbox (Personal)/R_packages/parseRPDR Execution halted Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(parseRPDR) _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/_/_/ _/ _/_/ _/_/_/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/_/ _/_/_/_/ _/_/_/ _/_/_/ _/ _/ _/_/_/ _/ _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/_/ _/_/_/ _/ _/_/_/ _/_/_/ _/ _/ _/ _/_/_/ _/ _/ _/ _/ by: Márton Kolossváry, MD PhD Please cite: Kolossváry M et al. Deep Learning Analysis of Chest Radiographs to Triage Patients with Acute Chest Pain Syndrome. Radiology. 2023;306(2):e221926. DOI: 10.1148/radiol.221926 > > testthat::test_check("parseRPDR") [ FAIL 33 | WARN 3 | SKIP 0 | PASS 66 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-create_img_db.R:46:3'): (code run outside of `test_that()`) ──── Error in `as.vector(d_s[, lapply(.SD, class)])[1, ]`: incorrect number of dimensions Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-create_img_db.R:45:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─base::which(as.vector(d_s[, lapply(.SD, class)])[1, ] == "POSIXct") at test-create_img_db.R:46:3 ── Error ('test-find_exam.R:20:1'): (code run outside of `test_that()`) ──────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_enc(d_fname, nThread = 2)) at test-find_exam.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_enc(d_fname, nThread = 2) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_all.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_all(d_fname, nThread = 1)) at test-load_all.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_all(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_bib.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_bib(d_fname, nThread = 1)) at test-load_bib.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_bib(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_con.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_con(d_fname, nThread = 1)) at test-load_con.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_con(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_dem.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_dem(d_fname, nThread = 1)) at test-load_dem.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_dem(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_dem_old.R:20:1'): (code run outside of `test_that()`) ───── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_dem_old(d_fname, nThread = 1)) at test-load_dem_old.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_dem_old(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_dia.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_dia(d_fname, nThread = 1)) at test-load_dia.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_dia(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_enc.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_enc(d_fname, nThread = 1)) at test-load_enc.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_enc(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_lab.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_lab(d_fname, nThread = 1)) at test-load_lab.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_lab(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_lno.R:20:1'): (code run outside of `test_that()`) ───────── Error in `which_rows[[x]]`: subscript out of bounds Backtrace: ▆ 1. ├─base::suppressMessages(load_lno(d_fname, nThread = 1)) at test-load_lno.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_lno(d_fname, nThread = 1) 4. └─base::lapply(...) 5. └─parseRPDR (local) FUN(X[[i]], ...) 6. ├─base::paste(...) 7. └─base::paste(record[1:max(which_rows[[x]])], collapse = " ") ── Error ('test-load_mcm.R:20:1'): (code run outside of `test_that()`) ───────── Error in `if (is.na(file_info$size)) stop("File '", file, "' does not exist or is non-readable. getwd()=='", getwd(), "'")`: argument is of length zero Backtrace: ▆ 1. ├─base::suppressMessages(load_mcm(d_fname, nThread = 1)) at test-load_mcm.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_mcm(d_fname, nThread = 1) 4. └─data.table::fread(file = file, nThread = nThread, colClasses = "character") ── Error ('test-load_med.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_med(d_fname, nThread = 1)) at test-load_med.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_med(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_mic.R:23:3'): (code run outside of `test_that()`) ───────── Error in `if (length(res) == 0 || res == -1) { return(list(path = path, extension = "")) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressMessages(load_mic(d_fname[i], nThread = 1)) at test-load_mic.R:23:3 2. │ └─base::withCallingHandlers(...) 3. ├─parseRPDR::load_mic(d_fname[i], nThread = 1) 4. │ └─readr::read_lines(...) 5. │ └─vroom::vroom_lines(...) 6. │ └─vroom:::vroom_(...) 7. └─vroom (local) ``(NA_character_) 8. └─vroom:::split_path_ext(basename_utf8(path)) ── Error ('test-load_mrn.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_mrn(d_fname, nThread = 1)) at test-load_mrn.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_mrn(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_notes.R:27:3'): (code run outside of `test_that()`) ─────── Error in `if (length(res) == 0 || res == -1) { return(list(path = path, extension = "")) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-load_notes.R:27:3 2. │ └─base::withCallingHandlers(...) 3. ├─parseRPDR::load_notes(...) 4. │ └─readr::read_lines(...) 5. │ └─vroom::vroom_lines(...) 6. │ └─vroom:::vroom_(...) 7. └─vroom (local) ``(NA_character_) 8. └─vroom:::split_path_ext(basename_utf8(path)) ── Error ('test-load_phy.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_phy(d_fname, nThread = 1)) at test-load_phy.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_phy(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_prc.R:21:3'): (code run outside of `test_that()`) ───────── Error in `split.default(v, sort(rep_len(1:nThread, length(v))))`: first argument must be a vector Backtrace: ▆ 1. ├─testthat::expect_true(...) at test-load_prc.R:19:1 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::suppressMessages(load_prc(d_fname, nThread = 1)) at test-load_prc.R:21:3 5. │ └─base::withCallingHandlers(...) 6. └─parseRPDR::load_prc(d_fname, nThread = 1) 7. └─base::lapply(...) 8. └─parseRPDR (local) FUN(X[[i]], ...) 9. ├─base::suppressMessages(...) 10. │ └─base::withCallingHandlers(...) 11. └─parseRPDR:::load_base(...) 12. └─parseRPDR::pretty_mrn(...) 13. ├─base::split(v, sort(rep_len(1:nThread, length(v)))) 14. └─base::split.default(v, sort(rep_len(1:nThread, length(v)))) ── Error ('test-load_prv.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_prv(d_fname, nThread = 1)) at test-load_prv.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_prv(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_ptd.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_ptd(d_fname, nThread = 1)) at test-load_ptd.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_ptd(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_rdt.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_rdt(d_fname, nThread = 1)) at test-load_rdt.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_rdt(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_rfv.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_rfv(d_fname, nThread = 1)) at test-load_rfv.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_rfv(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-load_trn.R:20:1'): (code run outside of `test_that()`) ───────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_trn(d_fname, nThread = 1)) at test-load_trn.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_trn(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-convert_dia.R:21:1'): (code run outside of `test_that()`) ────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_dia(d_fname, nThread = 2)) at test-convert_dia.R:21:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_dia(d_fname, nThread = 2) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-convert_enc.R:21:1'): (code run outside of `test_that()`) ────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_enc(d_fname, nThread = 2)) at test-convert_enc.R:21:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_enc(d_fname, nThread = 2) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-convert_lab.R:21:1'): (code run outside of `test_that()`) ────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_lab(d_fname, nThread = 2)) at test-convert_lab.R:21:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_lab(d_fname, nThread = 2) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-convert_med.R:21:1'): (code run outside of `test_that()`) ────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_med(d_fname, nThread = 2)) at test-convert_med.R:21:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_med(d_fname, nThread = 2) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-convert_notes.R:21:1'): (code run outside of `test_that()`) ──── Error in `1:max(which_rows[[x]])`: result would be too long a vector Backtrace: ▆ 1. ├─base::suppressMessages(load_notes(d_fname, type = "rad", nThread = 2)) at test-convert_notes.R:21:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_notes(d_fname, type = "rad", nThread = 2) 4. └─base::lapply(...) 5. └─parseRPDR (local) FUN(X[[i]], ...) 6. ├─base::paste(...) 7. └─base::paste(record[1:max(which_rows[[x]])], collapse = " ") ── Error ('test-convert_phy.R:21:1'): (code run outside of `test_that()`) ────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_phy(d_fname, nThread = 2)) at test-convert_phy.R:21:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_phy(d_fname, nThread = 2) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-convert_prc.R:21:1'): (code run outside of `test_that()`) ────── Error in `split.default(v, sort(rep_len(1:nThread, length(v))))`: first argument must be a vector Backtrace: ▆ 1. ├─base::suppressMessages(load_prc(d_fname, nThread = 2)) at test-convert_prc.R:21:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_prc(d_fname, nThread = 2) 4. └─base::lapply(...) 5. └─parseRPDR (local) FUN(X[[i]], ...) 6. ├─base::suppressMessages(...) 7. │ └─base::withCallingHandlers(...) 8. └─parseRPDR:::load_base(...) 9. └─parseRPDR::pretty_mrn(...) 10. ├─base::split(v, sort(rep_len(1:nThread, length(v)))) 11. └─base::split.default(v, sort(rep_len(1:nThread, length(v)))) ── Error ('test-convert_rfv.R:21:1'): (code run outside of `test_that()`) ────── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_rfv(d_fname, nThread = 2)) at test-convert_rfv.R:21:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_rfv(d_fname, nThread = 2) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-all_ids_mi2b2.R:20:1'): (code run outside of `test_that()`) ──── Error in `data.table::fread(file, showProgress = FALSE, colClasses = "character", nThread = nThread, fill = fill, sep = sep_load)`: input= must be a single character string containing a file name, a system command containing at least one space, a URL starting 'http[s]://', 'ftp[s]://' or 'file://', or, the input data itself containing at least one \n or \r Backtrace: ▆ 1. ├─base::suppressMessages(load_mrn(d_fname, nThread = 1)) at test-all_ids_mi2b2.R:20:1 2. │ └─base::withCallingHandlers(...) 3. └─parseRPDR::load_mrn(d_fname, nThread = 1) 4. └─parseRPDR:::load_base(...) 5. └─data.table::fread(...) ── Error ('test-export_notes.R:24:1'): (code run outside of `test_that()`) ───── Error in `if (length(res) == 0 || res == -1) { return(list(path = path, extension = "")) }`: missing value where TRUE/FALSE needed Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-export_notes.R:24:1 2. │ └─base::withCallingHandlers(...) 3. ├─parseRPDR::load_notes(...) 4. │ └─readr::read_lines(...) 5. │ └─vroom::vroom_lines(...) 6. │ └─vroom:::vroom_(...) 7. └─vroom (local) ``(NA_character_) 8. └─vroom:::split_path_ext(basename_utf8(path)) [ FAIL 33 | WARN 3 | SKIP 0 | PASS 66 ] Error: Test failures Execution halted * checking PDF version of manual ... [15s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR