Last updated on 2024-09-09 22:48:47 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.8 | 3.49 | 82.55 | 86.04 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.0.8 | 2.42 | 55.39 | 57.81 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.8 | 141.63 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.8 | 149.87 | OK | |||
r-devel-windows-x86_64 | 1.0.8 | 4.00 | 118.00 | 122.00 | ERROR | |
r-patched-linux-x86_64 | 1.0.8 | 2.48 | 77.62 | 80.10 | OK | |
r-release-linux-x86_64 | 1.0.8 | 3.27 | 45.02 | 48.29 | 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 | 64.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 | 91.00 | 98.00 | ERROR |
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: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'ElevDistr.Rmd' using rmarkdown
Quitting from lines 127-148 [unnamed-chunk-15] (ElevDistr.Rmd)
Error: processing vignette 'ElevDistr.Rmd' failed with diagnostics:
[extract] cannot read values
--- failed re-building 'ElevDistr.Rmd'
SUMMARY: processing the following file failed:
'ElevDistr.Rmd'
Error: Vignette re-building failed.
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-release-linux-x86_64
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 48-52 [unnamed-chunk-6] (ElevDistr.Rmd)
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
Flavor: r-release-linux-x86_64
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-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 1.0.8
Check: tests
Result: ERROR
Running 'testthat.R' [26s]
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")
|
| | 0%
|
|============================================================| 100%
|
| | 0%
|
|============================================================| 100%
|
| | 0%
|
|============================================================| 100%
|
| | 0%
|
|==================== | 33%
|
|======================================== | 67%
|
|============================================================| 100%
[ FAIL 2 | WARN 22 | SKIP 0 | PASS 159 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-classify_above_treeline.R:8:3'): output type is correct ────────
Error: [extract] cannot read values
Backtrace:
▆
1. └─ElevDistr::classify_above_treeline(point, gst, gsl, 6.4, 94) at test-classify_above_treeline.R:8:3
2. ├─base::cbind(...)
3. │ └─base::cbind(deparse.level, ...)
4. │ └─base::data.frame(..., check.names = FALSE)
5. ├─terra::extract(gstRaster, coords[, 1:2])
6. └─terra::extract(gstRaster, coords[, 1:2])
7. ├─terra::extract(x, v, ...)
8. └─terra::extract(x, v, ...)
9. └─terra (local) .local(x, y, ...)
10. └─terra:::messages(x, "extract")
11. └─terra:::error(f, x@ptr$getError())
── Error ('test-generate_point_df.R:7:3'): output type is correct ──────────────
Error: [extract] cannot read values
Backtrace:
▆
1. └─ElevDistr::generate_point_df(gst, gsl, 10, 6.4, 94) at test-generate_point_df.R:7:3
2. ├─terra::extract(gstRaster, point)
3. └─terra::extract(gstRaster, point)
4. ├─terra::extract(x, v, ...)
5. └─terra::extract(x, v, ...)
6. └─terra (local) .local(x, y, ...)
7. └─terra:::messages(x, "extract")
8. └─terra:::error(f, x@ptr$getError())
[ FAIL 2 | WARN 22 | SKIP 0 | PASS 159 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64