CRAN Package Check Results for Package crimedata

Last updated on 2022-06-12 07:53:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 9.10 86.87 95.97 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 7.25 65.22 72.47 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 115.48 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0 110.98 OK
r-devel-windows-x86_64 0.2.0 24.00 139.00 163.00 ERROR
r-patched-linux-x86_64 0.2.0 7.17 80.41 87.58 ERROR
r-release-linux-x86_64 0.2.0 OK
r-release-macos-arm64 0.2.0 96.00 OK
r-release-macos-x86_64 0.2.0 127.00 OK
r-release-windows-x86_64 0.2.0 23.00 154.00 177.00 OK
r-oldrel-macos-arm64 0.2.0 88.00 OK
r-oldrel-macos-x86_64 0.2.0 104.00 OK
r-oldrel-windows-ix86+x86_64 0.2.0 22.00 140.00 162.00 OK

Check Details

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [6s/51s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(crimedata)
     >
     > test_check("crimedata")
    
     |
     | | 0%
     |
     |======================================================================| 100%
    
     |
     | | 0%
     |
     |======================================================================| 100%
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 30 ]
    
     == Failed tests ================================================================
     -- Error (test_get_crime_data.R:4:3): return value of get_crime_data is a tibble or SF object --
     Error in `get_crime_data()`: The Crime Open Database does not contain data for any of the specified years for the specified cities.
     Backtrace:
     x
     1. +-testthat::expect_is(get_crime_data(), "tbl_df") at 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 in `get_crime_data(quiet = TRUE)`: The Crime Open Database does not contain data for any of the specified years for the specified cities.
     Backtrace:
     x
     1. +-testthat::expect_message(get_crime_data(quiet = TRUE), NA) at 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 in `get_crime_data(cities = "Detroit")`: The Crime Open Database does not contain data for any of the specified years for the specified cities.
     Backtrace:
     x
     1. \-crimedata::get_crime_data(cities = "Detroit") at test_get_crime_data.R:34:2
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 30 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/49s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(crimedata)
     >
     > test_check("crimedata")
    
     |
     | | 0%
     |
     |======================================================================| 100%
    
     |
     | | 0%
     |
     |======================================== | 56%
     |
     |======================================================================| 100%
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 30 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_get_crime_data.R:4:3): return value of get_crime_data is a tibble or SF object ──
     Error in `get_crime_data()`: 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") at 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 in `get_crime_data(quiet = TRUE)`: 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) at 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 in `get_crime_data(cities = "Detroit")`: 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") at test_get_crime_data.R:34:2
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 30 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR
     Running 'testthat.R' [45s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(crimedata)
     >
     > test_check("crimedata")
    
     |
     | | 0%
     |
     |======================================================================| 100%
    
     |
     | | 0%
     |
     |============ | 18%
     |
     |======================================================================| 100%
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 30 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_get_crime_data.R:4:3): return value of get_crime_data is a tibble or SF object ──
     Error in `get_crime_data()`: 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") at 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 in `get_crime_data(quiet = TRUE)`: 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) at 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 in `get_crime_data(cities = "Detroit")`: 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") at 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

Version: 0.2.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/49s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(crimedata)
     >
     > test_check("crimedata")
    
     |
     | | 0%
     |
     |======================================================================| 100%
    
     |
     | | 0%
     |
     |======================================== | 56%
     |
     |======================================================================| 100%
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 30 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_get_crime_data.R:4:3): return value of get_crime_data is a tibble or SF object ──
     Error in `get_crime_data()`: 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") at 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 in `get_crime_data(quiet = TRUE)`: 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) at 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 in `get_crime_data(cities = "Detroit")`: 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") at test_get_crime_data.R:34:2
    
     [ FAIL 3 | WARN 0 | SKIP 0 | PASS 30 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64