CRAN Package Check Results for Package crimedata

Last updated on 2021-09-25 09:53:47 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 8.68 71.28 79.96 OK
r-devel-linux-x86_64-debian-gcc 0.2.0 7.16 53.94 61.10 OK
r-devel-linux-x86_64-fedora-clang 0.2.0 104.61 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 92.37 OK
r-devel-windows-x86_64 0.2.0 8.00 109.00 117.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.2.0 ERROR
r-patched-linux-x86_64 0.2.0 7.57 66.52 74.09 OK
r-patched-solaris-x86 0.2.0 164.90 OK
r-release-linux-x86_64 0.2.0 6.12 66.47 72.59 OK
r-release-macos-arm64 0.2.0 OK
r-release-macos-x86_64 0.2.0 OK
r-release-windows-ix86+x86_64 0.2.0 19.00 113.00 132.00 OK
r-oldrel-macos-x86_64 0.2.0 OK
r-oldrel-windows-ix86+x86_64 0.2.0 13.00 110.00 123.00 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(crimedata)
     >
     > test_check("crimedata")
    
     |
     | | 0%
     |
     |======================================================================| 100%
    
     |
     | | 0%
     |
     |=============================================================== | 90%
     |
     |======================================================================| 100%
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_get_crime_data.R:4:3): return value of get_crime_data is a tibble or SF object ──
     Error: The Crime Open Database does not contain data for any of the specified years for the specified cities.
     Backtrace:
     █
     1. ├─testthat::expect_is(get_crime_data(), "tbl_df") test_get_crime_data.R:4:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─crimedata::get_crime_data()
     ── Error (test_get_crime_data.R:28:3): quiet execution does not return any messages ──
     Error: The Crime Open Database does not contain data for any of the specified years for the specified cities.
     Backtrace:
     █
     1. ├─testthat::expect_message(get_crime_data(quiet = TRUE), NA) test_get_crime_data.R:28:2
     2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
     3. │ ├─testthat:::.capture(...)
     4. │ │ └─base::withCallingHandlers(...)
     5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     6. └─crimedata::get_crime_data(quiet = TRUE)
     ── Error (test_get_crime_data.R:34:3): data cache works as expected ────────────
     Error: The Crime Open Database does not contain data for any of the specified years for the specified cities.
     Backtrace:
     █
     1. └─crimedata::get_crime_data(cities = "Detroit") test_get_crime_data.R:34:2
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 30 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT