Last updated on 2024-10-06 01:50:05 CEST.
Package | ERROR | OK |
---|---|---|
ElevDistr | 9 | 4 |
Current CRAN status: ERROR: 9, OK: 4
Version: 1.0.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/13s]
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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.8
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘ElevDistr.Rmd’ using rmarkdown
Quitting from lines 38-45 [unnamed-chunk-5] (ElevDistr.Rmd)
Error: processing vignette 'ElevDistr.Rmd' failed with diagnostics:
[rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.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-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.0.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/6s]
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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/17s]
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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.8
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘ElevDistr.Rmd’ using rmarkdown
Quitting from lines 38-45 [unnamed-chunk-5] (ElevDistr.Rmd)
Error: processing vignette 'ElevDistr.Rmd' failed with diagnostics:
[rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.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-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 1.0.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.0.8
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.0.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/11s]
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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.0.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/10s]
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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.0.8
Check: tests
Result: ERROR
Running 'testthat.R' [6s]
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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.0.8
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
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 6 | WARN 6 | SKIP 0 | PASS 37 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-calculate_distance.R:5:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-calculate_distance.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-classify_above_treeline.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-classify_above_treeline.R:3:1
2. └─terra::rast(gstURL, 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:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-distance_to_treeline.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:3:1'): (code run outside of `test_that()`) ──
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-generate_point_df.R:3:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-plot_distr.R:6:1'): (code run outside of `test_that()`) ────────
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-plot_distr.R:6:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
── Error ('test-sample_treeline.R:5:1'): (code run outside of `test_that()`) ───
Error: [rast] file does not exist: /vsicurl/https://os.zhdk.cloud.switch.ch/envicloud/chelsa/chelsa_V2/GLOBAL/climatologies/1981-2010/bio/CHELSA_gst_1981-2010_V.2.1.tif
Backtrace:
▆
1. ├─terra::rast(gstURL, vsi = TRUE) at test-sample_treeline.R:5:1
2. └─terra::rast(gstURL, vsi = TRUE)
3. └─terra (local) .local(x, ...)
4. └─terra:::messages(r, "rast")
5. └─terra:::error(f, x@ptr$getError())
[ FAIL 6 | WARN 6 | SKIP 0 | PASS 37 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64