* using log directory 'd:/Rcompile/CRANpkg/local/4.3/cvap.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * 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 'cvap/DESCRIPTION' ... OK * this is package 'cvap' version '0.1.5' * 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 'cvap' can be installed ... OK * checking installed package size ... OK * checking package 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 R 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 ... [0s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [2s] ERROR Running examples in 'cvap-Ex.R' failed The error most likely occurred in: > ### Name: cvap_distribute > ### Title: Estimate CVAP at the Block Level > ### Aliases: cvap_distribute > > ### ** Examples > > ## Not run: > ##D # Requires API set up with tidycensus > ##D state <- 'DE' > ##D cvap <- cvap_get(state, year = 2019) > ##D de_block <- censable::build_dec(geography = 'block', > ##D state = state, year = 2010, geometry = FALSE) > ## End(Not run) > # Alternatively, using example data > state <- 'DE' > cvap <- cvap_get(state, year = 2019) trying URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds' Warning in utils::download.file(url, out_file) : URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds': status was 'SSL connect error' Error in utils::download.file(url, out_file) : cannot open URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds' Calls: cvap_get -> Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [2s] ERROR Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(cvap) > > test_check("cvap") trying URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds' Error in `FUN()`: ! In path: "D:\\RCompile\\CRANpkg\\local\\4.3\\cvap.Rcheck\\tests\\testthat\\setup.R" Caused by error in `utils::download.file()`: ! cannot open URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds' Backtrace: ▆ 1. ├─testthat::test_check("cvap") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─cvap::cvap_get(state, year = 2019) at D:\RCompile\CRANpkg\local\4.3\cvap.Rcheck\tests\testthat\setup.R:2:1 15. │ └─utils::download.file(url, out_file) 16. └─base::.handleSimpleError(...) 17. └─testthat (local) h(simpleError(msg, call)) 18. └─rlang::abort(...) Warning message: In utils::download.file(url, out_file) : URL 'https://github.com/christopherkenny/cvap_data/raw/main/DE/blockgr_2019.rds': status was 'SSL connect error' Execution halted * checking PDF version of manual ... [16s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 2 ERRORs