Last updated on 2025-04-25 03:51:05 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.2.3 | 32.60 | 280.13 | 312.73 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.2.3 | 19.25 | 179.71 | 198.96 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.2.3 | 500.06 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.2.3 | 481.19 | OK | |||
r-devel-windows-x86_64 | 0.2.3 | 28.00 | 211.00 | 239.00 | ERROR | |
r-patched-linux-x86_64 | 0.2.3 | 30.59 | 263.14 | 293.73 | OK | |
r-release-linux-x86_64 | 0.2.3 | 28.54 | 264.04 | 292.58 | OK | |
r-release-macos-arm64 | 0.2.3 | 112.00 | OK | |||
r-release-macos-x86_64 | 0.2.3 | 181.00 | OK | |||
r-release-windows-x86_64 | 0.2.3 | 30.00 | 217.00 | 247.00 | OK | |
r-oldrel-macos-arm64 | 0.2.3 | 105.00 | OK | |||
r-oldrel-macos-x86_64 | 0.2.3 | 194.00 | OK | |||
r-oldrel-windows-x86_64 | 0.2.3 | 39.00 | 299.00 | 338.00 | OK |
Version: 0.2.3
Check: tests
Result: ERROR
Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> suppressPackageStartupMessages(library(prism))
>
> test_check("prism")
***************************************
make sure you run this 2x or less in any given day!!!!
****************************************
|
| | 0%
|
|=================================== | 50%
|
|======================================================================| 100%
[ FAIL 5 | WARN 5 | SKIP 7 | PASS 170 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• On CRAN (7): 'test-files_download.R:22:3', 'test-files_download.R:125:3',
'test-files_download.R:189:3', 'test-files_download.R:263:3',
'test-files_download.R:329:3', 'test-files_download.R:354:3',
'test-prism_archive_ls.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-pd_image.R:2:3'): `pd_image()` works ───────────────────────────
Error in `.rasterObjectFromFile(x, band = band, objecttype = "RasterLayer",
...)`: Cannot create a RasterLayer object from this file.
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-pd_image.R:2:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─prism::pd_image("PRISM_ppt_stable_4kmD2_19910101_bil")
5. ├─raster::raster(prismfile)
6. └─raster::raster(prismfile)
7. └─raster (local) .local(x, ...)
8. └─raster:::.rasterObjectFromFile(...)
── Error ('test-pd_plot_slice.R:4:3'): pd_plot_slice() works ───────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'stack': Cannot create a RasterLayer object from this file.
Backtrace:
▆
1. ├─testthat::expect_s3_class(...) at test-pd_plot_slice.R:4:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─prism::pd_plot_slice(...)
5. │ └─prism::pd_stack(pd)
6. │ ├─raster::stack(raster::raster(prismfile_fp[1]))
7. │ ├─raster::raster(prismfile_fp[1])
8. │ └─raster::raster(prismfile_fp[1])
9. │ └─raster (local) .local(x, ...)
10. │ └─raster:::.rasterObjectFromFile(...)
11. │ └─base::stop("Cannot create a RasterLayer object from this file.")
12. └─base::.handleSimpleError(...)
13. └─base (local) h(simpleError(msg, call))
── Error ('test-pd_stack.R:4:3'): pd_stack() works ─────────────────────────────
Error in `h(simpleError(msg, call))`: error in evaluating the argument 'x' in selecting a method for function 'stack': Cannot create a RasterLayer object from this file.
Backtrace:
▆
1. ├─testthat::expect_s4_class(x <- pd_stack(dd), "RasterStack") at test-pd_stack.R:4:3
2. │ └─testthat::quasi_label(enquo(object), arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─prism::pd_stack(dd)
5. │ ├─raster::stack(raster::raster(prismfile_fp[1]))
6. │ ├─raster::raster(prismfile_fp[1])
7. │ └─raster::raster(prismfile_fp[1])
8. │ └─raster (local) .local(x, ...)
9. │ └─raster:::.rasterObjectFromFile(...)
10. │ └─base::stop("Cannot create a RasterLayer object from this file.")
11. └─base::.handleSimpleError(...)
12. └─base (local) h(simpleError(msg, call))
── Failure ('test-prism_archive_verify.R:6:3'): corrupt file is found ──────────
expect_warning(...) not equal to "PRISM_ppt_stable_4kmD2_20120101_bil".
Lengths differ: 3 is not 1
── Failure ('test-prism_archive_verify.R:13:3'): returns true when all valid ───
prism_archive_verify("tmin", "daily") is not TRUE
`actual` is a character vector ('PRISM_tmin_stable_4kmD2_19810101_bil', 'PRISM_tmin_stable_4kmD2_20110615_bil')
`expected` is a logical vector (TRUE)
[ FAIL 5 | WARN 5 | SKIP 7 | PASS 170 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64