Running ‘spelling.R’
  Running ‘testthat.R’ [38s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mark, warn.conflicts = FALSE)
  > 
  > test_check("mark")
  Starting 2 test processes
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 764 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Is not interactive (1)
  • On CRAN (8)
  • not interactive: check DESCRIPTION date (1)
  • not static (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-diff-time.R:42:3): diff_time_*() identical to difftime() ────────
  Error in `x$zone`: $ operator is invalid for atomic vectors
  Backtrace:
       ▆
    1. ├─testthat::expect_identical(...) at test-diff-time.R:42:2
    2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::with(df, diff_time_secs(a, b))
    5. └─base::with.default(df, diff_time_secs(a, b))
    6.   └─base::eval(substitute(expr), data, enclos = parent.frame())
    7.     └─base::eval(substitute(expr), data, enclos = parent.frame())
    8.       └─mark::diff_time_secs(a, b)
    9.         └─mark::diff_time(x, y, method = "secs", ...)
   10.           └─mark:::extract_numeric_time(x, tzx)
   11.             ├─base::as.POSIXct(x, x$zone)
   12.             └─base::as.POSIXct.default(x, x$zone)
   13.               └─base::.POSIXct(x, tz)
  ── Error (test-diff-time.R:86:3): Timezones ────────────────────────────────────
  Error in `x$zone`: $ operator is invalid for atomic vectors
  Backtrace:
       ▆
    1. ├─testthat::expect_identical(...) at test-diff-time.R:86:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─base::with(dftz, diff_time_hours(a, b))
    5. └─base::with.default(dftz, diff_time_hours(a, b))
    6.   └─base::eval(substitute(expr), data, enclos = parent.frame())
    7.     └─base::eval(substitute(expr), data, enclos = parent.frame())
    8.       └─mark::diff_time_hours(a, b)
    9.         └─mark::diff_time(x, y, method = "hours", ...)
   10.           └─mark:::extract_numeric_time(x, tzx)
   11.             ├─base::as.POSIXct(x, x$zone)
   12.             └─base::as.POSIXct.default(x, x$zone)
   13.               └─base::.POSIXct(x, tz)
  ── Error (test-diff-time.R:236:3): helpers ─────────────────────────────────────
  Error in `x$zone`: $ operator is invalid for atomic vectors
  Backtrace:
      ▆
   1. ├─testthat::expect_true(...) at test-diff-time.R:236:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. ├─mark:::is_diff_time(diff_time(Sys.time(), Sys.time() + 1))
   5. └─mark::diff_time(Sys.time(), Sys.time() + 1)
   6.   └─mark:::extract_numeric_time(x, tzx)
   7.     ├─base::as.POSIXct(x, x$zone)
   8.     └─base::as.POSIXct.default(x, x$zone)
   9.       └─base::.POSIXct(x, tz)
  
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 764 ]
  Error: Test failures
  Execution halted