CRAN Package Check Results for Package nhdR

Last updated on 2021-06-28 08:50:13 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.5 10.72 98.40 109.12 OK
r-devel-linux-x86_64-debian-gcc 0.5.5 8.10 73.21 81.31 OK
r-devel-linux-x86_64-fedora-clang 0.5.5 137.15 OK
r-devel-linux-x86_64-fedora-gcc 0.5.5 127.50 OK
r-devel-windows-x86_64 0.5.5 16.00 95.00 111.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.5.5 OK
r-patched-linux-x86_64 0.5.5 9.10 91.43 100.53 OK
r-patched-solaris-x86 0.5.5 212.00 ERROR
r-release-linux-x86_64 0.5.5 8.90 90.96 99.86 OK
r-release-macos-arm64 0.5.5 OK
r-release-macos-x86_64 0.5.5 OK
r-release-windows-ix86+x86_64 0.5.5 17.00 90.00 107.00 OK
r-oldrel-macos-x86_64 0.5.5 OK
r-oldrel-windows-ix86+x86_64 0.5.5 23.00 109.00 132.00 OK

Check Details

Version: 0.5.5
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > # library(s2)
     > # sf::sf_use_s2(TRUE)
     > library(nhdR)
     Loading required package: maps
     Loading required namespace: digest
     >
     > test_check("nhdR")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (16)
     • This test is very long-running. Probably only suitable for manual execution. (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-utils.R:10:3): find_vpu works with character vpus ───────────────
     Error: OGRCreateCoordinateTransformation() returned NULL: PROJ available?
     Backtrace:
     █
     1. ├─testthat::expect_equal(nhdR:::find_vpu(pnt), "03S") test-utils.R:10:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─nhdR:::find_vpu(pnt)
     5. ├─sf::st_transform(pnt, sf::st_crs(nhdR::vpu_shp))
     6. └─sf:::st_transform.sfc(pnt, sf::st_crs(nhdR::vpu_shp))
     7. ├─sf::st_sfc(...)
     8. ├─base::structure(...)
     9. └─sf:::CPL_transform(...)
     ── Error (test-utils.R:16:3): find_vpu works with numeric vpus ─────────────────
     Error: OGRCreateCoordinateTransformation() returned NULL: PROJ available?
     Backtrace:
     █
     1. ├─testthat::expect_equal(nhdR:::find_vpu(pnt), "01") test-utils.R:16:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─nhdR:::find_vpu(pnt)
     5. ├─sf::st_transform(pnt, sf::st_crs(nhdR::vpu_shp))
     6. └─sf:::st_transform.sfc(pnt, sf::st_crs(nhdR::vpu_shp))
     7. ├─sf::st_sfc(...)
     8. ├─base::structure(...)
     9. └─sf:::CPL_transform(...)
    
     [ FAIL 2 | WARN 2 | SKIP 17 | PASS 3 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86