CRAN Package Check Results for Package ElevDistr

Last updated on 2024-10-05 01:49:13 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.8 2.42 48.85 51.27 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.8 2.52 33.02 35.54 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.8 84.15 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.8 103.88 ERROR
r-devel-windows-x86_64 1.0.8 5.00 66.00 71.00 ERROR
r-patched-linux-x86_64 1.0.8 3.25 45.62 48.87 ERROR
r-release-linux-x86_64 1.0.8 3.12 44.69 47.81 ERROR
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 5.00 65.00 70.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 6.00 75.00 81.00 ERROR

Check Details

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/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: 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/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 Flavors: r-patched-linux-x86_64, 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