CRAN Package Check Results for Package phillydaodata

Last updated on 2021-05-12 06:48:15 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 2.59 34.46 37.05 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.1 2.00 26.05 28.05 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.1 53.61 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.1 43.77 ERROR
r-devel-windows-ix86+x86_64 1.0.1 11.00 104.00 115.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 1.0.1 ERROR
r-patched-linux-x86_64 1.0.1 2.54 32.95 35.49 ERROR
r-patched-solaris-x86 1.0.1 65.70 ERROR
r-release-linux-x86_64 1.0.1 2.32 44.85 47.17 OK
r-release-macos-x86_64 1.0.1 OK
r-release-windows-ix86+x86_64 1.0.1 5.00 83.00 88.00 OK
r-oldrel-macos-x86_64 1.0.1 OK
r-oldrel-windows-ix86+x86_64 1.0.1 5.00 97.00 102.00 OK

Check Details

Version: 1.0.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in 'phillydaodata-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: get_summary_case_length
    > ### Title: Get Philadelphia District Attorney's Office Case Case Summary
    > ### Case Length Data
    > ### Aliases: get_summary_case_length
    >
    > ### ** Examples
    >
    > data <- get_summary_case_length("citywide")
    Error in `$<-.data.frame`(`*tmp*`, "date", value = numeric(0)) :
     replacement has 0 rows, data has 2
    Calls: get_summary_case_length -> get_data -> clean_data -> $<- -> $<-.data.frame
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running 'spelling.R' [0s/1s]
     Running 'testthat.R' [4s/5s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(phillydaodata)
     >
     > test_check("phillydaodata")
     == Skipped tests ===============================================================
     * On CRAN (3)
    
     == Failed tests ================================================================
     -- Error (test-data_contents.R:148:3): Starting values are right for case outcome and bail --
     Error: replacement has 0 rows, data has 2
     Backtrace:
     x
     1. +-testthat::expect_equal(get_bail()$bail_category[1:10], bail_types) test-data_contents.R:148:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-phillydaodata::get_bail()
     5. \-phillydaodata:::get_data(data_type = "bail", geography = geography)
     6. \-phillydaodata:::clean_data(data)
     7. +-base::`$<-`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
     8. \-base::`$<-.data.frame`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘spelling.R’ [0s/1s]
     Running ‘testthat.R’ [3s/5s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(phillydaodata)
     >
     > test_check("phillydaodata")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-data_contents.R:148:3): Starting values are right for case outcome and bail ──
     Error: replacement has 0 rows, data has 2
     Backtrace:
     █
     1. ├─testthat::expect_equal(get_bail()$bail_category[1:10], bail_types) test-data_contents.R:148:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─phillydaodata::get_bail()
     5. └─phillydaodata:::get_data(data_type = "bail", geography = geography)
     6. └─phillydaodata:::clean_data(data)
     7. ├─base::`$<-`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
     8. └─base::`$<-.data.frame`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.1
Check: examples
Result: ERROR
    Running examples in ‘phillydaodata-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get_summary_case_length
    > ### Title: Get Philadelphia District Attorney's Office Case Case Summary
    > ### Case Length Data
    > ### Aliases: get_summary_case_length
    >
    > ### ** Examples
    >
    > data <- get_summary_case_length("citywide")
    Error in `$<-.data.frame`(`*tmp*`, "date", value = numeric(0)) :
     replacement has 0 rows, data has 2
    Calls: get_summary_case_length -> get_data -> clean_data -> $<- -> $<-.data.frame
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(phillydaodata)
     >
     > test_check("phillydaodata")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-data_contents.R:148:3): Starting values are right for case outcome and bail ──
     Error: replacement has 0 rows, data has 2
     Backtrace:
     █
     1. ├─testthat::expect_equal(get_bail()$bail_category[1:10], bail_types) test-data_contents.R:148:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─phillydaodata::get_bail()
     5. └─phillydaodata:::get_data(data_type = "bail", geography = geography)
     6. └─phillydaodata:::clean_data(data)
     7. ├─base::`$<-`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
     8. └─base::`$<-.data.frame`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [4s/11s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(phillydaodata)
     >
     > test_check("phillydaodata")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-data_contents.R:148:3): Starting values are right for case outcome and bail ──
     Error: replacement has 0 rows, data has 2
     Backtrace:
     █
     1. ├─testthat::expect_equal(get_bail()$bail_category[1:10], bail_types) test-data_contents.R:148:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─phillydaodata::get_bail()
     5. └─phillydaodata:::get_data(data_type = "bail", geography = geography)
     6. └─phillydaodata:::clean_data(data)
     7. ├─base::`$<-`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
     8. └─base::`$<-.data.frame`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.1
Check: tests
Result: ERROR
     Running 'spelling.R'
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Last 13 lines of output:
     Error: replacement has 0 rows, data has 2
     Backtrace:
     x
     1. +-testthat::expect_equal(get_bail()$bail_category[1:10], bail_types) test-data_contents.R:148:2
     2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     3. | \-rlang::eval_bare(expr, quo_get_env(quo))
     4. \-phillydaodata::get_bail()
     5. \-phillydaodata:::get_data(data_type = "bail", geography = geography)
     6. \-phillydaodata:::clean_data(data)
     7. +-base::`$<-`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
     8. \-base::`$<-.data.frame`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘spelling.R’ [0s/1s]
     Running ‘testthat.R’ [4s/5s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(phillydaodata)
     >
     > test_check("phillydaodata")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-data_contents.R:148:3): Starting values are right for case outcome and bail ──
     Error: replacement has 0 rows, data has 2
     Backtrace:
     █
     1. ├─testthat::expect_equal(get_bail()$bail_category[1:10], bail_types) test-data_contents.R:148:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─phillydaodata::get_bail()
     5. └─phillydaodata:::get_data(data_type = "bail", geography = geography)
     6. └─phillydaodata:::clean_data(data)
     7. ├─base::`$<-`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
     8. └─base::`$<-.data.frame`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [5s/21s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(phillydaodata)
     >
     > test_check("phillydaodata")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (3)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-data_contents.R:148:3): Starting values are right for case outcome and bail ──
     Error: replacement has 0 rows, data has 2
     Backtrace:
     █
     1. ├─testthat::expect_equal(get_bail()$bail_category[1:10], bail_types) test-data_contents.R:148:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. └─phillydaodata::get_bail()
     5. └─phillydaodata:::get_data(data_type = "bail", geography = geography)
     6. └─phillydaodata:::clean_data(data)
     7. ├─base::`$<-`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
     8. └─base::`$<-.data.frame`(`*tmp*`, "date", value = structure(numeric(0), class = "Date"))
    
     [ FAIL 1 | WARN 0 | SKIP 3 | PASS 121 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-solaris-x86