- using R Under development (unstable) (2024-10-01 r87205)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 19.1.1
flang-new version 19.1.1
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘CoronaNetR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘CoronaNetR’ version ‘0.3.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 ‘CoronaNetR’ can be installed ... OK
See the install log for details.
- 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 ... 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 ... NOTE
Namespace in Imports field not imported from: ‘readr’
All declared Imports should be used.
- 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 ... NOTE
checkRd: (-1) get_policy_scores.Rd:63: Lost braces
63 | \code{low_estimate}\\code{high_estimate} columns. The \code{SD_estimate} column has the standard deviation of the
| ^
- 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... ERROR
Running examples in ‘CoronaNetR-Ex.R’ failed
The error most likely occurred in:
> ### Name: get_event
> ### Title: Access CoronaNet Event Data API
> ### Aliases: get_event
>
> ### ** Examples
>
> # Grab all data for Saudi Arabia from first 4 months of pandemic
>
> saudi_data <- get_event(countries = "Saudi Arabia", type = "All",
+ type_sub_cat = "All", from = "2019-12-31", to = "2020-04-30")
Error in curl::curl_fetch_memory(url, handle = handle) :
Could not resolve host: postgrest-588174062.us-east-2.elb.amazonaws.com
Calls: get_event ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... ERROR
Error(s) in re-building vignettes:
--- re-building ‘Introduction.Rmd’ using rmarkdown
Quitting from lines 55-56 [unnamed-chunk-1] (Introduction.Rmd)
Error: processing vignette 'Introduction.Rmd' failed with diagnostics:
Could not resolve host: postgrest-588174062.us-east-2.elb.amazonaws.com
--- failed re-building ‘Introduction.Rmd’
SUMMARY: processing the following file failed:
‘Introduction.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [6s/11s] OK
- checking HTML 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, 2 NOTEs