* using log directory 'd:/Rcompile/CRANpkg/local/4.4/medrxivr.Rcheck' * using R version 4.4.2 (2024-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'medrxivr/DESCRIPTION' ... OK * this is package 'medrxivr' version '0.1.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 'medrxivr' 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] 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 ... [3s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [1s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [71s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [70s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(medrxivr) > > test_check("medrxivr") [ FAIL 1 | WARN 3 | SKIP 14 | PASS 18 ] ══ Skipped tests (14) ══════════════════════════════════════════════════════════ • On CRAN (14): 'test-api.R:2:3', 'test-api.R:31:3', 'test-api.R:44:3', 'test-api.R:51:3', 'test-crosscheck.R:2:3', 'test-download.R:2:3', 'test-download.R:16:3', 'test-download.R:22:3', 'test-download.R:28:3', 'test-download.R:44:3', 'test-export.R:13:3', 'test-export.R:19:3', 'test-helpers.R:2:3', 'test-helpers.R:16:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-search.R:7:1'): (code run outside of `test_that()`) ──────────── Error in `download.file(file, tmpFile, method = method, mode = "wb", quiet = !showProgress)`: download from 'https://raw.githubusercontent.com//mcguinlu/medrxivr-data/6c4056d2cccd6031d92ee4269b1785c6ec4d555b/snapshot.csv' failed Backtrace: ▆ 1. └─medrxivr::mx_snapshot("6c4056d2cccd6031d92ee4269b1785c6ec4d555b") at test-search.R:7:1 2. ├─base::suppressMessages(...) 3. │ └─base::withCallingHandlers(...) 4. └─data.table::fread(...) 5. └─utils::download.file(...) [ FAIL 1 | WARN 3 | SKIP 14 | PASS 18 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [3s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR