CRAN Package Check Results for Package oxcgrt

Last updated on 2021-06-22 01:49:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 4.50 100.32 104.82 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 3.65 75.91 79.56 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 126.52 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 121.70 OK
r-devel-windows-x86_64 0.1.0 8.00 135.00 143.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.1.0 ERROR
r-patched-linux-x86_64 0.1.0 4.57 96.73 101.30 OK
r-patched-solaris-x86 0.1.0 163.20 OK
r-release-linux-x86_64 0.1.0 3.79 94.18 97.97 OK
r-release-macos-arm64 0.1.0 OK
r-release-macos-x86_64 0.1.0 OK
r-release-windows-ix86+x86_64 0.1.0 12.00 148.00 160.00 OK
r-oldrel-macos-x86_64 0.1.0 OK

Check Details

Version: 0.1.0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: 'curl', 'covr', 'rvest'
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in 'oxcgrt-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: calculate_index
    > ### Title: Calculate an OxCGRT index or indices
    > ### Aliases: calculate_index calculate_gov_response
    > ### calculate_containment_health calculate_stringency
    > ### calculate_economic_support calculate_indices
    >
    > ### ** Examples
    >
    > ## Get policy actions data for Afghanistan on 1 September 2020
    > x <- get_data(json = get_json_actions(ccode = "AFG",
    + from = NULL,
    + to = "2020-09-01"))
    Error: Required package curl not found. Please run: install.packages('curl')
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'spelling.R'
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Last 13 lines of output:
     Backtrace:
     x
     1. +-json_time %>% get_data() test-get_data.R:7:0
     2. \-oxcgrt::get_data(.)
     3. \-jsonlite::fromJSON(txt = json, flatten = TRUE)
     4. \-jsonlite:::loadpkg("curl")
     5. \-base::tryCatch(...)
     6. \-base:::tryCatchList(expr, classes, parentenv, handlers)
     7. \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     8. \-value[[3L]](cond)
     9. \-jsonlite:::stop(...)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 19 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 0.1.0
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building 'calculate.Rmd' using rmarkdown
    Quitting from lines 37-60 (calculate.Rmd)
    Error: processing vignette 'calculate.Rmd' failed with diagnostics:
    there is no package called 'rvest'
    --- failed re-building 'calculate.Rmd'
    
    --- re-building 'retrieve.Rmd' using rmarkdown
    Quitting from lines 45-46 (retrieve.Rmd)
    Error: processing vignette 'retrieve.Rmd' failed with diagnostics:
    Required package curl not found. Please run: install.packages('curl')
    --- failed re-building 'retrieve.Rmd'
    
    SUMMARY: processing the following files failed:
     'calculate.Rmd' 'retrieve.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT