CRAN Package Check Results for Package dttr2

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

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.0 5.77 50.14 55.91 OK
r-devel-linux-x86_64-debian-gcc 0.4.0 3.93 38.72 42.65 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 76.94 OK
r-devel-linux-x86_64-fedora-gcc 0.4.0 67.62 ERROR
r-devel-windows-x86_64 0.4.0 9.00 74.00 83.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.4.0 OK
r-patched-linux-x86_64 0.4.0 6.18 48.31 54.49 OK
r-patched-solaris-x86 0.4.0 91.20 OK
r-release-linux-x86_64 0.4.0 4.76 48.30 53.06 OK
r-release-macos-arm64 0.3.0 NOTE
r-release-macos-x86_64 0.4.0 OK
r-release-windows-ix86+x86_64 0.4.0 19.00 71.00 90.00 OK
r-oldrel-macos-x86_64 0.4.0 OK
r-oldrel-windows-ix86+x86_64 0.4.0 9.00 62.00 71.00 OK

Check Details

Version: 0.4.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [14s/39s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(dttr2)
     >
     > test_check("dttr2")
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On Linux (1)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-complete.R:66:3): complete.POSIXct ────────────────────────────
     dtt_complete(...) (`actual`) not identical to as.POSIXct(c("2001-01-01", "2001-01-02", "2001-01-03"), tz = "Etc/GMT+7") (`expected`).
    
     `actual`: 11324 978332400 978505200
     `expected`: 978332400 978418800 978505200
     ── Failure (test-complete.R:70:3): complete.POSIXct ────────────────────────────
     dtt_complete(...) (`actual`) not identical to as.POSIXct(c("2001-01-03", "2001-01-01", "2001-01-02"), tz = "Etc/GMT+7") (`expected`).
    
     `actual`: 978505200 978332400 11324
     `expected`: 978505200 978332400 978418800
     ── Failure (test-complete.R:75:3): complete.POSIXct ────────────────────────────
     dtt_complete(...) (`actual`) not identical to as.POSIXct(c("2001-01-03", "2001-01-01", "2001-01-02"), tz = "Etc/GMT+7") (`expected`).
    
     `actual`: 978505200 978332400 11324
     `expected`: 978505200 978332400 978418800
     ── Failure (test-complete.R:79:3): complete.POSIXct ────────────────────────────
     dtt_complete(...) (`actual`) not identical to as.POSIXct(...) (`expected`).
    
     `actual`: 978505200 978332400 978505200 11324
     `expected`: 978505200 978332400 978505200 978418800
     ── Failure (test-complete.R:84:3): complete.POSIXct ────────────────────────────
     dtt_complete(...) (`actual`) not identical to as.POSIXct(...) (`expected`).
    
     `actual`: 11324 978332400 978505200 978505200
     `expected`: 978332400 978418800 978505200 978505200
     ── Failure (test-complete.R:99:3): complete.POSIXct ────────────────────────────
     dtt_complete(...) (`actual`) not identical to as.POSIXct(...) (`expected`).
    
     `actual`: 11323 978332400 978332402
     `expected`: 978332400 978332401 978332402
     ── Failure (test-complete.R:104:3): complete.POSIXct ───────────────────────────
     dtt_complete(...) (`actual`) not identical to as.POSIXct(...) (`expected`).
    
     `actual`: 978332404 978332402 11323
     `expected`: 978332404 978332402 978332403
     ── Failure (test-complete.R:108:3): complete.POSIXct ───────────────────────────
     dtt_complete(...) (`actual`) not identical to as.POSIXct(...) (`expected`).
    
     `actual`: 11323 978332402 978332404
     `expected`: 978332402 978332403 978332404
     ── Error (test-complete.R:118:3): complete.hms ─────────────────────────────────
     Error: do not know how to convert 'setdiff(seq, x)' to class "Date"
     Backtrace:
     █
     1. ├─testthat::expect_identical(...) test-complete.R:118:2
     2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
     3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
     4. ├─dttr2::dtt_complete(hms::as_hms(c("00:00:00", "00:00:00")))
     5. └─dttr2:::dtt_complete.hms(hms::as_hms(c("00:00:00", "00:00:00")))
     6. ├─base::as.Date(setdiff(seq, x), origin = "1970-01-01")
     7. └─base::as.Date.default(setdiff(seq, x), origin = "1970-01-01")
    
     [ FAIL 9 | WARN 0 | SKIP 1 | PASS 1090 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.0
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
Flavor: r-release-macos-arm64