Last updated on 2023-09-19 05:58:13 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 2.1.9 | 39.71 | 392.18 | 431.89 | OK | |
r-devel-linux-x86_64-debian-gcc | 2.1.9 | 27.13 | 279.29 | 306.42 | OK | |
r-devel-linux-x86_64-fedora-clang | 2.1.9 | 504.40 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 2.1.9 | 541.40 | OK | |||
r-devel-windows-x86_64 | 2.1.9 | 27.00 | 233.00 | 260.00 | OK | --no-vignettes |
r-patched-linux-x86_64 | 2.1.9 | 27.03 | 366.30 | 393.33 | OK | |
r-release-linux-x86_64 | 2.1.9 | 38.37 | 370.89 | 409.26 | OK | |
r-release-macos-arm64 | 2.1.9 | 172.00 | OK | |||
r-release-macos-x86_64 | 2.1.9 | 375.00 | OK | |||
r-release-windows-x86_64 | 2.1.9 | 39.00 | 297.00 | 336.00 | OK | --no-vignettes |
r-oldrel-macos-arm64 | 2.1.9 | 160.00 | OK | |||
r-oldrel-macos-x86_64 | 2.1.9 | 270.00 | OK | |||
r-oldrel-windows-x86_64 | 2.1.9 | 39.00 | 395.00 | 434.00 | ERROR | --no-vignettes |
Version: 2.1.9
Flags: --no-vignettes
Check: tests
Result: ERROR
Running 'testthat.R' [138s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(BIOMASS)
The legacy packages maptools, rgdal, and rgeos, underpinning the sp package,
which was just loaded, will retire in October 2023.
Please refer to R-spatial evolution reports for details, especially
https://r-spatial.org/r/2023/05/15/evolution4.html.
It may be desirable to make the sf package available;
package maintainers should consider adding sf to Suggests:.
The sp package is now running under evolution status 2
(status 2 uses the sf package in place of rgdal)
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")
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
pj_obj_create: Cannot find proj.db
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 25.6 MB
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 2.2 MB
pj_obj_create: Cannot find proj.db
[ FAIL 2 | WARN 25 | SKIP 21 | PASS 188 ]
══ Skipped tests (21) ══════════════════════════════════════════════════════════
• On CRAN (21): 'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7',
'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7',
'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7', 'test_00_modelHD.R:15:7',
'test_00_modelHD.R:49:3', 'test_00_modelHD.R:57:3', 'test_00_modelHD.R:75:3',
'test_02_getWoodDensity.R:13:5', 'test_02_getWoodDensity.R:66:5',
'test_03_AGBmonteCarlo.R:23:3', 'test_03_AGBmonteCarlo.R:104:3',
'test_03_AGBmonteCarlo.R:128:3', 'test_03_AGBmonteCarlo.R:176:3',
'test_03_AGBmonteCarlo.R:203:3', 'test_03_AGBmonteCarlo.R:227:3',
'test_03_AGBmonteCarlo.R:253:3', 'test_03_AGBmonteCarlo.R:280:3'
══ 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': download from 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip' failed
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))
── Error ('test_01_small_function.R:124:3'): Weibull function ──────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'raster': download from 'https://github.com/umr-amap/BIOMASS/raw/master/data-raw/climate_variable/E.zip' failed
Backtrace:
▆
1. ├─base::data.frame(H = retrieveH(D, coord = coord)$H, D = D) at test_01_small_function.R:124: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 2 | WARN 25 | SKIP 21 | PASS 188 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64