CRAN Package Check Results for Package rasterpic

Last updated on 2023-02-02 11:54:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 2.31 79.30 81.61 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 1.91 57.74 59.65 OK
r-devel-linux-x86_64-fedora-clang 0.2.1 96.22 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 105.26 OK
r-devel-windows-x86_64 0.2.1 16.00 111.00 127.00 ERROR
r-patched-linux-x86_64 0.2.1 2.70 73.26 75.96 OK
r-release-linux-x86_64 0.2.1 2.10 77.00 79.10 OK
r-release-macos-arm64 0.2.1 36.00 OK
r-release-macos-x86_64 0.2.1 42.00 OK
r-release-windows-x86_64 0.2.1 13.00 116.00 129.00 OK
r-oldrel-macos-arm64 0.2.1 27.00 OK
r-oldrel-macos-x86_64 0.2.1 43.00 OK
r-oldrel-windows-ix86+x86_64 0.2.1 7.00 110.00 117.00 OK

Check Details

Version: 0.2.1
Check: tests
Result: ERROR
     Running 'testthat.R' [26s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(rasterpic)
     >
     > test_check("rasterpic")
     'crs' is NA.
     'mask' only available when 'x' is an 'sf/sfc/SpatVector' object
     'mask' only available when 'x' is an 'sf/sfc/SpatVector' object
     'mask' only available when 'x' is an 'sf/sfc/SpatVector' object
     'crs' is NA.
     'crs' is NA.
     'crs' is NA.
     'mask' only available when 'x' is an 'sf/sfc/SpatVector' object
     [ FAIL 1 | WARN 0 | SKIP 26 | PASS 256 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (26)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-fileformat.R:91'): Test all image formats with a raster ────────
     <std::bad_alloc/C++Error/error/condition>
     Error: std::bad_alloc
     Backtrace:
     ▆
     1. └─rasterpic::rasterpic_img(x, file) at test-fileformat.R:91:4
     2. └─rasterpic:::rpic_read(img, crs)
     3. ├─terra::rast(pngfile)
     4. └─terra::rast(pngfile)
     5. └─terra (local) .local(x, ...)
     6. ├─terra::`values<-`(`*tmp*`, value = `<dbl[,250,3]>`)
     7. └─terra::`values<-`(`*tmp*`, value = `<dbl[,250,3]>`)
     8. ├─terra::setValues(x, value, keepnames = TRUE)
     9. └─terra::setValues(x, value, keepnames = TRUE)
     10. └─terra (local) .local(x, values, ...)
     11. └─y@ptr$setValues(values, opt)
    
     [ FAIL 1 | WARN 0 | SKIP 26 | PASS 256 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64