Last updated on 2026-11-21 16:51:17 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.5.0 | 33.50 | 427.32 | 460.82 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.5.0 | 26.05 | 310.57 | 336.62 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.5.0 | 26.00 | 285.00 | 311.00 | OK | |
| r-devel-linux-x86_64-fedora-gcc | 0.5.0 | 28.00 | 288.78 | 316.78 | OK | |
| r-devel-windows-x86_64 | 0.5.0 | 42.00 | 350.00 | 392.00 | OK | |
| r-patched-linux-x86_64 | 0.4.0 | 30.17 | 210.55 | 240.72 | OK | |
| r-release-linux-x86_64 | 0.4.0 | 28.81 | 210.06 | 238.87 | OK | |
| r-release-macos-arm64 | 0.5.0 | 8.00 | 62.00 | 70.00 | OK | |
| r-release-macos-x86_64 | 0.5.0 | 26.00 | 734.00 | 760.00 | OK | |
| r-release-windows-x86_64 | 0.5.0 | 45.00 | 374.00 | 419.00 | OK | |
| r-oldrel-macos-arm64 | 0.5.0 | 11.00 | 81.00 | 92.00 | OK | |
| r-oldrel-macos-x86_64 | 0.5.0 | 25.00 | 719.00 | 744.00 | OK | |
| r-oldrel-windows-x86_64 | 0.5.0 | 52.00 | 506.00 | 558.00 | OK |
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [243s/337s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mixtime)
Attaching package: 'mixtime'
The following objects are masked from 'package:base':
%o%, date, months, quarters
>
> test_check("mixtime")
Saving _problems/test-arithmetic-345.R
Saving _problems/test-arithmetic-353.R
Saving _problems/test-arithmetic-591.R
Saving _problems/test-arithmetic-714.R
Saving _problems/test-cal-iso8601-57.R
Saving _problems/test-cal-iso8601-98.R
Saving _problems/test-components-115.R
Saving _problems/test-components-126.R
Saving _problems/test-components-149.R
Saving _problems/test-components-163.R
Saving _problems/test-compose-76.R
Saving _problems/test-compose-85.R
Saving _problems/test-compose-264.R
Saving _problems/test-compose-340.R
Saving _problems/test-cyclical-free-ops-146.R
Saving _problems/test-cyclical-free-ops-154.R
Saving _problems/test-cyclical-free-21.R
Saving _problems/test-cyclical-free-34.R
Saving _problems/test-cyclical-free-179.R
Saving _problems/test-cyclical-free-207.R
Saving _problems/test-cyclical-free-222.R
Saving _problems/test-cyclical-137.R
Saving _problems/test-math-84.R
Saving _problems/test-math-93.R
Saving _problems/test-mixtime-36.R
Saving _problems/test-mixtime-221.R
Saving _problems/test-parse-59.R
Saving _problems/test-parse-66.R
Saving _problems/test-parse-83.R
Saving _problems/test-parse-93.R
Saving _problems/test-parse-107.R
Saving _problems/test-parse-119.R
Saving _problems/test-parse-153.R
Saving _problems/test-parse-325.R
Saving _problems/test-parse-371.R
Saving _problems/test-parse-854.R
Saving _problems/test-round-103.R
Saving _problems/test-round-123.R
Saving _problems/test-seq-393.R
Saving _problems/test-seq-483.R
Saving _problems/test-summary-4.R
Saving _problems/test-summary-20.R
Saving _problems/test-summary-31.R
Saving _problems/test-summary-40.R
Saving _problems/test-summary-49.R
Saving _problems/test-timezones-617.R
Saving _problems/test-timezones-770.R
[ FAIL 47 | WARN 2 | SKIP 3 | PASS 2258 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-vctrs.R:118:3'
• is.null(own_interval) || is.null(own_valid) is TRUE (1):
'test-tsibble.R:32:3'
• packageVersion("vecvec") < "1.5.0" is TRUE (1): 'test-cyclical-free.R:270:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-arithmetic.R:345:3'): NA propagates through date() + months() ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result), c(FALSE, TRUE, FALSE)) at test-arithmetic.R:345:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-arithmetic.R:353:3'): NA propagates through date() - date() ────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result), c(FALSE, TRUE)) at test-arithmetic.R:353:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-arithmetic.R:591:3'): time_shift() on_invalid = 'reject' gives NA with a warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(res), c(TRUE, FALSE)) at test-arithmetic.R:591:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-arithmetic.R:714:3'): time_shift() resolves local times skipped by daylight saving with on_invalid ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res)) at test-arithmetic.R:714:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cal-iso8601.R:57:3'): yearweek handles various date ranges without errors ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_false(any(is.na(yw))) at test-cal-iso8601.R:57:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(yw)
5. └─vecvec (local) `is.na.vecvec::vecvec`(yw)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cal-iso8601.R:98:5'): yearweek handles year boundary transitions ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_false(any(is.na(yw_dec))) at test-cal-iso8601.R:98:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(yw_dec)
5. └─vecvec (local) `is.na.vecvec::vecvec`(yw_dec)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-components.R:115:3'): special values (NA) propagate to all components ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res$yr[2L])) at test-components.R:115:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res$yr[2L])
5. └─vecvec (local) `is.na.vecvec::vecvec`(res$yr[2L])
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-components.R:126:3'): Inf inputs give infinite linear and NA cyclical components ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(...) at test-components.R:126:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res$yr)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res$yr)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-components.R:149:3'): discrete components finer than the input chronon are NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(is.na(res$mth), c(TRUE, FALSE)) at test-components.R:149:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res$mth)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res$mth)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-components.R:163:3'): continuous time resolves finer components exactly (no NA) ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_false(is.na(res$mth)) at test-components.R:163:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res$mth)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res$mth)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-compose.R:76:3'): NA in any component propagates to NA in the result ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(is.na(r1), c(FALSE, TRUE)) at test-compose.R:76:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r1)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r1)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-compose.R:85:3'): Inf in the lin() component carries through as an infinite count ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(is.na(r), c(FALSE, FALSE, FALSE)) at test-compose.R:85:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-compose.R:264:3'): repeated local times resolve to the earliest, with a warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(is.na(r), c(FALSE, TRUE, TRUE, FALSE)) at test-compose.R:264:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-compose.R:340:5'): `offset` gives the instant of a skipped local time ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. └─base::eval(...)
2. └─base::eval(...)
3. ├─testthat::expect_true(is.na(r)) at test-compose.R:340:5
4. │ └─testthat::quasi_label(enquo(object), label)
5. │ └─rlang::eval_bare(expr, quo_get_env(quo))
6. ├─base::is.na(r)
7. └─vecvec (local) `is.na.vecvec::vecvec`(r)
8. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
9. │ └─vecvec::is_vecvec(x)
10. │ └─S7::S7_inherits(x, class_vecvec)
11. │ └─S7:::class_inherits(x, class)
12. └─vecvec::vecvec_apply(x, is.na)
13. └─base::lapply(x@x, .f, ...)
14. └─base::match.fun(FUN)
15. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free-ops.R:146:3'): mean and other new-value maths error, rounding is kept ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-cyclical-free-ops.R:146:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(month_of_year(c(NA, 1)))
5. └─vecvec (local) `is.na.vecvec::vecvec`(month_of_year(c(NA, 1)))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free-ops.R:154:3'): ordering is linear within the cycle ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(free_pos(min(x)), 0L) at test-cyclical-free-ops.R:154:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─mixtime (local) free_pos(min(x))
5. │ ├─vctrs::vec_data(vecvec::unvecvec(x)) at test-cyclical-free-ops.R:2:13
6. │ │ └─vctrs::obj_check_vector(x) at vctrs/R/proxy.R:203:3
7. │ └─vecvec::unvecvec(x) at vctrs/R/proxy.R:203:3
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
12. ├─base::is.na(x)
13. └─vecvec (local) `is.na.vecvec::vecvec`(x)
14. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
15. │ └─vecvec::is_vecvec(x)
16. │ └─S7::S7_inherits(x, class_vecvec)
17. │ └─S7:::class_inherits(x, class)
18. └─vecvec::vecvec_apply(x, is.na)
19. └─base::lapply(x@x, .f, ...)
20. └─base::match.fun(FUN)
21. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:21:3'): an irregular chronon/cycle pair is bounded by its largest cycle ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(day_of_year(367))) at test-cyclical-free.R:21:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(day_of_year(367))
5. └─vecvec (local) `is.na.vecvec::vecvec`(day_of_year(367))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:34:3'): a fixed chronon/cycle pair rejects out-of-range bare input as NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(month_of_year(0))) at test-cyclical-free.R:34:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(month_of_year(0))
5. └─vecvec (local) `is.na.vecvec::vecvec`(month_of_year(0))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:179:3'): format() scales chronons longer than one unit ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(...) at test-cyclical-free.R:179:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(...)
5. └─vecvec (local) `is.na.vecvec::vecvec`(...)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:207:3'): an all-NA logical builds a free NA ────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(x)) at test-cyclical-free.R:207:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(x)
5. └─vecvec (local) `is.na.vecvec::vecvec`(x)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:222:3'): numbers combined with free values are positions counted from 1 ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(vctrs::vec_cast(13, month_of_year(1)))) at test-cyclical-free.R:222:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(vctrs::vec_cast(13, month_of_year(1)))
5. └─vecvec (local) `is.na.vecvec::vecvec`(vctrs::vec_cast(13, month_of_year(1)))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical.R:137:3'): cyclical_time() with bare numeric input builds an underspecified value ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(cyclical_time(11L, day(1L), day(10L)))) at test-cyclical.R:137:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(cyclical_time(11L, day(1L), day(10L)))
5. └─vecvec (local) `is.na.vecvec::vecvec`(cyclical_time(11L, day(1L), day(10L)))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-math.R:84:3'): min(), max() and range() preserve the time class ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is_mixtime(max(x))) at test-math.R:84:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─mixtime::is_mixtime(max(x))
5. │ └─S7::S7_inherits(x, class_mixtime)
6. │ └─S7:::class_inherits(x, class)
7. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
8. ├─base::is.na(x)
9. └─vecvec (local) `is.na.vecvec::vecvec`(x)
10. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
11. │ └─vecvec::is_vecvec(x)
12. │ └─S7::S7_inherits(x, class_vecvec)
13. │ └─S7:::class_inherits(x, class)
14. └─vecvec::vecvec_apply(x, is.na)
15. └─base::lapply(x@x, .f, ...)
16. └─base::match.fun(FUN)
17. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-math.R:93:3'): max() result supports further arithmetic ────────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(format(max(x) - 11L), "2013 Mar") at test-math.R:93:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::format(max(x) - 11L)
5. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
6. ├─base::is.na(x)
7. └─vecvec (local) `is.na.vecvec::vecvec`(x)
8. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
9. │ └─vecvec::is_vecvec(x)
10. │ └─S7::S7_inherits(x, class_vecvec)
11. │ └─S7:::class_inherits(x, class)
12. └─vecvec::vecvec_apply(x, is.na)
13. └─base::lapply(x@x, .f, ...)
14. └─base::match.fun(FUN)
15. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-mixtime.R:36:3'): Missing values in mixtime vectors ────────────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(x), rep(FALSE, 4L)) at test-mixtime.R:36:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(x)
5. └─vecvec (local) `is.na.vecvec::vecvec`(x)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-mixtime.R:221:3'): Combinations - c() with NA ──────────────────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result), c(FALSE, FALSE, TRUE)) at test-mixtime.R:221:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:59:3'): na values become NA without a parse-failure warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(FALSE, TRUE, TRUE, TRUE)) at test-parse.R:59:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:66:3'): a custom na vector is respected ────────────────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(FALSE, TRUE)) at test-parse.R:66:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:83:3'): an invalid cardinality (day 30 of February) becomes NA with a warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(r)) at test-parse.R:83:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:93:3'): multiple bad values are all reported and set to NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(TRUE, FALSE, TRUE, TRUE)) at test-parse.R:93:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:107:3'): a single invalid row in a large batch doesn't fall back to retrying every row ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), seq_len(n) == 2500L) at test-parse.R:107:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:119:3'): bad rows at different links in the chain each resolve to NA independently ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-parse.R:119:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:153:3'): a calendar-author decode() that throws still falls back to per-row retry ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(FALSE, TRUE, FALSE)) at test-parse.R:153:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:325:3'): a value that shape-matches but fails to parse still becomes NA, not an error ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(r)) at test-parse.R:325:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:371:3'): chronon applies to empty and all-missing input without erroring ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(rna)) at test-parse.R:371:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(rna)
5. └─vecvec (local) `is.na.vecvec::vecvec`(rna)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:854:3'): dur() surrounding literal text and NA values ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(FALSE, TRUE, TRUE)) at test-parse.R:854:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-round.R:103:3'): time_floor/time_ceiling/time_round handle NA in vectorised mt_linear input ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res_floor[3])) at test-round.R:103:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res_floor[3])
5. └─vecvec (local) `is.na.vecvec::vecvec`(res_floor[3])
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-round.R:123:3'): time_floor/time_ceiling/time_round handle vectorised hourly linear_time with NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res_floor[3])) at test-round.R:123:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res_floor[3])
5. └─vecvec (local) `is.na.vecvec::vecvec`(res_floor[3])
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-seq.R:393:3'): seq.mixtime on_invalid = 'reject' gives NA with a warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result), c(FALSE, TRUE, FALSE)) at test-seq.R:393:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-seq.R:483:3'): seq.mixtime by day keeps the local clock time across daylight saving ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result_reject), c(FALSE, TRUE, FALSE)) at test-seq.R:483:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result_reject)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result_reject)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:4:3'): min(), max() and range() return mixtime (tidyverts/tsibble#272) ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_s7_class(min(x), class_mixtime) at test-summary.R:4:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:20:3'): min(), max() and range() handle missing values ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(min(x))) at test-summary.R:20:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:31:3'): min(), max() and range() of empty input warn and return NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res)) at test-summary.R:31:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:40:3'): min(), max() and range() ignore empty inputs ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(min(x[0], x), x[1]) at test-summary.R:40:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime:::`Summary.mixtime::mixtime`(...)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:49:3'): min(), max() and range() work with mixed chronons ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(range(x), year(c(2019L, 2021L))) at test-summary.R:49:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-timezones.R:614:3'): tz-aware days cast to POSIXct at local midnight ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-timezones.R:614:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime::tz_abbreviation(...)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-timezones.R:770:3'): parsing a local time skipped by daylight saving gives NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(x), c(TRUE, FALSE)) at test-timezones.R:770:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(x)
5. └─vecvec (local) `is.na.vecvec::vecvec`(x)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
[ FAIL 47 | WARN 2 | SKIP 3 | PASS 2258 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [174s/223s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(mixtime)
Attaching package: 'mixtime'
The following objects are masked from 'package:base':
%o%, date, months, quarters
>
> test_check("mixtime")
Saving _problems/test-arithmetic-345.R
Saving _problems/test-arithmetic-353.R
Saving _problems/test-arithmetic-591.R
Saving _problems/test-arithmetic-714.R
Saving _problems/test-cal-iso8601-57.R
Saving _problems/test-cal-iso8601-98.R
Saving _problems/test-components-115.R
Saving _problems/test-components-126.R
Saving _problems/test-components-149.R
Saving _problems/test-components-163.R
Saving _problems/test-compose-76.R
Saving _problems/test-compose-85.R
Saving _problems/test-compose-264.R
Saving _problems/test-compose-340.R
Saving _problems/test-cyclical-free-ops-146.R
Saving _problems/test-cyclical-free-ops-154.R
Saving _problems/test-cyclical-free-21.R
Saving _problems/test-cyclical-free-34.R
Saving _problems/test-cyclical-free-179.R
Saving _problems/test-cyclical-free-207.R
Saving _problems/test-cyclical-free-222.R
Saving _problems/test-cyclical-137.R
Saving _problems/test-math-84.R
Saving _problems/test-math-93.R
Saving _problems/test-mixtime-36.R
Saving _problems/test-mixtime-221.R
Saving _problems/test-parse-59.R
Saving _problems/test-parse-66.R
Saving _problems/test-parse-83.R
Saving _problems/test-parse-93.R
Saving _problems/test-parse-107.R
Saving _problems/test-parse-119.R
Saving _problems/test-parse-153.R
Saving _problems/test-parse-325.R
Saving _problems/test-parse-371.R
Saving _problems/test-parse-854.R
Saving _problems/test-round-103.R
Saving _problems/test-round-123.R
Saving _problems/test-seq-393.R
Saving _problems/test-seq-483.R
Saving _problems/test-summary-4.R
Saving _problems/test-summary-20.R
Saving _problems/test-summary-31.R
Saving _problems/test-summary-40.R
Saving _problems/test-summary-49.R
Saving _problems/test-timezones-617.R
Saving _problems/test-timezones-770.R
[ FAIL 47 | WARN 2 | SKIP 3 | PASS 2258 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-vctrs.R:118:3'
• is.null(own_interval) || is.null(own_valid) is TRUE (1):
'test-tsibble.R:32:3'
• packageVersion("vecvec") < "1.5.0" is TRUE (1): 'test-cyclical-free.R:270:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-arithmetic.R:345:3'): NA propagates through date() + months() ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result), c(FALSE, TRUE, FALSE)) at test-arithmetic.R:345:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-arithmetic.R:353:3'): NA propagates through date() - date() ────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result), c(FALSE, TRUE)) at test-arithmetic.R:353:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-arithmetic.R:591:3'): time_shift() on_invalid = 'reject' gives NA with a warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(res), c(TRUE, FALSE)) at test-arithmetic.R:591:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-arithmetic.R:714:3'): time_shift() resolves local times skipped by daylight saving with on_invalid ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res)) at test-arithmetic.R:714:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cal-iso8601.R:57:3'): yearweek handles various date ranges without errors ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_false(any(is.na(yw))) at test-cal-iso8601.R:57:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(yw)
5. └─vecvec (local) `is.na.vecvec::vecvec`(yw)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cal-iso8601.R:98:5'): yearweek handles year boundary transitions ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_false(any(is.na(yw_dec))) at test-cal-iso8601.R:98:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(yw_dec)
5. └─vecvec (local) `is.na.vecvec::vecvec`(yw_dec)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-components.R:115:3'): special values (NA) propagate to all components ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res$yr[2L])) at test-components.R:115:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res$yr[2L])
5. └─vecvec (local) `is.na.vecvec::vecvec`(res$yr[2L])
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-components.R:126:3'): Inf inputs give infinite linear and NA cyclical components ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(...) at test-components.R:126:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res$yr)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res$yr)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-components.R:149:3'): discrete components finer than the input chronon are NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(is.na(res$mth), c(TRUE, FALSE)) at test-components.R:149:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res$mth)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res$mth)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-components.R:163:3'): continuous time resolves finer components exactly (no NA) ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_false(is.na(res$mth)) at test-components.R:163:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res$mth)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res$mth)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-compose.R:76:3'): NA in any component propagates to NA in the result ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(is.na(r1), c(FALSE, TRUE)) at test-compose.R:76:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r1)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r1)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-compose.R:85:3'): Inf in the lin() component carries through as an infinite count ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(is.na(r), c(FALSE, FALSE, FALSE)) at test-compose.R:85:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-compose.R:264:3'): repeated local times resolve to the earliest, with a warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_identical(is.na(r), c(FALSE, TRUE, TRUE, FALSE)) at test-compose.R:264:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-compose.R:340:5'): `offset` gives the instant of a skipped local time ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. └─base::eval(...)
2. └─base::eval(...)
3. ├─testthat::expect_true(is.na(r)) at test-compose.R:340:5
4. │ └─testthat::quasi_label(enquo(object), label)
5. │ └─rlang::eval_bare(expr, quo_get_env(quo))
6. ├─base::is.na(r)
7. └─vecvec (local) `is.na.vecvec::vecvec`(r)
8. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
9. │ └─vecvec::is_vecvec(x)
10. │ └─S7::S7_inherits(x, class_vecvec)
11. │ └─S7:::class_inherits(x, class)
12. └─vecvec::vecvec_apply(x, is.na)
13. └─base::lapply(x@x, .f, ...)
14. └─base::match.fun(FUN)
15. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free-ops.R:146:3'): mean and other new-value maths error, rounding is kept ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-cyclical-free-ops.R:146:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(month_of_year(c(NA, 1)))
5. └─vecvec (local) `is.na.vecvec::vecvec`(month_of_year(c(NA, 1)))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free-ops.R:154:3'): ordering is linear within the cycle ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(free_pos(min(x)), 0L) at test-cyclical-free-ops.R:154:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─mixtime (local) free_pos(min(x))
5. │ ├─vctrs::vec_data(vecvec::unvecvec(x)) at test-cyclical-free-ops.R:2:13
6. │ │ └─vctrs::obj_check_vector(x) at vctrs/R/proxy.R:203:3
7. │ └─vecvec::unvecvec(x) at vctrs/R/proxy.R:203:3
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
12. ├─base::is.na(x)
13. └─vecvec (local) `is.na.vecvec::vecvec`(x)
14. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
15. │ └─vecvec::is_vecvec(x)
16. │ └─S7::S7_inherits(x, class_vecvec)
17. │ └─S7:::class_inherits(x, class)
18. └─vecvec::vecvec_apply(x, is.na)
19. └─base::lapply(x@x, .f, ...)
20. └─base::match.fun(FUN)
21. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:21:3'): an irregular chronon/cycle pair is bounded by its largest cycle ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(day_of_year(367))) at test-cyclical-free.R:21:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(day_of_year(367))
5. └─vecvec (local) `is.na.vecvec::vecvec`(day_of_year(367))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:34:3'): a fixed chronon/cycle pair rejects out-of-range bare input as NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(month_of_year(0))) at test-cyclical-free.R:34:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(month_of_year(0))
5. └─vecvec (local) `is.na.vecvec::vecvec`(month_of_year(0))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:179:3'): format() scales chronons longer than one unit ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(...) at test-cyclical-free.R:179:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(...)
5. └─vecvec (local) `is.na.vecvec::vecvec`(...)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:207:3'): an all-NA logical builds a free NA ────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(x)) at test-cyclical-free.R:207:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(x)
5. └─vecvec (local) `is.na.vecvec::vecvec`(x)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical-free.R:222:3'): numbers combined with free values are positions counted from 1 ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(vctrs::vec_cast(13, month_of_year(1)))) at test-cyclical-free.R:222:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(vctrs::vec_cast(13, month_of_year(1)))
5. └─vecvec (local) `is.na.vecvec::vecvec`(vctrs::vec_cast(13, month_of_year(1)))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-cyclical.R:137:3'): cyclical_time() with bare numeric input builds an underspecified value ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(cyclical_time(11L, day(1L), day(10L)))) at test-cyclical.R:137:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(cyclical_time(11L, day(1L), day(10L)))
5. └─vecvec (local) `is.na.vecvec::vecvec`(cyclical_time(11L, day(1L), day(10L)))
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-math.R:84:3'): min(), max() and range() preserve the time class ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is_mixtime(max(x))) at test-math.R:84:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─mixtime::is_mixtime(max(x))
5. │ └─S7::S7_inherits(x, class_mixtime)
6. │ └─S7:::class_inherits(x, class)
7. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
8. ├─base::is.na(x)
9. └─vecvec (local) `is.na.vecvec::vecvec`(x)
10. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
11. │ └─vecvec::is_vecvec(x)
12. │ └─S7::S7_inherits(x, class_vecvec)
13. │ └─S7:::class_inherits(x, class)
14. └─vecvec::vecvec_apply(x, is.na)
15. └─base::lapply(x@x, .f, ...)
16. └─base::match.fun(FUN)
17. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-math.R:93:3'): max() result supports further arithmetic ────────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(format(max(x) - 11L), "2013 Mar") at test-math.R:93:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::format(max(x) - 11L)
5. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
6. ├─base::is.na(x)
7. └─vecvec (local) `is.na.vecvec::vecvec`(x)
8. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
9. │ └─vecvec::is_vecvec(x)
10. │ └─S7::S7_inherits(x, class_vecvec)
11. │ └─S7:::class_inherits(x, class)
12. └─vecvec::vecvec_apply(x, is.na)
13. └─base::lapply(x@x, .f, ...)
14. └─base::match.fun(FUN)
15. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-mixtime.R:36:3'): Missing values in mixtime vectors ────────────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(x), rep(FALSE, 4L)) at test-mixtime.R:36:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(x)
5. └─vecvec (local) `is.na.vecvec::vecvec`(x)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-mixtime.R:221:3'): Combinations - c() with NA ──────────────────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result), c(FALSE, FALSE, TRUE)) at test-mixtime.R:221:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:59:3'): na values become NA without a parse-failure warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(FALSE, TRUE, TRUE, TRUE)) at test-parse.R:59:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:66:3'): a custom na vector is respected ────────────────
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(FALSE, TRUE)) at test-parse.R:66:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:83:3'): an invalid cardinality (day 30 of February) becomes NA with a warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(r)) at test-parse.R:83:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:93:3'): multiple bad values are all reported and set to NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(TRUE, FALSE, TRUE, TRUE)) at test-parse.R:93:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:107:3'): a single invalid row in a large batch doesn't fall back to retrying every row ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), seq_len(n) == 2500L) at test-parse.R:107:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:119:3'): bad rows at different links in the chain each resolve to NA independently ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-parse.R:119:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:153:3'): a calendar-author decode() that throws still falls back to per-row retry ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(FALSE, TRUE, FALSE)) at test-parse.R:153:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:325:3'): a value that shape-matches but fails to parse still becomes NA, not an error ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(r)) at test-parse.R:325:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:371:3'): chronon applies to empty and all-missing input without erroring ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(rna)) at test-parse.R:371:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(rna)
5. └─vecvec (local) `is.na.vecvec::vecvec`(rna)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-parse.R:854:3'): dur() surrounding literal text and NA values ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(r), c(FALSE, TRUE, TRUE)) at test-parse.R:854:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(r)
5. └─vecvec (local) `is.na.vecvec::vecvec`(r)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-round.R:103:3'): time_floor/time_ceiling/time_round handle NA in vectorised mt_linear input ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res_floor[3])) at test-round.R:103:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res_floor[3])
5. └─vecvec (local) `is.na.vecvec::vecvec`(res_floor[3])
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-round.R:123:3'): time_floor/time_ceiling/time_round handle vectorised hourly linear_time with NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res_floor[3])) at test-round.R:123:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res_floor[3])
5. └─vecvec (local) `is.na.vecvec::vecvec`(res_floor[3])
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-seq.R:393:3'): seq.mixtime on_invalid = 'reject' gives NA with a warning ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result), c(FALSE, TRUE, FALSE)) at test-seq.R:393:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-seq.R:483:3'): seq.mixtime by day keeps the local clock time across daylight saving ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(result_reject), c(FALSE, TRUE, FALSE)) at test-seq.R:483:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(result_reject)
5. └─vecvec (local) `is.na.vecvec::vecvec`(result_reject)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:4:3'): min(), max() and range() return mixtime (tidyverts/tsibble#272) ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_s7_class(min(x), class_mixtime) at test-summary.R:4:3
2. │ └─testthat::quasi_label(enquo(object))
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:20:3'): min(), max() and range() handle missing values ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(min(x))) at test-summary.R:20:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:31:3'): min(), max() and range() of empty input warn and return NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_true(is.na(res)) at test-summary.R:31:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(res)
5. └─vecvec (local) `is.na.vecvec::vecvec`(res)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:40:3'): min(), max() and range() ignore empty inputs ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(min(x[0], x), x[1]) at test-summary.R:40:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime:::`Summary.mixtime::mixtime`(...)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-summary.R:49:3'): min(), max() and range() work with mixed chronons ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(range(x), year(c(2019L, 2021L))) at test-summary.R:49:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-timezones.R:614:3'): tz-aware days cast to POSIXct at local midnight ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test-timezones.R:614:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─mixtime::tz_abbreviation(...)
5. ├─base::is.na(x)
6. └─vecvec (local) `is.na.vecvec::vecvec`(x)
7. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
8. │ └─vecvec::is_vecvec(x)
9. │ └─S7::S7_inherits(x, class_vecvec)
10. │ └─S7:::class_inherits(x, class)
11. └─vecvec::vecvec_apply(x, is.na)
12. └─base::lapply(x@x, .f, ...)
13. └─base::match.fun(FUN)
14. └─base::get(as.character(FUN), mode = "function", envir = envir)
── Error ('test-timezones.R:770:3'): parsing a local time skipped by daylight saving gives NA ──
<objectNotFoundError/error/condition>
Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found
Backtrace:
▆
1. ├─testthat::expect_equal(is.na(x), c(TRUE, FALSE)) at test-timezones.R:770:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::is.na(x)
5. └─vecvec (local) `is.na.vecvec::vecvec`(x)
6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical())
7. │ └─vecvec::is_vecvec(x)
8. │ └─S7::S7_inherits(x, class_vecvec)
9. │ └─S7:::class_inherits(x, class)
10. └─vecvec::vecvec_apply(x, is.na)
11. └─base::lapply(x@x, .f, ...)
12. └─base::match.fun(FUN)
13. └─base::get(as.character(FUN), mode = "function", envir = envir)
[ FAIL 47 | WARN 2 | SKIP 3 | PASS 2258 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc