CRAN Package Check Results for Package BIOMASS

Last updated on 2022-08-15 08:49:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.8 33.55 363.65 397.20 OK
r-devel-linux-x86_64-debian-gcc 2.1.8 27.13 260.14 287.27 OK
r-devel-linux-x86_64-fedora-clang 2.1.8 456.40 OK
r-devel-linux-x86_64-fedora-gcc 2.1.8 479.02 OK
r-devel-windows-x86_64 2.1.8 42.00 310.00 352.00 OK --no-vignettes
r-patched-linux-x86_64 2.1.8 31.73 335.19 366.92 OK
r-release-linux-x86_64 2.1.8 31.68 332.82 364.50 OK
r-release-macos-arm64 2.1.8 191.00 OK
r-release-macos-x86_64 2.1.8 155.00 OK
r-release-windows-x86_64 2.1.8 52.00 347.00 399.00 ERROR --no-vignettes
r-oldrel-macos-arm64 2.1.8 179.00 OK
r-oldrel-macos-x86_64 2.1.8 222.00 OK
r-oldrel-windows-ix86+x86_64 2.1.8 68.00 326.00 394.00 OK --no-vignettes

Check Details

Version: 2.1.8
Flags: --no-vignettes
Check: tests
Result: ERROR
     Running 'testthat.R' [83s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(BIOMASS)
     Using temporary cache
     It is recommended to use a permanent cache to avoid to re-download files on each session.
     See function createCache() or BIOMASS.cache option.
     >
     > test_check("BIOMASS")
     trying URL 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip'
     trying URL 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip'
     Content type 'application/zip' length 31208287 bytes (29.8 MB)
     ==================================================
     downloaded 29.8 MB
    
     [ FAIL 1 | WARN 9 | SKIP 0 | PASS 442 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_01_small_function.R:117:3): Michaelis function ──────────────────
     Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'raster': cannot open URL 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip'
     Backtrace:
     ▆
     1. ├─base::data.frame(H = retrieveH(D, coord = coord)$H, D = D) at test_01_small_function.R:117:2
     2. ├─BIOMASS::retrieveH(D, coord = coord)
     3. │ └─BIOMASS::computeE(coord)
     4. │ ├─raster::raster(cacheManager("E.bil"))
     5. │ └─BIOMASS::cacheManager("E.bil")
     6. │ └─utils::download.file(url, dest)
     7. └─base::.handleSimpleError(...)
     8. └─base (local) h(simpleError(msg, call))
    
     [ FAIL 1 | WARN 9 | SKIP 0 | PASS 442 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64