Last updated on 2024-06-04 07:55:41 CEST.
Package | ERROR | OK |
---|---|---|
ElevDistr | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [10s/558s]
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@ptr$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@ptr$getError())
[ FAIL 2 | WARN 2 | SKIP 0 | PASS 109 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc