* using log directory ‘/Users/ripley/R/packages/tests-devel/hail.Rcheck’ * using R Under development (unstable) (2021-07-24 r80660) * using platform: aarch64-apple-darwin20.6.0 (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘hail/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘hail’ version ‘0.1.1’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘hail’ 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 ... 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 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 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 ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in ‘hail-Ex.R’ failed The error most likely occurred in: > ### Name: hail_hydra > ### Title: Read HYDRA data > ### Aliases: hail_hydra > > ### ** Examples > > # Simple exmaple > walmart_data <- hail_hydra("Walmart Eco Roof") Warning in file(con, "r") : URL 'https://or.water.usgs.gov/precip/walmart_ecoroof.rain': status was 'SSL peer certificate or SSH remote key was not OK' Error in file(con, "r") : cannot open the connection to 'https://or.water.usgs.gov/precip/walmart_ecoroof.rain' Calls: hail_hydra -> hydra_base -> readLines -> file Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(hail) > > test_check("hail") ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test.R:4:3): hail_hydra works ──────────────────────────────────────── Error: cannot open the connection to 'https://or.water.usgs.gov/precip/walmart_ecoroof.rain' Backtrace: █ 1. └─hail::hail_hydra("Walmart Eco Roof") test.R:4:2 2. └─hail:::hydra_base(station_data$urls, station_data$stations) 3. └─base::readLines(url) 4. └─base::file(con, "r") [ FAIL 1 | WARN 1 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/Users/ripley/R/packages/tests-devel/hail.Rcheck/00check.log’ for details. 16.96 real 7.78 user 3.25 sys