CRAN Package Check Results for Package ElevDistr

Last updated on 2024-09-29 03:51:13 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.8 3.37 82.84 86.21 OK
r-devel-linux-x86_64-debian-gcc 1.0.8 2.51 33.47 35.98 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.8 86.64 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.8 103.88 ERROR
r-devel-windows-x86_64 1.0.8 5.00 64.00 69.00 ERROR
r-patched-linux-x86_64 1.0.8 ERROR
r-release-linux-x86_64 1.0.8 3.40 78.51 81.91 OK
r-release-macos-arm64 1.0.8 201.00 OK
r-release-macos-x86_64 1.0.8 241.00 OK
r-release-windows-x86_64 1.0.8 4.00 65.00 69.00 ERROR
r-oldrel-macos-arm64 1.0.8 183.00 OK
r-oldrel-macos-x86_64 1.0.8 237.00 OK
r-oldrel-windows-x86_64 1.0.8 7.00 73.00 80.00 ERROR

Check Details

Version: 1.0.8
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/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-linux-x86_64-debian-gcc

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-gcc, r-patched-linux-x86_64

Version: 1.0.8
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/18s] 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 Flavors: r-devel-windows-x86_64, r-release-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' [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