CRAN Package Check Results for Package incidence2

Last updated on 2021-03-05 05:49:04 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 6.42 98.34 104.76 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 4.70 71.04 75.74 OK
r-devel-linux-x86_64-fedora-clang 0.2.2 132.72 OK
r-devel-linux-x86_64-fedora-gcc 0.2.2 119.81 OK
r-devel-windows-ix86+x86_64 0.2.2 16.00 138.00 154.00 OK
r-patched-linux-x86_64 0.2.2 OK
r-patched-solaris-x86 0.2.2 162.90 OK
r-release-linux-x86_64 0.2.2 6.76 90.85 97.61 OK
r-release-macos-x86_64 0.2.2 OK
r-release-windows-ix86+x86_64 0.2.2 13.00 88.00 101.00 OK
r-oldrel-macos-x86_64 0.2.2 ERROR
r-oldrel-windows-ix86+x86_64 0.2.2 13.00 119.00 132.00 ERROR

Check Details

Version: 0.2.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/5s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     3. └─incidence2:::incidence_.default(...)
     4. └─incidence2:::check_dates(x[[date_index]])
     ── Error (test-incidence.R:546:3): cnt variable working as expected ────────────
     Error: Input could not be converted to date. Accepted formats are:
     Date, POSIXct, integer, numeric, character, factor
     Backtrace:
     █
     1. └─incidence2::incidence(...) test-incidence.R:546:2
     2. ├─incidence2:::incidence_(...)
     3. └─incidence2:::incidence_.default(...)
     4. └─incidence2:::check_dates(x[[date_index]])
    
     [ FAIL 3 | WARN 0 | SKIP 5 | PASS 162 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64

Version: 0.2.2
Check: tests
Result: ERROR
     Running 'testthat.R' [8s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(incidence2)
     >
     > test_check("incidence2")
    
     Attaching package: 'dplyr'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     The following objects are masked from 'package:stats':
    
     filter, lag
    
     The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
     5766 observations outside of [2014-05-20, 2014-06-10] were removed.
     1601 observations outside of [2014-05-20, 2014-12-10] were removed.
     1601 observations outside of [2014-05-20, 2014-12-10] were removed.
     43 observations outside of [2014-05-20, 2017-12-10] were removed.
     32 observations outside of [2016-02-29, 2018-04-09] were removed.
     == Skipped tests ===============================================================
     * On CRAN (5)
    
     == Failed tests ================================================================
     -- Error (test-incidence.R:358:3): corner cases --------------------------------
     Error: (is.logical(standard)) is not TRUE
     Backtrace:
     x
     1. +-testthat::expect_error(...) test-incidence.R:358:2
     2. | \-testthat:::expect_condition_matching(...)
     3. | \-testthat:::quasi_capture(...)
     4. | +-testthat:::.capture(...)
     5. | | \-base::withCallingHandlers(...)
     6. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
     7. \-incidence2::incidence(...)
     8. \-base::stopifnot(...)
     -- Error (test-incidence.R:527:3): Print and summary returns the object --------
     Error: Input could not be converted to date. Accepted formats are:
     Date, POSIXct, integer, numeric, character, factor
     Backtrace:
     x
     1. \-incidence2::incidence(dat, date_index = dates) test-incidence.R:527:2
     2. +-incidence2:::incidence_(...)
     3. \-incidence2:::incidence_.default(...)
     4. \-incidence2:::check_dates(x[[date_index]])
     -- Error (test-incidence.R:546:3): cnt variable working as expected ------------
     Error: Input could not be converted to date. Accepted formats are:
     Date, POSIXct, integer, numeric, character, factor
     Backtrace:
     x
     1. \-incidence2::incidence(...) test-incidence.R:546:2
     2. +-incidence2:::incidence_(...)
     3. \-incidence2:::incidence_.default(...)
     4. \-incidence2:::check_dates(x[[date_index]])
    
     [ FAIL 3 | WARN 0 | SKIP 5 | PASS 162 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64