* using log directory ‘/data/gannet/ripley/R/packages/tests-MKL/oxcgrt.Rcheck’ * using R Under development (unstable) (2022-03-07 r81852) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘oxcgrt/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘oxcgrt’ version ‘0.1.0’ * 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 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 ‘oxcgrt’ can be installed ... 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 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 ... [10s/15s] 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 contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... 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 ... [6s/18s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘spelling.R’ Running ‘testthat.R’ [5s/15s] [6s/16s] ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(oxcgrt) > > test_check("oxcgrt") [ FAIL 1 | WARN 2 | SKIP 0 | PASS 25 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error (test-get_data.R:39:1): (code run outside of `test_that()`) ─────────── Error in `open.connection(con, "rb")`: Could not resolve host: covidtrackerapi.bsg.ox.ac.uk Backtrace: ▆ 1. ├─json_action %>% get_data_actions() at test-get_data.R:39:0 2. ├─oxcgrt::get_data_actions(.) 3. │ ├─lapply(X = json, FUN = get_data_action) %>% dplyr::bind_rows() 4. │ └─base::lapply(X = json, FUN = get_data_action) 5. │ └─oxcgrt FUN(X[[i]], ...) 6. │ └─jsonlite::fromJSON(txt = json, flatten = TRUE) 7. │ └─jsonlite:::parse_and_simplify(...) 8. │ └─jsonlite:::parseJSON(txt, bigint_as_char) 9. │ └─jsonlite:::parse_con(txt, bigint_as_char) 10. │ ├─base::open(con, "rb") 11. │ └─base::open.connection(con, "rb") 12. └─dplyr::bind_rows(.) 13. └─rlang::list2(...) [ FAIL 1 | WARN 2 | SKIP 0 | PASS 25 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking re-building of vignette outputs ... [93s/210s] ERROR Error(s) in re-building vignettes: --- re-building ‘calculate.Rmd’ using rmarkdown Warning: `xml_nodes()` was deprecated in rvest 1.0.0. Please use `html_elements()` instead. This warning is displayed once every 8 hours. Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated. --- finished re-building ‘calculate.Rmd’ --- re-building ‘retrieve.Rmd’ using rmarkdown Quitting from lines 126-130 (retrieve.Rmd) Error: processing vignette 'retrieve.Rmd' failed with diagnostics: no applicable method for 'mutate' applied to an object of class "NULL" --- failed re-building ‘retrieve.Rmd’ SUMMARY: processing the following file failed: ‘retrieve.Rmd’ Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/gannet/ripley/R/packages/tests-MKL/oxcgrt.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 5:40.39, 157.74 + 13.14