CRAN Package Check Results for Package RStoolbox

Last updated on 2021-12-03 23:50:11 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.6 154.14 569.57 723.71 OK
r-devel-linux-x86_64-debian-gcc 0.2.6 112.19 417.67 529.86 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.6 999.47 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2.6 886.47 OK
r-devel-windows-x86_64-new-UL 0.2.6 209.00 623.00 832.00 OK
r-devel-windows-x86_64-new-TK 0.2.6 OK
r-devel-windows-x86_64-old 0.2.6 201.00 462.00 663.00 OK
r-patched-linux-x86_64 0.2.6 135.24 544.25 679.49 OK
r-release-linux-x86_64 0.2.6 130.70 541.70 672.40 OK
r-release-macos-arm64 0.2.6 NOTE
r-release-macos-x86_64 0.2.6 NOTE
r-release-windows-ix86+x86_64 0.2.6 369.00 995.00 1364.00 OK
r-oldrel-macos-x86_64 0.2.6 NOTE
r-oldrel-windows-ix86+x86_64 0.2.6 374.00 1021.00 1395.00 OK

Check Details

Version: 0.2.6
Check: tests
Result: ERROR
     Running ‘testthat.R’ [145s/317s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(RStoolbox)
     >
     >
     > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
     >
     > test_check("RStoolbox")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (11)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-sam.R:30:13): endmember class ───────────────────────────────────
     <Rcpp::not_compatible/C++Error/error/condition>
     Error in `specSimC(x = xi, em = emc)`: Not compatible with requested type: [type=list; target=double].
     Backtrace:
     █
     1. ├─testthat::expect_is(ls <- sam(lsat, sem_df, angles = TRUE), "RasterBrick") test-sam.R:30:12
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─RStoolbox::sam(lsat, sem_df, angles = TRUE)
     5. ├─raster::calc(...)
     6. └─raster::calc(...)
     7. └─raster:::.local(x, fun, ...)
     8. └─raster:::.calcTest(x[1:5], fun, na.rm, forcefun, forceapply)
     9. └─RStoolbox:::fun(tstdat)
     10. └─RStoolbox:::specSimC(x = xi, em = emc)
    
     [ FAIL 1 | WARN 41 | SKIP 11 | PASS 555 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.6
Check: installed package size
Result: NOTE
     installed size is 5.2Mb
     sub-directories of 1Mb or more:
     libs 3.7Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64