Last updated on 2025-02-16 10:51:13 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
ads | 3 | 12 | |
BIOMASS | 2 | 13 |
Current CRAN status: NOTE: 3, OK: 12
Version: 1.5-10
Check: Rd cross-references
Result: NOTE
Found the following Rd file(s) with Rd \link{} targets missing package
anchors:
kdfun.Rd: divc
krfun.Rd: divc
Please provide package anchors for all Rd \link{} targets not in the
package itself and the base packages.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64
Current CRAN status: ERROR: 2, OK: 13
Version: 2.1.12
Check: package dependencies
Result: ERROR
Package required but not available: ‘terra’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-devel-macos-arm64
Version: 2.1.12
Flags: --no-vignettes
Check: tests
Result: ERROR
Running 'testthat.R' [71s]
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")
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 15.8 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 29.8 MB
pj_obj_create: Cannot find proj.db
[ FAIL 1 | WARN 23 | SKIP 21 | PASS 189 ]
══ 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 'rast': 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:3
2. ├─BIOMASS::retrieveH(D, coord = coord)
3. │ └─BIOMASS::computeE(coord)
4. │ ├─terra::rast(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 23 | SKIP 21 | PASS 189 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.