Last updated on 2025-09-13 00:51:21 CEST.
Package | ERROR | OK |
---|---|---|
ElevDistr | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.0.9
Check: tests
Result: ERROR
Running ‘testthat.R’ [20s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(ElevDistr)
>
> test_check("ElevDistr")
[ FAIL 2 | WARN 2 | SKIP 0 | PASS 109 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:9:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://edcintl.cr.usgs.gov/downloads/sciweb1/shared/topo/downloads/GMTED/Global_tiles_GMTED/300darcsec/med/E000/30N000E_20101117_gmted_med300.tif
Backtrace:
▆
1. ├─terra::rast(gmted2010URL, vsi = TRUE) at test-calculate_distance.R:9:1
2. └─terra::rast(gmted2010URL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@pntr$getError())
── Error ('test-distance_to_treeline.R:7:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://edcintl.cr.usgs.gov/downloads/sciweb1/shared/topo/downloads/GMTED/Global_tiles_GMTED/300darcsec/med/E000/30N000E_20101117_gmted_med300.tif
Backtrace:
▆
1. ├─terra::rast(gmted2010URL, vsi = TRUE) at test-distance_to_treeline.R:7:1
2. └─terra::rast(gmted2010URL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@pntr$getError())
[ FAIL 2 | WARN 2 | SKIP 0 | PASS 109 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.9
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ElevDistr.Rmd’ using rmarkdown
Quitting from ElevDistr.Rmd:55-60 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! [rast] file does not exist: /vsicurl/https://edcintl.cr.usgs.gov/downloads/sciweb1/shared/topo/downloads/GMTED/Global_tiles_GMTED/300darcsec/med/E000/30N000E_20101117_gmted_med300.tif
---
Backtrace:
▆
1. ├─terra::rast(gmted2010URL, vsi = TRUE)
2. └─terra::rast(gmted2010URL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@pntr$getError())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ElevDistr.Rmd' failed with diagnostics:
[rast] file does not exist: /vsicurl/https://edcintl.cr.usgs.gov/downloads/sciweb1/shared/topo/downloads/GMTED/Global_tiles_GMTED/300darcsec/med/E000/30N000E_20101117_gmted_med300.tif
--- failed re-building ‘ElevDistr.Rmd’
SUMMARY: processing the following file failed:
‘ElevDistr.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.9
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'ElevDistr.Rmd' using rmarkdown
Quitting from ElevDistr.Rmd:103-107 [unnamed-chunk-10]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! 500 - Server error
---
Backtrace:
▆
1. └─rgbif::occ_data(...)
2. └─base::lapply(...)
3. └─rgbif (local) FUN(X[[i]], ...)
4. └─rgbif:::gbif_GET(url, args, TRUE, curlopts)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'ElevDistr.Rmd' failed with diagnostics:
500 - Server error
--- failed re-building 'ElevDistr.Rmd'
SUMMARY: processing the following file failed:
'ElevDistr.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-windows-x86_64