Last updated on 2022-08-15 08:50:30 CEST.
Package | ERROR | OK |
---|---|---|
BIOMASS | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
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