CRAN Package Check Results for Package GSODR

Last updated on 2021-01-20 07:49:12 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.2 3.27 39.86 43.13 OK
r-devel-linux-x86_64-debian-gcc 2.1.2 2.07 30.21 32.28 OK
r-devel-linux-x86_64-fedora-clang 2.1.2 63.72 OK
r-devel-linux-x86_64-fedora-gcc 2.1.2 50.08 OK
r-devel-windows-ix86+x86_64 2.1.2 5.00 45.00 50.00 OK
r-patched-linux-x86_64 2.1.2 3.06 37.20 40.26 OK
r-patched-solaris-x86 2.1.2 69.90 ERROR
r-release-linux-x86_64 2.1.2 3.16 37.56 40.72 OK
r-release-macos-x86_64 2.1.2 OK
r-release-windows-ix86+x86_64 2.1.2 6.00 53.00 59.00 OK
r-oldrel-macos-x86_64 2.1.2 OK
r-oldrel-windows-ix86+x86_64 2.1.2 4.00 44.00 48.00 OK

Check Details

Version: 2.1.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [8s/25s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(GSODR)
     >
     > test_check("GSODR")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     ● On CRAN (9)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-get_GSOD.R:126:3): The 'max_missing' parameter filters out improper stations ──
     `get_GSOD(years = 1929, max_missing = 1)` threw an error with unexpected message.
     Expected match: "There were no stations that had a max of."
     Actual message: "\nThe file downloads have failed. Please restart.\n"
     Backtrace:
     █
     1. ├─testthat::expect_error(...) test-get_GSOD.R:126:2
     2. │ └─testthat:::quasi_capture(...)
     3. │ ├─testthat:::.capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. └─GSODR::get_GSOD(years = 1929, max_missing = 1)
     7. └─GSODR:::.download_files(station, years)
     8. └─base::tryCatch(...)
     9. └─base:::tryCatchList(expr, classes, parentenv, handlers)
     10. └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
     11. └─value[[3L]](cond)
    
     [ FAIL 1 | WARN 0 | SKIP 9 | PASS 32 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86