Last updated on 2025-04-10 08:59:04 CEST.
Package | ERROR | OK |
---|---|---|
ElevDistr | 2 | 12 |
Current CRAN status: ERROR: 2, OK: 12
Version: 1.0.9
Check: tests
Result: ERROR
Running ‘testthat.R’ [20s/41s]
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
Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64
Version: 1.0.9
Check: tests
Result: ERROR
Running ‘testthat.R’ [36s/59s]
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-release-linux-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.