The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

CRAN Package Check Results for Package ggtime

Last updated on 2026-11-21 23:51:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.1 20.39 563.87 584.26 ERROR
r-devel-linux-x86_64-debian-gcc 1.1.1 14.57 387.16 401.73 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.1 16.00 152.44 168.44 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.1 16.00 144.63 160.63 ERROR
r-devel-windows-x86_64 1.1.1 17.00 434.00 451.00 OK
r-patched-linux-x86_64 1.1.1 12.93 411.03 423.96 OK
r-release-linux-x86_64 1.1.1 16.21 406.31 422.52 OK
r-release-macos-arm64 1.1.1 4.00 102.00 106.00 OK
r-release-macos-x86_64 1.1.1 12.00 755.00 767.00 OK
r-release-windows-x86_64 1.1.1 20.00 358.00 378.00 OK
r-oldrel-macos-arm64 1.1.1 4.00 108.00 112.00 OK
r-oldrel-macos-x86_64 1.1.1 11.00 505.00 516.00 OK
r-oldrel-windows-x86_64 1.1.1 26.00 531.00 557.00 OK

Check Details

Version: 1.1.1
Check: examples
Result: ERROR Running examples in ‘ggtime-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: gg_lag > ### Title: Lag plots > ### Aliases: gg_lag > > ### ** Examples > > ## Don't show: > if (requireNamespace("tsibbledata", quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(tsibble) + library(dplyr) + tsibbledata::aus_retail %>% + filter( + State == "Victoria", + Industry == "Cafes, restaurants and catering services" + ) %>% + gg_lag(Turnover) + ## Don't show: + }) # examplesIf > library(tsibble) Attaching package: ‘tsibble’ The following objects are masked from ‘package:base’: intersect, setdiff, union > library(dplyr) Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > tsibbledata::aus_retail %>% filter(State == "Victoria", Industry == "Cafes, restaurants and catering services") %>% + gg_lag(Turnover) Error in `mutate()`: ℹ In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─base::withAutoprint(...) 2. │ └─base::source(...) 3. │ ├─base::withVisible(eval(ei, envir)) 4. │ └─base::eval(ei, envir) 5. │ └─base::eval(ei, envir) 6. ├─... %>% gg_lag(Turnover) 7. ├─ggtime::gg_lag(., Turnover) 8. │ └─data %>% as_tibble %>% ... 9. ├─dplyr::mutate(...) 10. ├─dplyr:::mutate.data.frame(...) 11. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 12. │ ├─base::withCallingHandlers(...) 13. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 14. │ └─mask$eval_all_mutate(quo) 15. │ └─dplyr (local) eval() 16. ├─ggtime:::season_position_factor(as_mixtime_index(Month), period) 17. │ └─ggtime:::season_position(x, period) 18. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 19. │ ├─base::is.na(x) 20. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 22. │ │ └─vecvec::is_vecvec(x) 23. │ │ └─S7::S7_inherits(x, class_vecvec) 24. │ │ └─S7:::class_inherits(x, class) 25. │ └─vecvec::vecvec_apply(x, is.na) 26. │ └─base::lapply(x@x, .f, ...) 27. │ └─base::match.fun(FUN) 28. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 29. └─dplyr (local) `<fn>`(`<objctNFE>`) 30. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed coord_calendar 9.163 0.181 11.914 geom_candlestick 6.640 0.055 8.840 geom_time_line 5.642 0.038 7.415 coord_loop 4.094 0.024 5.577 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [379s/491s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ggtime) > > test_check("ggtime") Saving _problems/test-gg-lag-24.R Saving _problems/test-gg-lag-49.R Saving _problems/test-gg-lag-64.R `geom_path()`: Each group consists of only one observation. i Do you need to adjust the group aesthetic? Saving _problems/test-gg-lag-127.R Saving _problems/test-gg-subseries-31.R Saving _problems/test-gg-subseries-55.R Saving _problems/test-gg-subseries-67.R Saving _problems/test-gg-subseries-84.R Saving _problems/test-gg-subseries-100.R Saving _problems/test-gg-subseries-118.R Saving _problems/test-plot-helpers-160.R Saving _problems/test-plot-helpers-198.R Saving _problems/test-plot-helpers-407.R Saving _problems/test-plot-helpers-445.R Saving _problems/test-plot-helpers-587.R [ FAIL 15 | WARN 842 | SKIP 10 | PASS 779 ] ══ Skipped tests (10) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-coord-calendar.R:73:1', 'test-coord-calendar.R:87:1', 'test-coord-calendar.R:101:1', 'test-coord-calendar.R:141:1', 'test-coord-loop.R:44:1', 'test-coord-loop.R:60:1', 'test-coord-loop.R:77:1', 'test-coord-loop.R:95:1', 'test-coord-loop.R:129:1' • feasts doesn't support mixtime intervals (1): 'test-plot-helpers.R:639:15' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ───────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-lag.R:24:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─data %>% as_tibble %>% ... 4. ├─dplyr::mutate(...) 5. ├─dplyr:::mutate.data.frame(...) 6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 9. │ └─mask$eval_all_mutate(quo) 10. │ └─dplyr (local) eval() 11. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 12. │ └─ggtime:::season_position(x, period) 13. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 14. │ ├─base::is.na(x) 15. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 16. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 17. │ │ └─vecvec::is_vecvec(x) 18. │ │ └─S7::S7_inherits(x, class_vecvec) 19. │ │ └─S7:::class_inherits(x, class) 20. │ └─vecvec::vecvec_apply(x, is.na) 21. │ └─base::lapply(x@x, .f, ...) 22. │ └─base::match.fun(FUN) 23. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 24. └─dplyr (local) `<fn>`(`<objctNFE>`) 25. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(monthly, period) at test-gg-lag.R:49:5 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─data %>% as_tibble %>% ... 4. ├─dplyr::mutate(...) 5. ├─dplyr:::mutate.data.frame(...) 6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 9. │ └─mask$eval_all_mutate(quo) 10. │ └─dplyr (local) eval() 11. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 12. │ └─ggtime:::season_position(x, period) 13. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 14. │ ├─base::is.na(x) 15. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 16. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 17. │ │ └─vecvec::is_vecvec(x) 18. │ │ └─S7::S7_inherits(x, class_vecvec) 19. │ │ └─S7:::class_inherits(x, class) 20. │ └─vecvec::vecvec_apply(x, is.na) 21. │ └─base::lapply(x@x, .f, ...) 22. │ └─base::match.fun(FUN) 23. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 24. └─dplyr (local) `<fn>`(`<objctNFE>`) 25. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-lag.R:64:3'): gg_lag() supports legacy indices ────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-lag.R:64:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─data %>% as_tibble %>% ... 4. ├─dplyr::mutate(...) 5. ├─dplyr:::mutate.data.frame(...) 6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 9. │ └─mask$eval_all_mutate(quo) 10. │ └─dplyr (local) eval() 11. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 12. │ └─ggtime:::season_position(x, period) 13. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 14. │ ├─base::is.na(x) 15. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 16. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 17. │ │ └─vecvec::is_vecvec(x) 18. │ │ └─S7::S7_inherits(x, class_vecvec) 19. │ │ └─S7:::class_inherits(x, class) 20. │ └─vecvec::vecvec_apply(x, is.na) 21. │ └─base::lapply(x@x, .f, ...) 22. │ └─base::match.fun(FUN) 23. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 24. └─dplyr (local) `<fn>`(`<objctNFE>`) 25. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-lag.R:127:3'): gg_tsdisplay() supports mixtime and legacy indices ── Error in `summarise(grped_tbl, `:=`(!!.name, (length(seq_generator(!!idx, .env$int)) - length(!!idx)) > 0))`: i In argument: `.gaps = (length(seq_generator(t, .env$int)) - length(t)) > 0`. i In group 1: . Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_tsdisplay_season(lag_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-lag.R:127:3 2. │ └─ggtime::gg_tsdisplay(data, y) at test-gg-lag.R:115:3 3. │ ├─ggplot2::autoplot(feasts::ACF(data, !!y, lag_max = lag_max)) 4. │ └─feasts::ACF(data, !!y, lag_max = lag_max) 5. │ └─feasts:::build_cf(...) 6. │ └─feasts:::check_gaps(.data) 7. │ └─tsibble::has_gaps(x) 8. │ ├─dplyr::summarise(...) 9. │ └─dplyr:::summarise.grouped_df(...) 10. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 11. │ ├─base::withCallingHandlers(...) 12. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask) 13. │ └─base::lapply(.x, .f, ...) 14. │ └─dplyr (local) FUN(X[[i]], ...) 15. │ └─mask$eval_all_summarise(quo) 16. │ └─dplyr (local) eval() 17. ├─tsibble:::seq_generator(t, .env$int) 18. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE) 19. │ ├─base::is.na(x) 20. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 22. │ │ └─vecvec::is_vecvec(x) 23. │ │ └─S7::S7_inherits(x, class_vecvec) 24. │ │ └─S7:::class_inherits(x, class) 25. │ └─vecvec::vecvec_apply(x, is.na) 26. │ └─base::lapply(x@x, .f, ...) 27. │ └─base::match.fun(FUN) 28. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 29. └─dplyr (local) `<fn>`(`<objctNFE>`) 30. └─dplyr (local) handler(cnd) 31. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:29:3'): gg_subseries() supports mixtime indices ── Error in `summarise(grped_tbl, `:=`(!!.name, (length(seq_generator(!!idx, .env$int)) - length(!!idx)) > 0))`: i In argument: `.gaps = (length(seq_generator(t, .env$int)) - length(t)) > 0`. i In group 1: . Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-subseries.R:29:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─ggtime:::check_gaps(data) 4. │ └─tsibble::has_gaps(x) 5. │ ├─dplyr::summarise(...) 6. │ └─dplyr:::summarise.grouped_df(...) 7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 8. │ ├─base::withCallingHandlers(...) 9. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask) 10. │ └─base::lapply(.x, .f, ...) 11. │ └─dplyr (local) FUN(X[[i]], ...) 12. │ └─mask$eval_all_summarise(quo) 13. │ └─dplyr (local) eval() 14. ├─tsibble:::seq_generator(t, .env$int) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─dplyr (local) handler(cnd) 28. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:55:3'): gg_subseries() supports legacy indices ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(t, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-subseries.R:55:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 5. ├─dplyr::group_by(., !!sym("id"), !!!keys) 6. ├─dplyr::mutate(...) 7. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 9. │ ├─base::withCallingHandlers(...) 10. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 11. │ └─mask$eval_all_mutate(quo) 12. │ └─dplyr (local) eval() 13. ├─ggtime:::season_position_factor(t, period) 14. │ └─ggtime:::season_position(x, period) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:65:3'): gg_subseries() labels legacy indices with times ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(t, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-subseries.R:65:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 5. ├─dplyr::group_by(., !!sym("id"), !!!keys) 6. ├─dplyr::mutate(...) 7. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 9. │ ├─base::withCallingHandlers(...) 10. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 11. │ └─mask$eval_all_mutate(quo) 12. │ └─dplyr (local) eval() 13. ├─ggtime:::season_position_factor(t, period) 14. │ └─ggtime:::season_position(x, period) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:84:3'): gg_subseries() defaults to the smallest seasonal period ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(t, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(daily_dates)) at test-gg-subseries.R:84:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 5. ├─dplyr::group_by(., !!sym("id"), !!!keys) 6. ├─dplyr::mutate(...) 7. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 9. │ ├─base::withCallingHandlers(...) 10. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 11. │ └─mask$eval_all_mutate(quo) 12. │ └─dplyr (local) eval() 13. ├─ggtime:::season_position_factor(t, period) 14. │ └─ggtime:::season_position(x, period) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:97:3'): gg_subseries() breaks the axis every few seasons ── Error in `summarise(grped_tbl, `:=`(!!.name, (length(seq_generator(!!idx, .env$int)) - length(!!idx)) > 0))`: i In argument: `.gaps = (length(seq_generator(t, .env$int)) - length(t)) > 0`. i In group 1: . Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(...) at test-gg-subseries.R:97:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─ggtime:::check_gaps(data) 4. │ └─tsibble::has_gaps(x) 5. │ ├─dplyr::summarise(...) 6. │ └─dplyr:::summarise.grouped_df(...) 7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 8. │ ├─base::withCallingHandlers(...) 9. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask) 10. │ └─base::lapply(.x, .f, ...) 11. │ └─dplyr (local) FUN(X[[i]], ...) 12. │ └─mask$eval_all_summarise(quo) 13. │ └─dplyr (local) eval() 14. ├─tsibble:::seq_generator(t, .env$int) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─dplyr (local) handler(cnd) 28. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:118:3'): gg_subseries() and gg_season() evaluate y with the original index ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(t, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_subseries(data, y/lubridate::days_in_month(t)) at test-gg-subseries.R:118:3 2. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 3. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::group_by(., !!sym("id"), !!!keys) 5. ├─dplyr::mutate(...) 6. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 7. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 8. │ ├─base::withCallingHandlers(...) 9. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 10. │ └─mask$eval_all_mutate(quo) 11. │ └─dplyr (local) eval() 12. ├─ggtime:::season_position_factor(t, period) 13. │ └─ggtime:::season_position(x, period) 14. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 15. │ ├─base::is.na(x) 16. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 17. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 18. │ │ └─vecvec::is_vecvec(x) 19. │ │ └─S7::S7_inherits(x, class_vecvec) 20. │ │ └─S7:::class_inherits(x, class) 21. │ └─vecvec::vecvec_apply(x, is.na) 22. │ └─base::lapply(x@x, .f, ...) 23. │ └─base::match.fun(FUN) 24. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 25. └─dplyr (local) `<fn>`(`<objctNFE>`) 26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:160:3'): gg_subseries() plots ─────────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(index, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_subseries(tsbl_co2, value) at test-plot-helpers.R:160:3 2. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 3. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::group_by(., !!sym("id"), !!!keys) 5. ├─dplyr::mutate(...) 6. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 7. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 8. │ ├─base::withCallingHandlers(...) 9. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 10. │ └─mask$eval_all_mutate(quo) 11. │ └─dplyr (local) eval() 12. ├─ggtime:::season_position_factor(index, period) 13. │ └─ggtime:::season_position(x, period) 14. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 15. │ ├─base::is.na(x) 16. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 17. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 18. │ │ └─vecvec::is_vecvec(x) 19. │ │ └─S7::S7_inherits(x, class_vecvec) 20. │ │ └─S7:::class_inherits(x, class) 21. │ └─vecvec::vecvec_apply(x, is.na) 22. │ └─base::lapply(x@x, .f, ...) 23. │ └─base::match.fun(FUN) 24. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 25. └─dplyr (local) `<fn>`(`<objctNFE>`) 26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:198:3'): gg_lag() plots ───────────────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_lag(tsbl_co2, value) at test-plot-helpers.R:198:3 2. │ └─data %>% as_tibble %>% ... 3. ├─dplyr::mutate(...) 4. ├─dplyr:::mutate.data.frame(...) 5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 6. │ ├─base::withCallingHandlers(...) 7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 8. │ └─mask$eval_all_mutate(quo) 9. │ └─dplyr (local) eval() 10. ├─ggtime:::season_position_factor(as_mixtime_index(index), period) 11. │ └─ggtime:::season_position(x, period) 12. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 13. │ ├─base::is.na(x) 14. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 15. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 16. │ │ └─vecvec::is_vecvec(x) 17. │ │ └─S7::S7_inherits(x, class_vecvec) 18. │ │ └─S7:::class_inherits(x, class) 19. │ └─vecvec::vecvec_apply(x, is.na) 20. │ └─base::lapply(x@x, .f, ...) 21. │ └─base::match.fun(FUN) 22. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 23. └─dplyr (local) `<fn>`(`<objctNFE>`) 24. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:407:3'): gg_season() and gg_subseries() support mixtime indices ── Error in `summarise(grped_tbl, `:=`(!!.name, (length(seq_generator(!!idx, .env$int)) - length(!!idx)) > 0))`: i In argument: `.gaps = (length(seq_generator(t, .env$int)) - length(t)) > 0`. i In group 1: . Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_season(monthly, y) at test-plot-helpers.R:407:3 2. │ └─ggtime:::check_gaps(data) 3. │ └─tsibble::has_gaps(x) 4. │ ├─dplyr::summarise(...) 5. │ └─dplyr:::summarise.grouped_df(...) 6. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask) 9. │ └─base::lapply(.x, .f, ...) 10. │ └─dplyr (local) FUN(X[[i]], ...) 11. │ └─mask$eval_all_summarise(quo) 12. │ └─dplyr (local) eval() 13. ├─tsibble:::seq_generator(t, .env$int) 14. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE) 15. │ ├─base::is.na(x) 16. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 17. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 18. │ │ └─vecvec::is_vecvec(x) 19. │ │ └─S7::S7_inherits(x, class_vecvec) 20. │ │ └─S7:::class_inherits(x, class) 21. │ └─vecvec::vecvec_apply(x, is.na) 22. │ └─base::lapply(x@x, .f, ...) 23. │ └─base::match.fun(FUN) 24. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 25. └─dplyr (local) `<fn>`(`<objctNFE>`) 26. └─dplyr (local) handler(cnd) 27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3 2. │ └─data %>% as_tibble %>% ... 3. ├─dplyr::mutate(...) 4. ├─dplyr:::mutate.data.frame(...) 5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 6. │ ├─base::withCallingHandlers(...) 7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 8. │ └─mask$eval_all_mutate(quo) 9. │ └─dplyr (local) eval() 10. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 11. │ └─ggtime:::season_position(x, period) 12. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 13. │ ├─base::is.na(x) 14. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 15. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 16. │ │ └─vecvec::is_vecvec(x) 17. │ │ └─S7::S7_inherits(x, class_vecvec) 18. │ │ └─S7:::class_inherits(x, class) 19. │ └─vecvec::vecvec_apply(x, is.na) 20. │ └─base::lapply(x@x, .f, ...) 21. │ └─base::match.fun(FUN) 22. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 23. └─dplyr (local) `<fn>`(`<objctNFE>`) 24. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:584:3'): lag_to_duration() passes mixtime durations through ── <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-plot-helpers.R:584:3 2. └─testthat:::expect_waldo_equal_(msg, act, exp, info, ..., tolerance = tolerance) 3. └─testthat:::waldo_compare(...) 4. └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg) 5. └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts) 6. └─waldo:::compare_vector(x, y, paths = paths, opts = opts) 7. └─waldo:::num_equal(x, y, opts$tolerance) 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) [ FAIL 15 | WARN 842 | SKIP 10 | PASS 779 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.1.1
Check: examples
Result: ERROR Running examples in ‘ggtime-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: gg_lag > ### Title: Lag plots > ### Aliases: gg_lag > > ### ** Examples > > ## Don't show: > if (requireNamespace("tsibbledata", quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(tsibble) + library(dplyr) + tsibbledata::aus_retail %>% + filter( + State == "Victoria", + Industry == "Cafes, restaurants and catering services" + ) %>% + gg_lag(Turnover) + ## Don't show: + }) # examplesIf > library(tsibble) Attaching package: ‘tsibble’ The following objects are masked from ‘package:base’: intersect, setdiff, union > library(dplyr) Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’: filter, lag The following objects are masked from ‘package:base’: intersect, setdiff, setequal, union > tsibbledata::aus_retail %>% filter(State == "Victoria", Industry == "Cafes, restaurants and catering services") %>% + gg_lag(Turnover) Error in `mutate()`: ℹ In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─base::withAutoprint(...) 2. │ └─base::source(...) 3. │ ├─base::withVisible(eval(ei, envir)) 4. │ └─base::eval(ei, envir) 5. │ └─base::eval(ei, envir) 6. ├─... %>% gg_lag(Turnover) 7. ├─ggtime::gg_lag(., Turnover) 8. │ └─data %>% as_tibble %>% ... 9. ├─dplyr::mutate(...) 10. ├─dplyr:::mutate.data.frame(...) 11. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 12. │ ├─base::withCallingHandlers(...) 13. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 14. │ └─mask$eval_all_mutate(quo) 15. │ └─dplyr (local) eval() 16. ├─ggtime:::season_position_factor(as_mixtime_index(Month), period) 17. │ └─ggtime:::season_position(x, period) 18. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 19. │ ├─base::is.na(x) 20. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 22. │ │ └─vecvec::is_vecvec(x) 23. │ │ └─S7::S7_inherits(x, class_vecvec) 24. │ │ └─S7:::class_inherits(x, class) 25. │ └─vecvec::vecvec_apply(x, is.na) 26. │ └─base::lapply(x@x, .f, ...) 27. │ └─base::match.fun(FUN) 28. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 29. └─dplyr (local) `<fn>`(`<objctNFE>`) 30. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed coord_calendar 5.916 0.249 7.353 geom_candlestick 3.991 0.105 5.111 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [257s/316s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ggtime) > > test_check("ggtime") Saving _problems/test-gg-lag-24.R Saving _problems/test-gg-lag-49.R Saving _problems/test-gg-lag-64.R `geom_path()`: Each group consists of only one observation. i Do you need to adjust the group aesthetic? Saving _problems/test-gg-lag-127.R Saving _problems/test-gg-subseries-31.R Saving _problems/test-gg-subseries-55.R Saving _problems/test-gg-subseries-67.R Saving _problems/test-gg-subseries-84.R Saving _problems/test-gg-subseries-100.R Saving _problems/test-gg-subseries-118.R Saving _problems/test-plot-helpers-160.R Saving _problems/test-plot-helpers-198.R Saving _problems/test-plot-helpers-407.R Saving _problems/test-plot-helpers-445.R Saving _problems/test-plot-helpers-587.R [ FAIL 15 | WARN 842 | SKIP 10 | PASS 779 ] ══ Skipped tests (10) ══════════════════════════════════════════════════════════ • On CRAN (9): 'test-coord-calendar.R:73:1', 'test-coord-calendar.R:87:1', 'test-coord-calendar.R:101:1', 'test-coord-calendar.R:141:1', 'test-coord-loop.R:44:1', 'test-coord-loop.R:60:1', 'test-coord-loop.R:77:1', 'test-coord-loop.R:95:1', 'test-coord-loop.R:129:1' • feasts doesn't support mixtime intervals (1): 'test-plot-helpers.R:639:15' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ───────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-lag.R:24:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─data %>% as_tibble %>% ... 4. ├─dplyr::mutate(...) 5. ├─dplyr:::mutate.data.frame(...) 6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 9. │ └─mask$eval_all_mutate(quo) 10. │ └─dplyr (local) eval() 11. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 12. │ └─ggtime:::season_position(x, period) 13. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 14. │ ├─base::is.na(x) 15. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 16. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 17. │ │ └─vecvec::is_vecvec(x) 18. │ │ └─S7::S7_inherits(x, class_vecvec) 19. │ │ └─S7:::class_inherits(x, class) 20. │ └─vecvec::vecvec_apply(x, is.na) 21. │ └─base::lapply(x@x, .f, ...) 22. │ └─base::match.fun(FUN) 23. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 24. └─dplyr (local) `<fn>`(`<objctNFE>`) 25. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(monthly, period) at test-gg-lag.R:49:5 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─data %>% as_tibble %>% ... 4. ├─dplyr::mutate(...) 5. ├─dplyr:::mutate.data.frame(...) 6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 9. │ └─mask$eval_all_mutate(quo) 10. │ └─dplyr (local) eval() 11. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 12. │ └─ggtime:::season_position(x, period) 13. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 14. │ ├─base::is.na(x) 15. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 16. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 17. │ │ └─vecvec::is_vecvec(x) 18. │ │ └─S7::S7_inherits(x, class_vecvec) 19. │ │ └─S7:::class_inherits(x, class) 20. │ └─vecvec::vecvec_apply(x, is.na) 21. │ └─base::lapply(x@x, .f, ...) 22. │ └─base::match.fun(FUN) 23. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 24. └─dplyr (local) `<fn>`(`<objctNFE>`) 25. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-lag.R:64:3'): gg_lag() supports legacy indices ────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-lag.R:64:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─data %>% as_tibble %>% ... 4. ├─dplyr::mutate(...) 5. ├─dplyr:::mutate.data.frame(...) 6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 9. │ └─mask$eval_all_mutate(quo) 10. │ └─dplyr (local) eval() 11. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 12. │ └─ggtime:::season_position(x, period) 13. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 14. │ ├─base::is.na(x) 15. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 16. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 17. │ │ └─vecvec::is_vecvec(x) 18. │ │ └─S7::S7_inherits(x, class_vecvec) 19. │ │ └─S7:::class_inherits(x, class) 20. │ └─vecvec::vecvec_apply(x, is.na) 21. │ └─base::lapply(x@x, .f, ...) 22. │ └─base::match.fun(FUN) 23. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 24. └─dplyr (local) `<fn>`(`<objctNFE>`) 25. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-lag.R:127:3'): gg_tsdisplay() supports mixtime and legacy indices ── Error in `summarise(grped_tbl, `:=`(!!.name, (length(seq_generator(!!idx, .env$int)) - length(!!idx)) > 0))`: i In argument: `.gaps = (length(seq_generator(t, .env$int)) - length(t)) > 0`. i In group 1: . Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_tsdisplay_season(lag_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-lag.R:127:3 2. │ └─ggtime::gg_tsdisplay(data, y) at test-gg-lag.R:115:3 3. │ ├─ggplot2::autoplot(feasts::ACF(data, !!y, lag_max = lag_max)) 4. │ └─feasts::ACF(data, !!y, lag_max = lag_max) 5. │ └─feasts:::build_cf(...) 6. │ └─feasts:::check_gaps(.data) 7. │ └─tsibble::has_gaps(x) 8. │ ├─dplyr::summarise(...) 9. │ └─dplyr:::summarise.grouped_df(...) 10. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 11. │ ├─base::withCallingHandlers(...) 12. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask) 13. │ └─base::lapply(.x, .f, ...) 14. │ └─dplyr (local) FUN(X[[i]], ...) 15. │ └─mask$eval_all_summarise(quo) 16. │ └─dplyr (local) eval() 17. ├─tsibble:::seq_generator(t, .env$int) 18. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE) 19. │ ├─base::is.na(x) 20. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 22. │ │ └─vecvec::is_vecvec(x) 23. │ │ └─S7::S7_inherits(x, class_vecvec) 24. │ │ └─S7:::class_inherits(x, class) 25. │ └─vecvec::vecvec_apply(x, is.na) 26. │ └─base::lapply(x@x, .f, ...) 27. │ └─base::match.fun(FUN) 28. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 29. └─dplyr (local) `<fn>`(`<objctNFE>`) 30. └─dplyr (local) handler(cnd) 31. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:29:3'): gg_subseries() supports mixtime indices ── Error in `summarise(grped_tbl, `:=`(!!.name, (length(seq_generator(!!idx, .env$int)) - length(!!idx)) > 0))`: i In argument: `.gaps = (length(seq_generator(t, .env$int)) - length(t)) > 0`. i In group 1: . Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-subseries.R:29:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─ggtime:::check_gaps(data) 4. │ └─tsibble::has_gaps(x) 5. │ ├─dplyr::summarise(...) 6. │ └─dplyr:::summarise.grouped_df(...) 7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 8. │ ├─base::withCallingHandlers(...) 9. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask) 10. │ └─base::lapply(.x, .f, ...) 11. │ └─dplyr (local) FUN(X[[i]], ...) 12. │ └─mask$eval_all_summarise(quo) 13. │ └─dplyr (local) eval() 14. ├─tsibble:::seq_generator(t, .env$int) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─dplyr (local) handler(cnd) 28. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:55:3'): gg_subseries() supports legacy indices ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(t, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-subseries.R:55:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 5. ├─dplyr::group_by(., !!sym("id"), !!!keys) 6. ├─dplyr::mutate(...) 7. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 9. │ ├─base::withCallingHandlers(...) 10. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 11. │ └─mask$eval_all_mutate(quo) 12. │ └─dplyr (local) eval() 13. ├─ggtime:::season_position_factor(t, period) 14. │ └─ggtime:::season_position(x, period) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:65:3'): gg_subseries() labels legacy indices with times ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(t, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-subseries.R:65:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 5. ├─dplyr::group_by(., !!sym("id"), !!!keys) 6. ├─dplyr::mutate(...) 7. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 9. │ ├─base::withCallingHandlers(...) 10. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 11. │ └─mask$eval_all_mutate(quo) 12. │ └─dplyr (local) eval() 13. ├─ggtime:::season_position_factor(t, period) 14. │ └─ggtime:::season_position(x, period) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:84:3'): gg_subseries() defaults to the smallest seasonal period ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(t, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(daily_dates)) at test-gg-subseries.R:84:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 5. ├─dplyr::group_by(., !!sym("id"), !!!keys) 6. ├─dplyr::mutate(...) 7. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 8. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 9. │ ├─base::withCallingHandlers(...) 10. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 11. │ └─mask$eval_all_mutate(quo) 12. │ └─dplyr (local) eval() 13. ├─ggtime:::season_position_factor(t, period) 14. │ └─ggtime:::season_position(x, period) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:97:3'): gg_subseries() breaks the axis every few seasons ── Error in `summarise(grped_tbl, `:=`(!!.name, (length(seq_generator(!!idx, .env$int)) - length(!!idx)) > 0))`: i In argument: `.gaps = (length(seq_generator(t, .env$int)) - length(t)) > 0`. i In group 1: . Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(...) at test-gg-subseries.R:97:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─ggtime:::check_gaps(data) 4. │ └─tsibble::has_gaps(x) 5. │ ├─dplyr::summarise(...) 6. │ └─dplyr:::summarise.grouped_df(...) 7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 8. │ ├─base::withCallingHandlers(...) 9. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask) 10. │ └─base::lapply(.x, .f, ...) 11. │ └─dplyr (local) FUN(X[[i]], ...) 12. │ └─mask$eval_all_summarise(quo) 13. │ └─dplyr (local) eval() 14. ├─tsibble:::seq_generator(t, .env$int) 15. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE) 16. │ ├─base::is.na(x) 17. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 18. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 19. │ │ └─vecvec::is_vecvec(x) 20. │ │ └─S7::S7_inherits(x, class_vecvec) 21. │ │ └─S7:::class_inherits(x, class) 22. │ └─vecvec::vecvec_apply(x, is.na) 23. │ └─base::lapply(x@x, .f, ...) 24. │ └─base::match.fun(FUN) 25. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 26. └─dplyr (local) `<fn>`(`<objctNFE>`) 27. └─dplyr (local) handler(cnd) 28. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-subseries.R:118:3'): gg_subseries() and gg_season() evaluate y with the original index ── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(t, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_subseries(data, y/lubridate::days_in_month(t)) at test-gg-subseries.R:118:3 2. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 3. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::group_by(., !!sym("id"), !!!keys) 5. ├─dplyr::mutate(...) 6. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 7. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 8. │ ├─base::withCallingHandlers(...) 9. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 10. │ └─mask$eval_all_mutate(quo) 11. │ └─dplyr (local) eval() 12. ├─ggtime:::season_position_factor(t, period) 13. │ └─ggtime:::season_position(x, period) 14. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 15. │ ├─base::is.na(x) 16. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 17. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 18. │ │ └─vecvec::is_vecvec(x) 19. │ │ └─S7::S7_inherits(x, class_vecvec) 20. │ │ └─S7:::class_inherits(x, class) 21. │ └─vecvec::vecvec_apply(x, is.na) 22. │ └─base::lapply(x@x, .f, ...) 23. │ └─base::match.fun(FUN) 24. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 25. └─dplyr (local) `<fn>`(`<objctNFE>`) 26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:160:3'): gg_subseries() plots ─────────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., id = season_position_factor(!!sym(idx), period), .yint = !!y)`: i In argument: `id = season_position_factor(index, period)`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_subseries(tsbl_co2, value) at test-plot-helpers.R:160:3 2. │ └─... %>% mutate(.yint = mean(!!sym(".yint"), na.rm = TRUE)) 3. ├─dplyr::mutate(., .yint = mean(!!sym(".yint"), na.rm = TRUE)) 4. ├─dplyr::group_by(., !!sym("id"), !!!keys) 5. ├─dplyr::mutate(...) 6. ├─dplyr:::mutate.data.frame(., id = season_position_factor(!!sym(idx), period), .yint = !!y) 7. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 8. │ ├─base::withCallingHandlers(...) 9. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 10. │ └─mask$eval_all_mutate(quo) 11. │ └─dplyr (local) eval() 12. ├─ggtime:::season_position_factor(index, period) 13. │ └─ggtime:::season_position(x, period) 14. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 15. │ ├─base::is.na(x) 16. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 17. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 18. │ │ └─vecvec::is_vecvec(x) 19. │ │ └─S7::S7_inherits(x, class_vecvec) 20. │ │ └─S7:::class_inherits(x, class) 21. │ └─vecvec::vecvec_apply(x, is.na) 22. │ └─base::lapply(x@x, .f, ...) 23. │ └─base::match.fun(FUN) 24. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 25. └─dplyr (local) `<fn>`(`<objctNFE>`) 26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:198:3'): gg_lag() plots ───────────────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_lag(tsbl_co2, value) at test-plot-helpers.R:198:3 2. │ └─data %>% as_tibble %>% ... 3. ├─dplyr::mutate(...) 4. ├─dplyr:::mutate.data.frame(...) 5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 6. │ ├─base::withCallingHandlers(...) 7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 8. │ └─mask$eval_all_mutate(quo) 9. │ └─dplyr (local) eval() 10. ├─ggtime:::season_position_factor(as_mixtime_index(index), period) 11. │ └─ggtime:::season_position(x, period) 12. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 13. │ ├─base::is.na(x) 14. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 15. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 16. │ │ └─vecvec::is_vecvec(x) 17. │ │ └─S7::S7_inherits(x, class_vecvec) 18. │ │ └─S7:::class_inherits(x, class) 19. │ └─vecvec::vecvec_apply(x, is.na) 20. │ └─base::lapply(x@x, .f, ...) 21. │ └─base::match.fun(FUN) 22. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 23. └─dplyr (local) `<fn>`(`<objctNFE>`) 24. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:407:3'): gg_season() and gg_subseries() support mixtime indices ── Error in `summarise(grped_tbl, `:=`(!!.name, (length(seq_generator(!!idx, .env$int)) - length(!!idx)) > 0))`: i In argument: `.gaps = (length(seq_generator(t, .env$int)) - length(t)) > 0`. i In group 1: . Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_season(monthly, y) at test-plot-helpers.R:407:3 2. │ └─ggtime:::check_gaps(data) 3. │ └─tsibble::has_gaps(x) 4. │ ├─dplyr::summarise(...) 5. │ └─dplyr:::summarise.grouped_df(...) 6. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise") 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::map(quosures, summarise_eval_one, mask = mask) 9. │ └─base::lapply(.x, .f, ...) 10. │ └─dplyr (local) FUN(X[[i]], ...) 11. │ └─mask$eval_all_summarise(quo) 12. │ └─dplyr (local) eval() 13. ├─tsibble:::seq_generator(t, .env$int) 14. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = FALSE) 15. │ ├─base::is.na(x) 16. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 17. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 18. │ │ └─vecvec::is_vecvec(x) 19. │ │ └─S7::S7_inherits(x, class_vecvec) 20. │ │ └─S7:::class_inherits(x, class) 21. │ └─vecvec::vecvec_apply(x, is.na) 22. │ └─base::lapply(x@x, .f, ...) 23. │ └─base::match.fun(FUN) 24. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 25. └─dplyr (local) `<fn>`(`<objctNFE>`) 26. └─dplyr (local) handler(cnd) 27. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `get()`: ! object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3 2. │ └─data %>% as_tibble %>% ... 3. ├─dplyr::mutate(...) 4. ├─dplyr:::mutate.data.frame(...) 5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 6. │ ├─base::withCallingHandlers(...) 7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 8. │ └─mask$eval_all_mutate(quo) 9. │ └─dplyr (local) eval() 10. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 11. │ └─ggtime:::season_position(x, period) 12. │ └─mixtime:::`Summary.mixtime::mixtime`(`<mixtime>`, na.rm = TRUE) 13. │ ├─base::is.na(x) 14. │ └─vecvec (local) `is.na.vecvec::vecvec`(x) 15. │ ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 16. │ │ └─vecvec::is_vecvec(x) 17. │ │ └─S7::S7_inherits(x, class_vecvec) 18. │ │ └─S7:::class_inherits(x, class) 19. │ └─vecvec::vecvec_apply(x, is.na) 20. │ └─base::lapply(x@x, .f, ...) 21. │ └─base::match.fun(FUN) 22. │ └─base::get(as.character(FUN), mode = "function", envir = envir) 23. └─dplyr (local) `<fn>`(`<objctNFE>`) 24. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:584:3'): lag_to_duration() passes mixtime durations through ── <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-plot-helpers.R:584:3 2. └─testthat:::expect_waldo_equal_(msg, act, exp, info, ..., tolerance = tolerance) 3. └─testthat:::waldo_compare(...) 4. └─waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg) 5. └─waldo:::compare_structure(x, y, paths = c(x_arg, y_arg), opts = opts) 6. └─waldo:::compare_vector(x, y, paths = paths, opts = opts) 7. └─waldo:::num_equal(x, y, opts$tolerance) 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) [ FAIL 15 | WARN 842 | SKIP 10 | PASS 779 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.1
Check: examples
Result: ERROR Running examples in ‘ggtime-Ex.R’ failed The error most likely occurred in: > ### Name: coord_calendar > ### Title: Calendar coordinates > ### Aliases: coord_calendar > > ### ** Examples > > library(ggplot2) > library(mixtime) Attaching package: ‘mixtime’ The following objects are masked from ‘package:base’: %o%, date, months, quarters > > # Hourly pedestrian counts in Melbourne, as mixtime time points. > pedestrian <- dplyr::mutate(tsibble::pedestrian, Time = datetime(Date_Time)) Error in `dplyr::mutate()`: ℹ In argument: `Time = datetime(Date_Time)`. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─dplyr::mutate(tsibble::pedestrian, Time = datetime(Date_Time)) 2. ├─dplyr:::mutate.data.frame(tsibble::pedestrian, Time = datetime(Date_Time)) 3. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 4. │ ├─base::withCallingHandlers(...) 5. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 6. │ └─mask$eval_all_mutate(quo) 7. │ └─dplyr (local) eval() 8. │ └─dplyr (local) `<fn>`() 9. │ └─vecvec (local) vec_proxy(x = x) 10. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. │ └─vecvec:::vv_index(x) 13. └─base::.handleSimpleError(...) 14. └─dplyr (local) h(simpleError(msg, call)) 15. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [39s/67s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ggtime) > > test_check("ggtime") Saving _problems/test-coord-calendar-84.R Saving _problems/test-coord-calendar-98.R Saving _problems/test-coord-calendar-122.R Saving _problems/test-coord-calendar-168.R Saving _problems/test-coord-calendar-180.R Saving _problems/test-coord-calendar-213.R Saving _problems/test-coord-calendar-246.R Saving _problems/test-coord-calendar-260.R Saving _problems/test-coord-calendar-280.R Saving _problems/test-coord-calendar-338.R Saving _problems/test-coord-calendar-366.R Saving _problems/test-coord-calendar-397.R Saving _problems/test-coord-calendar-508.R Saving _problems/test-coord-calendar-584.R Saving _problems/test-coord-calendar-609.R Saving _problems/test-coord-calendar-644.R Saving _problems/test-coord-calendar-659.R Saving _problems/test-coord-calendar-694.R Saving _problems/test-coord-calendar-723.R Saving _problems/test-coord-calendar-747.R Saving _problems/test-coord-calendar-791.R Saving _problems/test-coord-calendar-817.R Saving _problems/test-coord-calendar-857.R Saving _problems/test-coord-calendar-938.R Saving _problems/test-coord-calendar-968.R Saving _problems/test-coord-calendar-1001.R Saving _problems/test-coord-calendar-1025.R Saving _problems/test-coord-calendar-1047.R Saving _problems/test-coord-calendar-1128.R Saving _problems/test-coord-calendar-1195.R Saving _problems/test-coord-calendar-1269.R Saving _problems/test-coord-calendar-1308.R Saving _problems/test-coord-calendar-1354.R Saving _problems/test-coord-calendar-1412.R Saving _problems/test-coord-calendar-1458.R Saving _problems/test-coord-calendar-1490.R Saving _problems/test-coord-calendar-1540.R Saving _problems/test-coord-calendar-1568.R Saving _problems/test-coord-calendar-1631.R Saving _problems/test-coord-calendar-1667.R Saving _problems/test-coord-calendar-1682.R Saving _problems/test-coord-calendar-1712.R Saving _problems/test-coord-calendar-1727.R Saving _problems/test-coord-calendar-1755.R Saving _problems/test-coord-calendar-1767.R Saving _problems/test-coord-calendar-1785.R Saving _problems/test-coord-calendar-1802.R Saving _problems/test-coord-calendar-1849.R Saving _problems/test-coord-calendar-1877.R Saving _problems/test-coord-calendar-1907.R Saving _problems/test-coord-calendar-1897.R Saving _problems/test-coord-calendar-1989.R Saving _problems/test-coord-calendar-2020.R Saving _problems/test-coord-calendar-2052.R Saving _problems/test-coord-calendar-2101.R Saving _problems/test-coord-calendar-2137.R Saving _problems/test-coord-calendar-2186.R Saving _problems/test-coord-calendar-2213.R Saving _problems/test-coord-calendar-2233.R Saving _problems/test-coord-calendar-2251.R Saving _problems/test-coord-calendar-2286.R Saving _problems/test-coord-calendar-2308.R Saving _problems/test-coord-calendar-2379.R Saving _problems/test-coord-calendar-2419.R Saving _problems/test-coord-calendar-2456.R Saving _problems/test-coord-calendar-2540.R Saving _problems/test-coord-calendar-2585.R Saving _problems/test-coord-calendar-2625.R Saving _problems/test-coord-loop-74.R Saving _problems/test-coord-loop-92.R Saving _problems/test-coord-loop-126.R Saving _problems/test-coord-loop-148.R Saving _problems/test-coord-loop-162.R Saving _problems/test-coord-loop-228.R Saving _problems/test-coord-loop-274.R Saving _problems/test-coord-loop-298.R Saving _problems/test-coord-loop-357.R Saving _problems/test-coord-loop-393.R Saving _problems/test-coord-loop-415.R Saving _problems/test-geom-candlestick-32.R Saving _problems/test-geom-candlestick-52.R Saving _problems/test-geom-candlestick-67.R Saving _problems/test-geom-candlestick-95.R Saving _problems/test-geom-candlestick-105.R Saving _problems/test-geom-candlestick-125.R Saving _problems/test-geom-candlestick-142.R Saving _problems/test-geom-candlestick-172.R Saving _problems/test-geom-candlestick-197.R Saving _problems/test-geom-candlestick-209.R Saving _problems/test-geom-candlestick-230.R Saving _problems/test-geom-candlestick-252.R Saving _problems/test-geom-candlestick-267.R Saving _problems/test-geom-candlestick-291.R Saving _problems/test-geom-candlestick-303.R Saving _problems/test-geom-candlestick-320.R Saving _problems/test-geom-candlestick-327.R Saving _problems/test-geom-time-line-41.R Saving _problems/test-geom-time-line-54.R Saving _problems/test-geom-time-line-83.R Saving _problems/test-geom-time-line-110.R Saving _problems/test-geom-time-line-157.R Saving _problems/test-geom-time-line-175.R Saving _problems/test-geom-time-line-217.R Saving _problems/test-geom-time-line-245.R Saving _problems/test-geom-time-line-264.R Saving _problems/test-geom-time-line-303.R Saving _problems/test-gg-lag-24.R Saving _problems/test-gg-lag-47.R Saving _problems/test-gg-lag-64.R Saving _problems/test-gg-lag-81.R `geom_path()`: Each group consists of only one observation. i Do you need to adjust the group aesthetic? Saving _problems/test-gg-lag-127.R Saving _problems/test-gg-subseries-31.R Saving _problems/test-gg-subseries-55.R Saving _problems/test-gg-subseries-67.R Saving _problems/test-gg-subseries-84.R Saving _problems/test-gg-subseries-100.R Saving _problems/test-gg-subseries-118.R Saving _problems/test-loop-cut-211.R Saving _problems/test-loop-cut-258.R Saving _problems/test-loop-cut-292.R Saving _problems/test-loop-cut-317.R Saving _problems/test-loop-cut-362.R Saving _problems/test-plot-helpers-9.R Saving _problems/test-plot-helpers-48.R Saving _problems/test-plot-helpers-72.R Saving _problems/test-plot-helpers-96.R Saving _problems/test-plot-helpers-127.R Saving _problems/test-plot-helpers-140.R Saving _problems/test-plot-helpers-154.R Saving _problems/test-plot-helpers-160.R Saving _problems/test-plot-helpers-198.R Saving _problems/test-plot-helpers-246.R Saving _problems/test-plot-helpers-368.R Saving _problems/test-plot-helpers-542.R Saving _problems/test-plot-helpers-583.R Saving _problems/test-scale-time-13.R Saving _problems/test-scale-time-20.R Saving _problems/test-scale-time-32.R Saving _problems/test-scale-time-70.R Saving _problems/test-scale-time-80.R Saving _problems/test-scale-time-90.R Saving _problems/test-scale-time-99.R Saving _problems/test-scale-time-134.R Saving _problems/test-scale-time-148.R Saving _problems/test-scale-time-170.R Saving _problems/test-scale-time-186.R Saving _problems/test-scale-time-204.R Saving _problems/test-scale-time-216.R Saving _problems/test-scale-time-246.R Saving _problems/test-scale-time-269.R Saving _problems/test-scale-time-292.R Saving _problems/test-scale-time-343.R Saving _problems/test-scale-time-391.R [ FAIL 153 | WARN 22 | SKIP 8 | PASS 177 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-coord-loop.R:44:1' • tsibble doesn't support mixtime indices (7): 'test-plot-helpers.R:402:3', 'test-plot-helpers.R:432:3', 'test-plot-helpers.R:441:3', 'test-plot-helpers.R:465:3', 'test-plot-helpers.R:553:3', 'test-plot-helpers.R:591:3', 'test-plot-helpers.R:610:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-coord-calendar.R:80:3'): rows are laid out from cut loops ────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-coord-calendar.R:80:3 2. └─ggtime (local) writer(fig, testcase, title) 3. ├─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggplot2 (local) `print.ggplot2::ggplot`(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) 5. ├─ggplot2::ggplot_build(x) 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:94:3'): columns are laid out from cut loops ─── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-coord-calendar.R:94:3 2. └─ggtime (local) writer(fig, testcase, title) 3. ├─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggplot2 (local) `print.ggplot2::ggplot`(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) 5. ├─ggplot2::ggplot_build(x) 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:113:3'): panes and columns are separated by gaps ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-coord-calendar.R:113:3 2. └─ggtime (local) writer(fig, testcase, title) 3. ├─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggplot2 (local) `print.ggplot2::ggplot`(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) 5. ├─ggplot2::ggplot_build(x) 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:156:3'): granules are labelled within the calendar ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-coord-calendar.R:156:3 2. └─ggtime (local) writer(fig, testcase, title) 3. ├─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggplot2 (local) `print.ggplot2::ggplot`(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) 5. ├─ggplot2::ggplot_build(x) 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:180:3'): gridlines and axes are not folded into a single row ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:180:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:213:3'): the panel's own grid is dropped ────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:213:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:246:3'): a theme cannot reinstate the gridlines a calendar drops ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:246:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:260:3'): row layout stacks loops without overlapping ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:260:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:280:3'): column layout stacks loops side by side without overlapping ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:280:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:333:3'): a day is placed in the calendar cell a printed calendar puts it in ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) calendar_places(...) at test-coord-calendar.R:333:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:307:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule_default(...) 16. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 17. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 18. └─vctrs::vec_size(x) 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:361:3'): a row holds only the days of one column and pane ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) calendar_places(...) at test-coord-calendar.R:361:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:307:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule_default(...) 16. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 17. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 18. └─vctrs::vec_size(x) 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:389:3'): panes are aligned across the calendar's columns ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:389:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:498:3'): a calendar of one-second rows is laid out row by row ── Error in `geom_point()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:498:3 2. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. │ └─ggplot2:::by_layer(...) 4. │ ├─rlang::try_fetch(...) 5. │ │ ├─base::tryCatch(...) 6. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 7. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 9. │ │ └─base::withCallingHandlers(...) 10. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 11. │ └─l$compute_aesthetics(d, plot) 12. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 13. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 14. │ └─ggplot2 (local) add_defaults(..., self = self) 15. │ ├─self$add(find_scale(aes, data[[aes]], env)) 16. │ │ └─ggplot2 (local) add(..., self = self) 17. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 18. │ ├─base::is.infinite(x) 19. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 20. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 21. │ │ └─vecvec::is_vecvec(x) 22. │ └─vecvec::vecvec_apply(x, .f) 23. │ └─vctrs::vec_is_empty(x) 24. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. │ └─vecvec (local) vec_proxy(x = x) 27. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. │ └─vecvec:::vv_index(x) 30. └─base::.handleSimpleError(...) 31. └─rlang (local) h(simpleError(msg, call)) 32. └─handlers[[1L]](cnd) 33. └─cli::cli_abort(...) 34. └─rlang::abort(...) ── Error ('test-coord-calendar.R:581:3'): the calendar grid is arranged the same way flipped ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-coord-calendar.R:581:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rlang::inject(...) 5. └─ggtime (local) calendar_places_flipped(...) 6. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:545:3 7. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 8. └─layout$setup_panel_params() 9. └─ggplot2 (local) setup_panel_params(..., self = self) 10. └─base::Map(...) 11. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 12. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 13. └─ggtime (local) setup_panel_params(..., self = self) 14. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 15. └─ggtime (local) compute_cuts(..., self = self) 16. ├─ggtime:::calendar_compute_cuts(...) 17. │ └─ggtime:::calendar_axis_cuts(...) 18. └─ggtime:::calendar_resolve_granules(...) 19. └─ggtime:::eval_granule_default(...) 20. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 21. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 22. └─vctrs::vec_size(x) 23. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 24. └─vecvec (local) vec_proxy(x = x) 25. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 26. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 27. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:600:3'): a flipped calendar reads left to right and top to bottom ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:600:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:642:3'): the derived row count does not leak between builds ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:642:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:657:3'): the derived column count does not leak between builds ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:657:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:694:3'): blanked panel grid elements are not tiled as zeroGrobs ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:694:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:723:3'): a build is not corrupted by drawing after a later build reused its coord ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p_big) at test-coord-calendar.R:723:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p_big) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:747:3'): self$limits is restored even if the parent setup_panel_params() errors ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:747:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:791:3'): cell and block granules can be disabled ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:791:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:817:3'): cell and block granules add extra gridline layers ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:817:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 15. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 16. └─vctrs::vec_size(x) 17. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 18. └─vecvec (local) vec_proxy(x = x) 19. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 20. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 21. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:855:5'): the drawn background does not grow with the grid ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) calendar(calendar_data(), rows = mixtime::weeks(1L), cols = NULL) at test-coord-calendar.R:874:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:855:5 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule_default(...) 16. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 17. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 18. └─vctrs::vec_size(x) 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:934:3'): decoration that cannot be drawn as geometry is copied per tile ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:934:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:958:3'): a block rule replaces the row rule at the boundary it falls on ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:958:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:992:3'): pane gaps replace the rules they separate ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:992:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1021:3'): rules stop at a column gap ────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1021:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1047:3'): coord_calendar defaults produce a sensible layout without arguments ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:1047:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1124:3'): repeated axes get one track per row and column ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1124:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1191:3'): blank granule elements drop their gridlines ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1191:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1269:3'): every granule's background is drawn behind its own rules ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) every_granule_calendar() at test-coord-calendar.R:1269:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1250:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1308:3'): a granule background covers the instances it fills ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) every_granule_calendar() at test-coord-calendar.R:1308:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1250:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1354:3'): a group's background covers every row it spans ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) every_granule_calendar() at test-coord-calendar.R:1354:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1250:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1402:3'): a group's fill covers its rows while its rule keeps to the first ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1402:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1449:3'): a group's background stops at a column boundary ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1449:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1481:3'): a group's background leaves the gaps within it clear ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1481:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1532:5'): granule backgrounds reflect with the grid when flipped ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) fill("x", granule) at test-coord-calendar.R:1550:5 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1532:5 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule_default(...) 16. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 17. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 18. └─vctrs::vec_size(x) 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1564:3'): cell breaks fall strictly within a row ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1564:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1627:3'): a bare granule token resolves against the axis's own calendar ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1627:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1659:3'): a namespace-qualified granule or duration bypasses the calendar mask ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1659:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1677:3'): a defaulted rows/cols falls back when the calendar lacks the granule ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-coord-calendar.R:1677:3 2. │ └─base::withCallingHandlers(...) 3. ├─ggplot2::ggplot_build(...) 4. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 5. │ └─ggplot2:::by_layer(...) 6. │ ├─rlang::try_fetch(...) 7. │ │ ├─base::tryCatch(...) 8. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 13. │ └─l$compute_aesthetics(d, plot) 14. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 15. │ └─vctrs::list_sizes(evaled) 16. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:103:3 17. │ └─vecvec (local) vec_proxy(x = x) 18. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 19. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 20. │ └─vecvec:::vv_index(x) 21. └─base::.handleSimpleError(...) 22. └─rlang (local) h(simpleError(msg, call)) 23. └─handlers[[1L]](cnd) 24. └─cli::cli_abort(...) 25. └─rlang::abort(...) ── Error ('test-coord-calendar.R:1704:3'): a granule token missing from the calendar errors with a hint ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-coord-calendar.R:1704:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(...) 8. │ └─base::withCallingHandlers(...) 9. ├─ggplot2::ggplot_build(...) 10. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 11. │ └─ggplot2:::by_layer(...) 12. │ ├─rlang::try_fetch(...) 13. │ │ ├─base::tryCatch(...) 14. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ │ └─base::withCallingHandlers(...) 18. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 19. │ └─l$compute_aesthetics(d, plot) 20. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 21. │ └─vctrs::list_sizes(evaled) 22. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:103:3 23. │ └─vecvec (local) vec_proxy(x = x) 24. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. │ └─vecvec:::vv_index(x) 27. └─base::.handleSimpleError(...) 28. └─rlang (local) h(simpleError(msg, call)) 29. └─handlers[[1L]](cnd) 30. └─cli::cli_abort(...) 31. └─rlang::abort(...) ── Error ('test-coord-calendar.R:1727:3'): cell_ratio fixes the panel's aspect so a cell has that shape ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p + coord_calendar(cell_ratio = 1, cols = NULL)) at test-coord-calendar.R:1727:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1753:3'): cell_ratio leaves the panel free unless it is set ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1753:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1763:3'): a flipped calendar's cell_ratio still measures height over width ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1763:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1785:3'): cell_ratio shapes a whole row when there are no cells ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p + coord_calendar(cells = NULL, cell_ratio = 1)) at test-coord-calendar.R:1785:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1800:3'): a base coord's own ratio is scaled into the calendar's grid ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p + coord_calendar(cols = NULL, coord = ggplot2::coord_fixed(2))) at test-coord-calendar.R:1800:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1844:3'): panes must sit between rows and cols in coarseness ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-coord-calendar.R:1844:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggplot2::ggplot_build(...) 8. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 9. └─layout$setup_panel_params() 10. └─ggplot2 (local) setup_panel_params(..., self = self) 11. └─base::Map(...) 12. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 13. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 14. └─ggtime (local) setup_panel_params(..., self = self) 15. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 16. └─ggtime (local) compute_cuts(..., self = self) 17. ├─ggtime:::calendar_compute_cuts(...) 18. │ └─ggtime:::calendar_axis_cuts(...) 19. └─ggtime:::calendar_resolve_granules(...) 20. └─ggtime:::eval_granule_default(...) 21. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 22. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 23. └─vctrs::vec_size(x) 24. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 25. └─vecvec (local) vec_proxy(x = x) 26. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 27. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 28. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1877:5'): a defaulted panes value gives way where it does not fit ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_null(pane_cuts_of(p + coord_calendar(rows = mixtime::months(1L)))) at test-coord-calendar.R:1882:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime (local) pane_cuts_of(p + coord_calendar(rows = mixtime::months(1L))) 5. ├─ggplot2::ggplot_build(plot) at test-coord-calendar.R:1877:5 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Failure ('test-coord-calendar.R:1904:3'): an explicit panes matching the default behaves like the default ── Expected `ggplot_build(...)` not to throw any errors. Actually got a <simpleError> with message: `x` is not a vecvec base vector. ── Error ('test-coord-calendar.R:1897:5'): an explicit panes matching the default behaves like the default ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_null(...) at test-coord-calendar.R:1908:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime (local) pane_cuts_of(...) 5. ├─ggplot2::ggplot_build(plot) at test-coord-calendar.R:1897:5 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1980:3'): flipped calendars gap and rule the same boundaries ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1980:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2016:3'): granule instances land where the data they name does ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2016:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2038:3'): granule instances describe each column's own times ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2038:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2089:3'): a granule grouping rows is labelled against the row it starts ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2089:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2137:5'): labels are formatted for both mixtime and Date axes ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(labels_of(p), sprintf("%02d", 7:20)) at test-coord-calendar.R:2152:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime (local) labels_of(p) 5. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:2137:5 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2184:3'): granule tables are only built for granules that are labelled ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2184:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2209:3'): disabling cell labels does not disable cell gridlines ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2209:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2233:3'): labels can be given as a function of the times ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:2233:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2251:3'): labels are blanked with their granule's text element ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:2251:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2286:3'): a label that cannot format the axis errors informatively ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:2286:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2300:3'): repeated axes leave a track for a pane gap ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2300:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2379:3'): granules resolve against the calendar they are handed ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::calendar_resolve_granules(specs, mixtime::cal_gregorian) at test-coord-calendar.R:2379:3 2. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 3. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2416:3'): the axis is cut into a calendar without building a plot ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::calendar_resolve_granules(...) at test-coord-calendar.R:2416:3 2. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 3. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2453:3'): a panel's cuts are attached without building a plot ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::calendar_resolve_granules(test_granule_specs(), mixtime::cal_gregorian) at test-coord-calendar.R:2453:3 2. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 3. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2540:5'): each panel's cyclical scale labels its own granule ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─base::lapply(...) at test-coord-calendar.R:2538:3 2. └─ggtime (local) FUN(X[[i]], ...) 3. └─coord$compute_cuts(uncut, trans, scale, NULL) at test-coord-calendar.R:2540:5 4. └─ggtime (local) compute_cuts(..., self = self) 5. └─ggtime:::calendar_compute_cuts(...) 6. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 7. └─ggtime:::loop_cuts_by_duration(...) 8. └─mixtime::time_floor(time_range[1], granule) 9. ├─S7::S7_dispatch() 10. └─mixtime (local) `method(time_floor, class_any)`(...) 11. └─mixtime:::time_round_impl(x, granule, floor) 12. ├─base::as.numeric(granule) 13. └─mixtime:::`as.double.mixtime::mixtime`(granule) 14. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 15. │ └─vecvec::is_vecvec(x) 16. └─vecvec::vecvec_apply(x, time_as_number) 17. └─vctrs::vec_is_empty(x) 18. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2582:3'): the time axis is broken at every cell of a row ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-coord-calendar.R:2582:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(...) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2622:3'): the calendar's breaks give way to the scale's own ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-coord-calendar.R:2622:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2015-01-01"), 0:400) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:70:3'): looping over a duration works ───────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-coord-loop.R:70:3 2. │ └─ggtime (local) writer(fig, testcase, title) 3. │ └─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggtime::coord_loop(time_loops = mixtime::months(1L), expand = TRUE) 5. └─ggtime:::duration_as_granule(time_loops) 6. └─vctrs::vec_size(x) 7. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 8. └─vecvec (local) vec_proxy(x = x) 9. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 10. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 11. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:88:3'): annotations spanning the panel are drawn ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-coord-loop.R:88:3 2. │ └─ggtime (local) writer(fig, testcase, title) 3. │ └─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggtime::coord_loop(time_loops = mixtime::months(1L), expand = TRUE) 5. └─ggtime:::duration_as_granule(time_loops) 6. └─vctrs::vec_size(x) 7. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 8. └─vecvec (local) vec_proxy(x = x) 9. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 10. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 11. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:122:3'): geometries crossing a loop boundary are cut into pieces ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-coord-loop.R:122:3 2. │ └─ggtime (local) writer(fig, testcase, title) 3. │ └─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggtime::coord_loop(time_loops = mixtime::months(1L), expand = TRUE) 5. └─ggtime:::duration_as_granule(time_loops) 6. └─vctrs::vec_size(x) 7. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 8. └─vecvec (local) vec_proxy(x = x) 9. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 10. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 11. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:139:3'): coord_loop works with coord_radial ─────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-coord-loop.R:139:3 2. │ └─ggtime (local) writer(fig, testcase, title) 3. │ └─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggtime::coord_loop(...) 5. └─ggtime:::duration_as_granule(time_loops) 6. └─vctrs::vec_size(x) 7. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 8. └─vecvec (local) vec_proxy(x = x) 9. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 10. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 11. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:162:5'): looped axes are labelled cyclically ────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-coord-loop.R:176:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) loop_labels(p + coord_loop(time_loops = mixtime::years(1L))) 5. │ └─ggplot2::ggplot_build(p) at test-coord-loop.R:162:5 6. │ └─ggplot2:::try_prop(plot, "plot_env") 7. │ └─S7::S7_inherits(object) 8. │ └─S7:::has_S7_class(x) 9. └─ggtime::coord_loop(time_loops = mixtime::years(1L)) 10. └─ggtime:::duration_as_granule(time_loops) 11. └─vctrs::vec_size(x) 12. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 13. └─vecvec (local) vec_proxy(x = x) 14. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 15. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 16. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:228:5'): looped axes are broken at their observations ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) loop_breaks(p + coord_loop(time_loops = mixtime::days(1L))) at test-coord-loop.R:246:3 2. │ └─ggplot2::ggplot_build(p) at test-coord-loop.R:228:5 3. │ └─ggplot2:::try_prop(plot, "plot_env") 4. │ └─S7::S7_inherits(object) 5. │ └─S7:::has_S7_class(x) 6. └─ggtime::coord_loop(time_loops = mixtime::days(1L)) 7. └─ggtime:::duration_as_granule(time_loops) 8. └─vctrs::vec_size(x) 9. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 10. └─vecvec (local) vec_proxy(x = x) 11. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 12. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 13. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:269:3'): time_loops can be given as a granule directly ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-coord-loop.R:269:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggplot2::ggplot_build(p + coord_loop(time_loops = mixtime::years(1L))) 5. │ └─ggplot2:::try_prop(plot, "plot_env") 6. │ └─S7::S7_inherits(object) 7. │ └─S7:::has_S7_class(x) 8. └─ggtime::coord_loop(time_loops = mixtime::years(1L)) 9. └─ggtime:::duration_as_granule(time_loops) 10. └─vctrs::vec_size(x) 11. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 12. └─vecvec (local) vec_proxy(x = x) 13. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 14. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 15. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:295:3'): time_loops must be a single duration ───── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-coord-loop.R:295:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggtime::coord_loop(time_loops = c(mixtime::years(1L), mixtime::days(2L))) 8. │ └─ggtime:::duration_as_granule(time_loops) 9. │ └─ggtime:::is_waiver(x) 10. ├─base::c(mixtime::years(1L), mixtime::days(2L)) 11. └─mixtime (local) `c.mixtime::mixtime`(mixtime::years(1L), mixtime::days(2L)) 12. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 13. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:354:3'): the cycle of a looped axis follows the data's chronon ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(time = mixtime::date("2015-01-01") + 0:27, value = seq_len(28)) at test-coord-loop.R:354:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2015-01-01"), 0:27) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:391:3'): looping does not depend on clipping path support ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::coord_loop(time_loops = mixtime::years(1L)) at test-coord-loop.R:391:3 2. └─ggtime:::duration_as_granule(time_loops) 3. └─vctrs::vec_size(x) 4. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 5. └─vecvec (local) vec_proxy(x = x) 6. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 7. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 8. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:413:3'): self$limits is restored even if the parent setup_panel_params() errors ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::coord_loop(time_loops = mixtime::months(1L)) at test-coord-loop.R:413:3 2. └─ggtime:::duration_as_granule(time_loops) 3. └─vctrs::vec_size(x) 4. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 5. └─vecvec (local) vec_proxy(x = x) 6. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 7. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 8. └─vecvec:::vv_index(x) ── Error ('test-geom-candlestick.R:29:3'): open, high, low and close summarise each granule instance ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:29:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:52:3'): values are summarised in time order, not row order ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─df[sample(nrow(df)), ] at test-geom-candlestick.R:52:3 2. └─base::`[.data.frame`(df, sample(nrow(df)), ) at test-geom-candlestick.R:52:3 3. ├─xj[i] 4. └─vecvec (local) `[.vecvec::vecvec`(xj, i) 5. └─vecvec:::vv_index(x) ── Error ('test-geom-candlestick.R:67:3'): candlesticks are cut on the granule's own boundaries ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─mixtime:::`Ops.mixtime::mixtime`(df$time, mixtime::hours(6L)) at test-geom-candlestick.R:67:3 2. ├─base::NextMethod() 3. └─vecvec:::`Ops.vecvec::vecvec`(df$time, mixtime::hours(6L)) 4. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 5. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-geom-candlestick.R:83:3'): instances of uneven length are drawn at uneven widths ── Error in `geom_candlestick(granule = mixtime::months(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:83:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:102:3'): `width` sizes the body against its granule instance ── Error in `geom_candlestick(granule = mixtime::days(1L), width = 1)`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:102:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:113:3'): already summarised values re-summarise onto a coarser granule ── Error in `geom_candlestick(granule = mixtime::months(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:113:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:139:3'): `direction` records how each candlestick closed ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:139:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:169:3'): `direction` colours fill and colour red/green by default, without an explicit scale ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:169:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:194:3'): `change` records close minus open ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:194:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:206:3'): orientation follows whichever axis measures time ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_false(...) at test-geom-candlestick.R:206:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) 5. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:227:3'): values are summarised separately for each group ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─base::rbind(...) at test-geom-candlestick.R:227:3 2. └─base::rbind(deparse.level, ...) 3. ├─base::`[<-`(`*tmp*`, ri, value = `<mixtime>`) 4. ├─mixtime:::`[<-.mixtime::mixtime`(`*tmp*`, ri, value = `<mixtime>`) 5. ├─base::NextMethod() 6. └─vecvec:::`[<-.vecvec::vecvec`(`*tmp*`, ri, value = `<mixtime>`) 7. └─vecvec:::vv_index(x) ── Error ('test-geom-candlestick.R:248:3'): the value axis transformation reaches every summary statistic ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:248:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:262:3'): `granule` resolves bare granules against the axis's calendar ── Error in `geom_candlestick(granule = hour(6L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-geom-candlestick.R:262:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = hour(6L))) 5. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:279:3'): a layer drawn with `stat = 'identity'` sizes bodies by resolution ── Error in `geom_candlestick(stat = "identity")`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:279:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:300:3'): `granule` must be supplied, and must suit the axis ── Error in `geom_candlestick()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-geom-candlestick.R:300:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggplot2::ggplot_build(ggplot(df, aes(time, price)) + geom_candlestick()) 8. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 9. │ └─ggplot2:::by_layer(...) 10. │ ├─rlang::try_fetch(...) 11. │ │ ├─base::tryCatch(...) 12. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ │ └─base::withCallingHandlers(...) 16. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 17. │ └─l$compute_aesthetics(d, plot) 18. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 19. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 20. │ └─ggplot2 (local) add_defaults(..., self = self) 21. │ ├─self$add(find_scale(aes, data[[aes]], env)) 22. │ │ └─ggplot2 (local) add(..., self = self) 23. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 24. │ ├─base::is.infinite(x) 25. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 26. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 27. │ │ └─vecvec::is_vecvec(x) 28. │ └─vecvec::vecvec_apply(x, .f) 29. │ └─vctrs::vec_is_empty(x) 30. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 31. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 32. │ └─vecvec (local) vec_proxy(x = x) 33. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 34. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 35. │ └─vecvec:::vv_index(x) 36. └─base::.handleSimpleError(...) 37. └─rlang (local) h(simpleError(msg, call)) 38. └─handlers[[1L]](cnd) 39. └─cli::cli_abort(...) 40. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:315:3'): values to summarise must be mapped ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-geom-candlestick.R:315:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggplot2::ggplot_build(ggplot(df, aes(time)) + geom_candlestick(granule = mixtime::days(1L))) 8. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(ggplot(df, aes(time)) + geom_candlestick(granule = mixtime::days(1L))) 9. │ └─ggplot2:::by_layer(...) 10. │ ├─rlang::try_fetch(...) 11. │ │ ├─base::tryCatch(...) 12. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ │ └─base::withCallingHandlers(...) 16. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 17. │ └─l$compute_aesthetics(d, plot) 18. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 19. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 20. │ └─ggplot2 (local) add_defaults(..., self = self) 21. │ ├─self$add(find_scale(aes, data[[aes]], env)) 22. │ │ └─ggplot2 (local) add(..., self = self) 23. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 24. │ ├─base::is.infinite(x) 25. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 26. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 27. │ │ └─vecvec::is_vecvec(x) 28. │ └─vecvec::vecvec_apply(x, .f) 29. │ └─vctrs::vec_is_empty(x) 30. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 31. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 32. │ └─vecvec (local) vec_proxy(x = x) 33. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 34. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 35. │ └─vecvec:::vv_index(x) 36. └─base::.handleSimpleError(...) 37. └─rlang (local) h(simpleError(msg, call)) 38. └─handlers[[1L]](cnd) 39. └─cli::cli_abort(...) 40. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:324:3'): candlesticks draw a high-low line and an open-close body ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::layer_grob(ggplot(hourly(3), aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:324:3 2. │ ├─ggplot2::ggplot_build(plot) 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-time-line.R:41:3'): local positions can be read back as instants ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(built_instants(local), as.numeric(time)) at test-geom-time-line.R:41:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) built_instants(local) 5. │ ├─ggplot2::ggplot_build(p) at test-geom-time-line.R:11:3 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 18. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 19. │ └─rlang (local) FUN(X[[i]], ...) 20. ├─ggtime:::default_timeoffset(time) 21. │ └─mixtime::tz_offset(x) 22. │ ├─S7::S7_dispatch() 23. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 24. │ ├─mixtime::duration(...) 25. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 26. │ │ └─mixtime::time_calendar(data) 27. │ │ └─S7::S7_dispatch() 28. │ ├─mixtime:::get_tz_offset(x, tz) 29. │ └─mixtime::tz_name(time_chronon(x)) 30. │ ├─S7::S7_dispatch() 31. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 32. │ └─vecvec::vecvec_apply(x, tz_name) 33. │ └─vctrs::vec_is_empty(x) 34. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 35. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 36. │ └─vecvec (local) vec_proxy(x = x) 37. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 38. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 39. │ └─vecvec:::vv_index(x) 40. └─base::.handleSimpleError(...) 41. └─rlang (local) h(simpleError(msg, call)) 42. └─handlers[[1L]](cnd) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) ── Error ('test-geom-time-line.R:50:5'): the scale converts offsets without them reaching the axis ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) built(mixtime::cal_gregorian$hour(1L, tz = NA)) at test-geom-time-line.R:59:3 2. │ ├─ggplot2::ggplot_build(...) at test-geom-time-line.R:50:5 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 15. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 16. │ └─rlang (local) FUN(X[[i]], ...) 17. ├─ggtime:::default_timeoffset(time) 18. │ └─mixtime::tz_offset(x) 19. │ ├─S7::S7_dispatch() 20. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 21. │ ├─mixtime::duration(...) 22. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 23. │ │ └─mixtime::time_calendar(data) 24. │ │ └─S7::S7_dispatch() 25. │ ├─mixtime:::get_tz_offset(x, tz) 26. │ └─mixtime::tz_name(time_chronon(x)) 27. │ ├─S7::S7_dispatch() 28. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 29. │ └─vecvec::vecvec_apply(x, tz_name) 30. │ └─vctrs::vec_is_empty(x) 31. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 32. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 33. │ └─vecvec (local) vec_proxy(x = x) 34. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 35. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 36. │ └─vecvec:::vv_index(x) 37. └─base::.handleSimpleError(...) 38. └─rlang (local) h(simpleError(msg, call)) 39. └─handlers[[1L]](cnd) 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-geom-time-line.R:83:3'): offsets given at several granularities are each converted ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::c(hours, days) at test-geom-time-line.R:83:3 2. └─mixtime (local) `c.mixtime::mixtime`(hours, days) at test-geom-time-line.R:83:3 3. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 4. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 5. └─vecvec (local) vec_proxy(x = x) 6. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 7. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 8. └─vecvec:::vv_index(x) ── Error ('test-geom-time-line.R:110:3'): a bare number is not accepted as an offset ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(ggplot_build(plot(df)), "must be a duration") at test-geom-time-line.R:110:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggplot2::ggplot_build(plot(df)) 8. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot(df)) 9. │ └─ggplot2:::by_layer(...) 10. │ ├─rlang::try_fetch(...) 11. │ │ ├─base::tryCatch(...) 12. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ │ └─base::withCallingHandlers(...) 16. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 17. │ └─l$compute_aesthetics(d, plot) 18. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 19. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 20. │ └─ggplot2 (local) add_defaults(..., self = self) 21. │ ├─self$add(find_scale(aes, data[[aes]], env)) 22. │ │ └─ggplot2 (local) add(..., self = self) 23. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 24. │ ├─base::is.infinite(x) 25. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 26. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 27. │ │ └─vecvec::is_vecvec(x) 28. │ └─vecvec::vecvec_apply(x, .f) 29. │ └─vctrs::vec_is_empty(x) 30. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 31. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 32. │ └─vecvec (local) vec_proxy(x = x) 33. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 34. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 35. │ └─vecvec:::vv_index(x) 36. └─base::.handleSimpleError(...) 37. └─rlang (local) h(simpleError(msg, call)) 38. └─handlers[[1L]](cnd) 39. └─cli::cli_abort(...) 40. └─rlang::abort(...) ── Error ('test-geom-time-line.R:146:5'): a transitions table says what its columns are ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(jump(mixtime::seconds(2700L)), jump(mixtime::minutes(45L))) at test-geom-time-line.R:163:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime (local) jump(mixtime::seconds(2700L)) 5. └─ggtime::geom_time_line(...) at test-geom-time-line.R:146:5 6. ├─ggplot2::layer(...) 7. ├─rlang::list2(...) 8. └─ggtime:::check_transitions(transitions) 9. └─mixtime::time_is_duration(x) 10. ├─S7::S7_dispatch() 11. └─mixtime (local) `method(time_is_duration, mixtime::mixtime)`(...) 12. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f, ...), ptype = `<lgl>`) 13. │ └─vecvec::is_vecvec(x) 14. └─vecvec::vecvec_apply(x, .f, ...) 15. └─vctrs::vec_is_empty(x) 16. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 17. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 18. └─vecvec (local) vec_proxy(x = x) 19. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 20. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 21. └─vecvec:::vv_index(x) ── Error ('test-geom-time-line.R:175:5'): a timezone transition is drawn as a dashed jump in local time ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) linetypes(mixtime::cal_gregorian$hour(1L, tz = NA)) at test-geom-time-line.R:179:3 2. │ └─ggplot2::layer_grob(p) at test-geom-time-line.R:175:5 3. │ ├─ggplot2::ggplot_build(plot) 4. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 5. │ └─ggplot2:::by_layer(...) 6. │ ├─rlang::try_fetch(...) 7. │ │ ├─base::tryCatch(...) 8. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 13. │ └─l$compute_aesthetics(d, plot) 14. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 15. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 16. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 17. │ └─rlang (local) FUN(X[[i]], ...) 18. ├─ggtime:::default_timeoffset(time) 19. │ └─mixtime::tz_offset(x) 20. │ ├─S7::S7_dispatch() 21. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 22. │ ├─mixtime::duration(...) 23. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 24. │ │ └─mixtime::time_calendar(data) 25. │ │ └─S7::S7_dispatch() 26. │ ├─mixtime:::get_tz_offset(x, tz) 27. │ └─mixtime::tz_name(time_chronon(x)) 28. │ ├─S7::S7_dispatch() 29. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 30. │ └─vecvec::vecvec_apply(x, tz_name) 31. │ └─vctrs::vec_is_empty(x) 32. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 33. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 34. │ └─vecvec (local) vec_proxy(x = x) 35. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 36. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 37. │ └─vecvec:::vv_index(x) 38. └─base::.handleSimpleError(...) 39. └─rlang (local) h(simpleError(msg, call)) 40. └─handlers[[1L]](cnd) 41. └─cli::cli_abort(...) 42. └─rlang::abort(...) ── Error ('test-geom-time-line.R:217:3'): a timezone transition is drawn as a dashed jump on the y axis too ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(sum(layer_grob(p)[[1]]$gp$lty == 2), 1) at test-geom-time-line.R:217:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggplot2::layer_grob(p) 5. │ ├─ggplot2::ggplot_build(plot) 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 18. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 19. │ └─rlang (local) FUN(X[[i]], ...) 20. ├─ggtime:::default_timeoffset(time) 21. │ └─mixtime::tz_offset(x) 22. │ ├─S7::S7_dispatch() 23. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 24. │ ├─mixtime::duration(...) 25. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 26. │ │ └─mixtime::time_calendar(data) 27. │ │ └─S7::S7_dispatch() 28. │ ├─mixtime:::get_tz_offset(x, tz) 29. │ └─mixtime::tz_name(time_chronon(x)) 30. │ ├─S7::S7_dispatch() 31. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 32. │ └─vecvec::vecvec_apply(x, tz_name) 33. │ └─vctrs::vec_is_empty(x) 34. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 35. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 36. │ └─vecvec (local) vec_proxy(x = x) 37. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 38. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 39. │ └─vecvec:::vv_index(x) 40. └─base::.handleSimpleError(...) 41. └─rlang (local) h(simpleError(msg, call)) 42. └─handlers[[1L]](cnd) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) ── Error ('test-geom-time-line.R:245:3'): transitions on x and y are both resolved, without interfering ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::layer_grob(p) at test-geom-time-line.R:245:3 2. │ ├─ggplot2::ggplot_build(plot) 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 15. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 16. │ └─rlang (local) FUN(X[[i]], ...) 17. ├─ggtime:::default_timeoffset(x_time) 18. │ └─mixtime::tz_offset(x) 19. │ ├─S7::S7_dispatch() 20. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 21. │ ├─mixtime::duration(...) 22. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 23. │ │ └─mixtime::time_calendar(data) 24. │ │ └─S7::S7_dispatch() 25. │ ├─mixtime:::get_tz_offset(x, tz) 26. │ └─mixtime::tz_name(time_chronon(x)) 27. │ ├─S7::S7_dispatch() 28. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 29. │ └─vecvec::vecvec_apply(x, tz_name) 30. │ └─vctrs::vec_is_empty(x) 31. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 32. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 33. │ └─vecvec (local) vec_proxy(x = x) 34. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 35. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 36. │ └─vecvec:::vv_index(x) 37. └─base::.handleSimpleError(...) 38. └─rlang (local) h(simpleError(msg, call)) 39. └─handlers[[1L]](cnd) 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-geom-time-line.R:264:3'): transition_aesthetics overrides the transition segment's style ── Error in `geom_time_line(transition_aesthetics = transition_aesthetics)`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::layer_grob(plot()) at test-geom-time-line.R:264:3 2. │ ├─ggplot2::ggplot_build(plot) 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 15. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 16. │ └─rlang (local) FUN(X[[i]], ...) 17. ├─ggtime:::default_timeoffset(time) 18. │ └─mixtime::tz_offset(x) 19. │ ├─S7::S7_dispatch() 20. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 21. │ ├─mixtime::duration(...) 22. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 23. │ │ └─mixtime::time_calendar(data) 24. │ │ └─S7::S7_dispatch() 25. │ ├─mixtime:::get_tz_offset(x, tz) 26. │ └─mixtime::tz_name(time_chronon(x)) 27. │ ├─S7::S7_dispatch() 28. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 29. │ └─vecvec::vecvec_apply(x, tz_name) 30. │ └─vctrs::vec_is_empty(x) 31. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 32. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 33. │ └─vecvec (local) vec_proxy(x = x) 34. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 35. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 36. │ └─vecvec:::vv_index(x) 37. └─base::.handleSimpleError(...) 38. └─rlang (local) h(simpleError(msg, call)) 39. └─handlers[[1L]](cnd) 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-geom-time-line.R:303:3'): transitions are not resolved when the scale has no naive chronon ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(sum(layer_grob(p)[[1]]$gp$lty == 2), 0) at test-geom-time-line.R:303:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggplot2::layer_grob(p) 5. │ ├─ggplot2::ggplot_build(plot) 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 18. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 19. │ └─rlang (local) FUN(X[[i]], ...) 20. ├─ggtime:::default_timeoffset(time) 21. │ └─mixtime::tz_offset(x) 22. │ ├─S7::S7_dispatch() 23. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 24. │ ├─mixtime::duration(...) 25. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 26. │ │ └─mixtime::time_calendar(data) 27. │ │ └─S7::S7_dispatch() 28. │ ├─mixtime:::get_tz_offset(x, tz) 29. │ └─mixtime::tz_name(time_chronon(x)) 30. │ ├─S7::S7_dispatch() 31. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 32. │ └─vecvec::vecvec_apply(x, tz_name) 33. │ └─vctrs::vec_is_empty(x) 34. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 35. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 36. │ └─vecvec (local) vec_proxy(x = x) 37. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 38. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 39. │ └─vecvec:::vv_index(x) 40. └─base::.handleSimpleError(...) 41. └─rlang (local) h(simpleError(msg, call)) 42. └─handlers[[1L]](cnd) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) ── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ───────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-lag.R:24:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─tsibble::n_keys(data) 4. │ ├─vctrs::vec_size(key_data(x)) 5. │ └─tsibble::key_data(x) 6. └─ggtime (local) lag_tsbl(mixtime::yearmonth(monthly_dates)) 7. └─tsibble::tsibble(t = index, y = sin(seq_along(index)), index = t) at test-gg-lag.R:2:3 8. └─tibble::tibble(...) 9. └─tibble:::tibble_quos(xs, .rows, .name_repair) 10. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 11. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 12. ├─base::which(!map_lgl(x, is_valid_col)) 13. └─tibble:::map_lgl(x, is_valid_col) 14. └─tibble:::map_mold(.x, .f, logical(1), ...) 15. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 16. └─tibble (local) FUN(X[[i]], ...) 17. └─vctrs::vec_is(x) 18. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 19. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-gg-lag.R:47:3'): gg_lag() accepts a period for mixtime indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) lag_tsbl(mixtime::yearmonth(monthly_dates)) at test-gg-lag.R:47:3 2. └─tsibble::tsibble(t = index, y = sin(seq_along(index)), index = t) at test-gg-lag.R:2:3 3. └─tibble::tibble(...) 4. └─tibble:::tibble_quos(xs, .rows, .name_repair) 5. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 6. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 7. ├─base::which(!map_lgl(x, is_valid_col)) 8. └─tibble:::map_lgl(x, is_valid_col) 9. └─tibble:::map_mold(.x, .f, logical(1), ...) 10. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 11. └─tibble (local) FUN(X[[i]], ...) 12. └─vctrs::vec_is(x) 13. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 14. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 15. └─vecvec (local) vec_proxy(x = x) 16. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 17. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 18. └─vecvec:::vv_index(x) ── Error ('test-gg-lag.R:64:3'): gg_lag() supports legacy indices ────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-lag.R:64:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─data %>% as_tibble %>% ... 4. ├─dplyr::mutate(...) 5. ├─dplyr:::mutate.data.frame(...) 6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 9. │ └─mask$eval_all_mutate(quo) 10. │ └─dplyr (local) eval() 11. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 12. │ └─ggtime:::season_position(x, period) 13. │ └─mixtime::time_floor(x, period) 14. │ ├─S7::S7_dispatch() 15. │ └─mixtime (local) `method(time_floor, mixtime::mixtime)`(...) 16. │ └─vecvec::vecvec_apply(x, .f, granule = granule, ...) 17. │ └─vctrs::vec_is_empty(x) 18. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 19. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. │ └─vecvec (local) vec_proxy(x = x) 21. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. │ └─vecvec:::vv_index(x) 24. └─base::.handleSimpleError(...) 25. └─dplyr (local) h(simpleError(msg, call)) 26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(mixtime::yearweek(weekly_dates))) at test-gg-lag.R:81:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─tsibble::n_keys(data) 4. │ ├─vctrs::vec_size(key_data(x)) 5. │ └─tsibble::key_data(x) 6. └─ggtime (local) lag_tsbl(mixtime::yearweek(weekly_dates)) 7. └─tsibble::tsibble(t = index, y = sin(seq_along(index)), index = t) at test-gg-lag.R:2:3 8. └─tibble::tibble(...) 9. └─tibble:::tibble_quos(xs, .rows, .name_repair) 10. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 11. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 12. ├─base::which(!map_lgl(x, is_valid_col)) 13. └─tibble:::map_lgl(x, is_valid_col) 14. └─tibble:::map_mold(.x, .f, logical(1), ...) 15. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 16. └─tibble (local) FUN(X[[i]], ...) 17. └─vctrs::vec_is(x) 18. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 19. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-gg-lag.R:127:3'): gg_tsdisplay() supports mixtime and legacy indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_tsdisplay_season(lag_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-lag.R:127:3 2. │ └─ggtime::gg_tsdisplay(data, y) at test-gg-lag.R:115:3 3. │ └─tsibble::n_keys(data) 4. │ ├─vctrs::vec_size(key_data(x)) 5. │ └─tsibble::key_data(x) 6. └─ggtime (local) lag_tsbl(mixtime::yearmonth(monthly_dates)) 7. └─tsibble::tsibble(t = index, y = sin(seq_along(index)), index = t) at test-gg-lag.R:2:3 8. └─tibble::tibble(...) 9. └─tibble:::tibble_quos(xs, .rows, .name_repair) 10. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 11. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 12. ├─base::which(!map_lgl(x, is_valid_col)) 13. └─tibble:::map_lgl(x, is_valid_col) 14. └─tibble:::map_mold(.x, .f, logical(1), ...) 15. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 16. └─tibble (local) FUN(X[[i]], ...) 17. └─vctrs::vec_is(x) 18. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 19. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:29:3'): gg_subseries() supports mixtime indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-subseries.R:29:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─tsibble::key(data) 4. └─ggtime (local) subseries_tsbl(mixtime::yearmonth(monthly_dates)) 5. └─tsibble::tsibble(t = index, y = seq_along(index), index = t) at test-gg-subseries.R:2:3 6. └─tibble::tibble(...) 7. └─tibble:::tibble_quos(xs, .rows, .name_repair) 8. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 9. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 10. ├─base::which(!map_lgl(x, is_valid_col)) 11. └─tibble:::map_lgl(x, is_valid_col) 12. └─tibble:::map_mold(.x, .f, logical(1), ...) 13. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 14. └─tibble (local) FUN(X[[i]], ...) 15. └─vctrs::vec_is(x) 16. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 17. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 18. └─vecvec (local) vec_proxy(x = x) 19. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 20. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 21. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:55:3'): gg_subseries() supports legacy indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) expect_subseries_builds(subseries_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-subseries.R:55:3 2. └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 5. └─tibble:::tbl_subassign(...) 6. └─tibble:::vectbl_recycle_rhs_rows(...) 7. ├─base::withCallingHandlers(...) 8. └─vctrs::vec_recycle(value[[j]], nrow) 9. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 10. └─vecvec (local) vec_proxy(x = x) 11. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 12. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 13. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:65:3'): gg_subseries() labels legacy indices with times ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) expect_subseries_builds(subseries_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-subseries.R:65:3 2. └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 5. └─tibble:::tbl_subassign(...) 6. └─tibble:::vectbl_recycle_rhs_rows(...) 7. ├─base::withCallingHandlers(...) 8. └─vctrs::vec_recycle(value[[j]], nrow) 9. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 10. └─vecvec (local) vec_proxy(x = x) 11. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 12. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 13. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:84:3'): gg_subseries() defaults to the smallest seasonal period ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) expect_subseries_builds(subseries_tsbl(daily_dates)) at test-gg-subseries.R:84:3 2. └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 5. └─tibble:::tbl_subassign(...) 6. └─tibble:::vectbl_recycle_rhs_rows(...) 7. ├─base::withCallingHandlers(...) 8. └─vctrs::vec_recycle(value[[j]], nrow) 9. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 10. └─vecvec (local) vec_proxy(x = x) 11. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 12. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 13. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:97:3'): gg_subseries() breaks the axis every few seasons ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(...) at test-gg-subseries.R:97:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─tsibble::key(data) 4. └─ggtime (local) subseries_tsbl(mixtime::as_mixtime(hourly_times)) 5. └─tsibble::tsibble(t = index, y = seq_along(index), index = t) at test-gg-subseries.R:2:3 6. └─tibble::tibble(...) 7. └─tibble:::tibble_quos(xs, .rows, .name_repair) 8. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 9. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 10. ├─base::which(!map_lgl(x, is_valid_col)) 11. └─tibble:::map_lgl(x, is_valid_col) 12. └─tibble:::map_mold(.x, .f, logical(1), ...) 13. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 14. └─tibble (local) FUN(X[[i]], ...) 15. └─vctrs::vec_is(x) 16. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 17. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 18. └─vecvec (local) vec_proxy(x = x) 19. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 20. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 21. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:118:3'): gg_subseries() and gg_season() evaluate y with the original index ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_subseries(data, y/lubridate::days_in_month(t)) at test-gg-subseries.R:118:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:207:3'): loop_cuts() does not add an empty trailing loop ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-loop-cut.R:207:3 2. │ └─ggplot2:::try_prop(plot, "plot_env") 3. │ └─S7::S7_inherits(object) 4. │ └─S7:::has_S7_class(x) 5. └─ggtime::coord_loop(time_loops = mixtime::years(1L)) 6. └─ggtime:::duration_as_granule(time_loops) 7. └─vctrs::vec_size(x) 8. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:258:3'): cuts land on the granule's boundaries across a daylight saving change ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime:::loop_cuts_by_duration(range, duration_as_granule(mixtime::days(1L))) at test-loop-cut.R:258:3 2. │ └─ggtime:::granule_seq_by(time_range, granule) 3. │ └─base::paste(granule@n, mixtime::time_unit_plural(granule)) 4. └─ggtime:::duration_as_granule(mixtime::days(1L)) 5. └─vctrs::vec_size(x) 6. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:292:3'): cuts are not skipped across a pair of daylight saving changes ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::duration_as_granule(mixtime::days(1L)) at test-loop-cut.R:292:3 2. └─vctrs::vec_size(x) 3. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 4. └─vecvec (local) vec_proxy(x = x) 5. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 6. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 7. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:317:3'): cuts spanning a range are not disturbed by snapping ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime:::loop_cuts_by_duration(range, duration_as_granule(mixtime::months(3L))) at test-loop-cut.R:317:3 2. │ └─ggtime:::granule_seq_by(time_range, granule) 3. │ └─base::paste(granule@n, mixtime::time_unit_plural(granule)) 4. └─ggtime:::duration_as_granule(mixtime::months(3L)) 5. └─vctrs::vec_size(x) 6. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:357:1'): (code run outside of `test_that()`) ──────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::duration_as_granule(mixtime::days(1L)) at test-loop-cut.R:357:1 2. └─vctrs::vec_size(x) 3. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 4. └─vecvec (local) vec_proxy(x = x) 5. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 6. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 7. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:9:3'): gg_season() plots ──────────────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(tsbl_co2, value) at test-plot-helpers.R:9:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:48:3'): gg_season() plot labels ───────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(tsbl_co2, value, labels = "both") at test-plot-helpers.R:48:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:72:3'): gg_season() facets ────────────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(...) at test-plot-helpers.R:72:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:96:3'): gg_season() loops time, drawing seasonal connections in the margins ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(tsbl_co2, value) at test-plot-helpers.R:96:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:127:3'): gg_season() supports legacy Date and POSIXct indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::layer_data(gg_season(daily, y, "week")) at test-plot-helpers.R:127:3 2. │ └─ggplot2::ggplot_build(plot) 3. │ └─ggplot2:::try_prop(plot, "plot_env") 4. │ └─S7::S7_inherits(object) 5. │ └─S7:::has_S7_class(x) 6. └─ggtime::gg_season(daily, y, "week") 7. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 8. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 9. └─tibble:::tbl_subassign(...) 10. └─tibble:::vectbl_recycle_rhs_rows(...) 11. ├─base::withCallingHandlers(...) 12. └─vctrs::vec_recycle(value[[j]], nrow) 13. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:140:3'): gg_season() breaks the time axis at observations ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(tsbl_co2, value) at test-plot-helpers.R:140:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:154:3'): gg_season() loops weekly data over ISO week-years ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(weekly, y) at test-plot-helpers.R:154:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:160:3'): gg_subseries() plots ─────────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_subseries(tsbl_co2, value) at test-plot-helpers.R:160:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:198:3'): gg_lag() plots ───────────────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime::gg_lag(tsbl_co2, value) at test-plot-helpers.R:198:3 2. │ └─data %>% as_tibble %>% ... 3. ├─dplyr::mutate(...) 4. ├─dplyr:::mutate.data.frame(...) 5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 6. │ ├─base::withCallingHandlers(...) 7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 8. │ └─mask$eval_all_mutate(quo) 9. │ └─dplyr (local) eval() 10. ├─ggtime:::season_position_factor(as_mixtime_index(index), period) 11. │ └─ggtime:::season_position(x, period) 12. │ └─mixtime::time_floor(x, period) 13. │ ├─S7::S7_dispatch() 14. │ └─mixtime (local) `method(time_floor, mixtime::mixtime)`(...) 15. │ └─vecvec::vecvec_apply(x, .f, granule = granule, ...) 16. │ └─vctrs::vec_is_empty(x) 17. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 18. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. │ └─vecvec (local) vec_proxy(x = x) 20. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. │ └─vecvec:::vv_index(x) 23. └─base::.handleSimpleError(...) 24. └─dplyr (local) h(simpleError(msg, call)) 25. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:246:3'): gg_tsdisplay() plots ─────────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_tsdisplay(tsbl_co2, value) at test-plot-helpers.R:246:3 2. ├─ggplot2::autoplot(feasts::ACF(data, !!y, lag_max = lag_max)) 3. └─ggtime:::autoplot.tbl_cf(feasts::ACF(data, !!y, lag_max = lag_max)) 4. ├─base::`[[<-`(`*tmp*`, "lag", value = `<mixtime>`) 5. └─tibble:::`[[<-.tbl_df`(`*tmp*`, "lag", value = `<mixtime>`) 6. └─tibble:::tbl_subassign(...) 7. └─tibble:::vectbl_recycle_rhs_rows(...) 8. ├─base::withCallingHandlers(...) 9. └─vctrs::vec_recycle(value[[j]], nrow) 10. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 11. └─vecvec (local) vec_proxy(x = x) 12. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 13. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 14. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:365:3'): as_period_granule() parses periods without lubridate ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-plot-helpers.R:365:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime:::as_period_granule(mixtime::weeks(2L), NULL) 5. └─mixtime::time_is_duration(period) 6. ├─S7::S7_dispatch() 7. └─mixtime (local) `method(time_is_duration, mixtime::mixtime)`(...) 8. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f, ...), ptype = `<lgl>`) 9. │ └─vecvec::is_vecvec(x) 10. └─vecvec::vecvec_apply(x, .f, ...) 11. └─vctrs::vec_is_empty(x) 12. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 13. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:539:3'): lag_to_duration() converts lags to mixtime durations ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-plot-helpers.R:539:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::format(lag_to_duration(lag(2, cal$hour(3L)))) 5. └─vecvec (local) `format.vecvec::vecvec`(lag_to_duration(lag(2, cal$hour(3L)))) 6. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:583:3'): lag_to_duration() passes mixtime durations through ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_identical(lag_to_duration(d), d) at test-plot-helpers.R:583:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime:::lag_to_duration(d) 5. └─mixtime::time_is_duration(lag) 6. ├─S7::S7_dispatch() 7. └─mixtime (local) `method(time_is_duration, mixtime::mixtime)`(...) 8. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f, ...), ptype = `<lgl>`) 9. │ └─vecvec::is_vecvec(x) 10. └─vecvec::vecvec_apply(x, .f, ...) 11. └─vctrs::vec_is_empty(x) 12. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 13. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:13:3'): durations are labelled as durations ─────── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_match(scale_labels(p), "days$") at test-scale-time.R:13:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) scale_labels(p) 5. │ ├─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-scale-time.R:18:3'): time_breaks on durations are labelled as durations ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::scale_x_mixtime(time_breaks = mixtime::quarters(4L)) at test-scale-time.R:18:3 2. └─ggtime:::mixtime_scale(...) 3. └─ggtime:::duration_as_granule(time_breaks, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:32:5'): default breaks step by how the chronon nests in coarser granules ── Error in `geom_point()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-scale-time.R:36:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) breaks_of(mixtime::quarters(0:20)) 5. │ └─ggtime (local) scale_labels(p) at test-scale-time.R:32:5 6. │ ├─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 7. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$compute_aesthetics(d, plot) 17. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 18. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 19. │ └─ggplot2 (local) add_defaults(..., self = self) 20. │ ├─self$add(find_scale(aes, data[[aes]], env)) 21. │ │ └─ggplot2 (local) add(..., self = self) 22. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 23. │ ├─base::is.infinite(x) 24. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 25. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 26. │ │ └─vecvec::is_vecvec(x) 27. │ └─vecvec::vecvec_apply(x, .f) 28. │ └─vctrs::vec_is_empty(x) 29. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 30. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 31. │ └─vecvec (local) vec_proxy(x = x) 32. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 33. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 34. │ └─vecvec:::vv_index(x) 35. └─base::.handleSimpleError(...) 36. └─rlang (local) h(simpleError(msg, call)) 37. └─handlers[[1L]](cnd) 38. └─cli::cli_abort(...) 39. └─rlang::abort(...) ── Error ('test-scale-time.R:67:3'): mixed granularity durations share the finest chronon ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-scale-time.R:67:3 2. ├─base::c(mixtime::days(1:5), mixtime::hours(c(140, 160))) 3. └─mixtime (local) `c.mixtime::mixtime`(...) 4. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 5. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:77:3'): durations can't be scaled alongside other modes of time ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-scale-time.R:77:3 2. ├─base::c(mixtime::days(1:3), mixtime::date("2021-01-01")) 3. └─mixtime (local) `c.mixtime::mixtime`(mixtime::days(1:3), mixtime::date("2021-01-01")) 4. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 5. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:90:3'): time points are unaffected by duration handling ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_match(scale_labels(p), "^20[0-9]{2} [A-Z][a-z]{2}") at test-scale-time.R:90:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) scale_labels(p) 5. │ ├─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-scale-time.R:96:3'): break widths must be a single duration ──── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-scale-time.R:96:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggtime::scale_x_mixtime(...) 8. │ └─ggtime:::mixtime_scale(...) 9. │ └─ggtime:::is_waiver(time_breaks) 10. ├─base::c(mixtime::months(1L), mixtime::years(1L)) 11. └─mixtime (local) `c.mixtime::mixtime`(mixtime::months(1L), mixtime::years(1L)) 12. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 13. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:129:3'): break widths can be given as a granule directly ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-scale-time.R:129:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) scale_labels(p + scale_x_mixtime(time_breaks = mixtime::years(1L))) 5. │ └─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 6. │ └─ggplot2:::try_prop(plot, "plot_env") 7. │ └─S7::S7_inherits(object) 8. │ └─S7:::has_S7_class(x) 9. └─ggtime::scale_x_mixtime(time_breaks = mixtime::years(1L)) 10. └─ggtime:::mixtime_scale(...) 11. └─ggtime:::duration_as_granule(time_breaks, call = call) 12. └─vctrs::vec_size(x) 13. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:148:3'): time_breaks steps through the limits by a duration ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(x = mixtime::date("2020-01-06") + 0:60, y = 1:61) at test-scale-time.R:148:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2020-01-06"), 0:60) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:170:3'): coarser discrete breaks are placed at the start of each time point ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(x = mixtime::date("2021-01-01") + 0:89, y = 1:90) at test-scale-time.R:170:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2021-01-01"), 0:89) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:186:3'): time_labels formats breaks with a mixtime format string ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(x = mixtime::date("2020-01-06") + 0:6, y = 1:7) at test-scale-time.R:186:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2020-01-06"), 0:6) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:204:3'): default labels drop the within-chronon position when breaks are whole ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(x = mixtime::date("2024-01-01") + 0:20, y = 1:21) at test-scale-time.R:204:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2024-01-01"), 0:20) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:216:3'): fractional within-chronon positions are still shown ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─mixtime:::`Ops.mixtime::mixtime`(...) at test-scale-time.R:216:3 2. ├─base::NextMethod() 3. └─vecvec:::`Ops.vecvec::vecvec`(...) 4. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 5. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:240:3'): time_labels formats timezone-aware breaks ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::scale_x_mixtime(...) at test-scale-time.R:240:3 2. └─ggtime:::mixtime_scale(...) 3. └─ggtime:::duration_as_granule(time_breaks, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:266:3'): default labels leave the axis's timezone out ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_match(scale_labels(p), "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$") at test-scale-time.R:266:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) scale_labels(p) 5. │ ├─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-scale-time.R:289:3'): time_breaks labels name the granule the breaks step by ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-scale-time.R:289:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(...) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:341:3'): break granules finer than the chronon fall within it ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::scale_x_mixtime(time_breaks = mixtime::days(1L)) at test-scale-time.R:341:3 2. └─ggtime:::mixtime_scale(...) 3. └─ggtime:::duration_as_granule(time_breaks, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:391:3'): chronons measured from a non-zero epoch keep their own time ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(ggplot_build(p)$data[[1]]$x, 50:55 + 0.5) at test-scale-time.R:391:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggplot2::ggplot_build(p) 5. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 6. │ └─ggplot2:::by_layer(...) 7. │ ├─rlang::try_fetch(...) 8. │ │ ├─base::tryCatch(...) 9. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. │ │ └─base::withCallingHandlers(...) 13. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 14. │ └─l$compute_aesthetics(d, plot) 15. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 16. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 17. │ └─ggplot2 (local) add_defaults(..., self = self) 18. │ ├─self$add(find_scale(aes, data[[aes]], env)) 19. │ │ └─ggplot2 (local) add(..., self = self) 20. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 21. │ ├─base::is.infinite(x) 22. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 23. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 24. │ │ └─vecvec::is_vecvec(x) 25. │ └─vecvec::vecvec_apply(x, .f) 26. │ └─vctrs::vec_is_empty(x) 27. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 28. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 29. │ └─vecvec (local) vec_proxy(x = x) 30. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 31. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 32. │ └─vecvec:::vv_index(x) 33. └─base::.handleSimpleError(...) 34. └─rlang (local) h(simpleError(msg, call)) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) [ FAIL 153 | WARN 22 | SKIP 8 | PASS 177 ] Deleting unused snapshots: 'coord-calendar/flipped-pane-and-column-gaps.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/78s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ggtime) > > test_check("ggtime") Saving _problems/test-coord-calendar-84.R Saving _problems/test-coord-calendar-98.R Saving _problems/test-coord-calendar-122.R Saving _problems/test-coord-calendar-168.R Saving _problems/test-coord-calendar-180.R Saving _problems/test-coord-calendar-213.R Saving _problems/test-coord-calendar-246.R Saving _problems/test-coord-calendar-260.R Saving _problems/test-coord-calendar-280.R Saving _problems/test-coord-calendar-338.R Saving _problems/test-coord-calendar-366.R Saving _problems/test-coord-calendar-397.R Saving _problems/test-coord-calendar-508.R Saving _problems/test-coord-calendar-584.R Saving _problems/test-coord-calendar-609.R Saving _problems/test-coord-calendar-644.R Saving _problems/test-coord-calendar-659.R Saving _problems/test-coord-calendar-694.R Saving _problems/test-coord-calendar-723.R Saving _problems/test-coord-calendar-747.R Saving _problems/test-coord-calendar-791.R Saving _problems/test-coord-calendar-817.R Saving _problems/test-coord-calendar-857.R Saving _problems/test-coord-calendar-938.R Saving _problems/test-coord-calendar-968.R Saving _problems/test-coord-calendar-1001.R Saving _problems/test-coord-calendar-1025.R Saving _problems/test-coord-calendar-1047.R Saving _problems/test-coord-calendar-1128.R Saving _problems/test-coord-calendar-1195.R Saving _problems/test-coord-calendar-1269.R Saving _problems/test-coord-calendar-1308.R Saving _problems/test-coord-calendar-1354.R Saving _problems/test-coord-calendar-1412.R Saving _problems/test-coord-calendar-1458.R Saving _problems/test-coord-calendar-1490.R Saving _problems/test-coord-calendar-1540.R Saving _problems/test-coord-calendar-1568.R Saving _problems/test-coord-calendar-1631.R Saving _problems/test-coord-calendar-1667.R Saving _problems/test-coord-calendar-1682.R Saving _problems/test-coord-calendar-1712.R Saving _problems/test-coord-calendar-1727.R Saving _problems/test-coord-calendar-1755.R Saving _problems/test-coord-calendar-1767.R Saving _problems/test-coord-calendar-1785.R Saving _problems/test-coord-calendar-1802.R Saving _problems/test-coord-calendar-1849.R Saving _problems/test-coord-calendar-1877.R Saving _problems/test-coord-calendar-1907.R Saving _problems/test-coord-calendar-1897.R Saving _problems/test-coord-calendar-1989.R Saving _problems/test-coord-calendar-2020.R Saving _problems/test-coord-calendar-2052.R Saving _problems/test-coord-calendar-2101.R Saving _problems/test-coord-calendar-2137.R Saving _problems/test-coord-calendar-2186.R Saving _problems/test-coord-calendar-2213.R Saving _problems/test-coord-calendar-2233.R Saving _problems/test-coord-calendar-2251.R Saving _problems/test-coord-calendar-2286.R Saving _problems/test-coord-calendar-2308.R Saving _problems/test-coord-calendar-2379.R Saving _problems/test-coord-calendar-2419.R Saving _problems/test-coord-calendar-2456.R Saving _problems/test-coord-calendar-2540.R Saving _problems/test-coord-calendar-2585.R Saving _problems/test-coord-calendar-2625.R Saving _problems/test-coord-loop-74.R Saving _problems/test-coord-loop-92.R Saving _problems/test-coord-loop-126.R Saving _problems/test-coord-loop-148.R Saving _problems/test-coord-loop-162.R Saving _problems/test-coord-loop-228.R Saving _problems/test-coord-loop-274.R Saving _problems/test-coord-loop-298.R Saving _problems/test-coord-loop-357.R Saving _problems/test-coord-loop-393.R Saving _problems/test-coord-loop-415.R Saving _problems/test-geom-candlestick-32.R Saving _problems/test-geom-candlestick-52.R Saving _problems/test-geom-candlestick-67.R Saving _problems/test-geom-candlestick-95.R Saving _problems/test-geom-candlestick-105.R Saving _problems/test-geom-candlestick-125.R Saving _problems/test-geom-candlestick-142.R Saving _problems/test-geom-candlestick-172.R Saving _problems/test-geom-candlestick-197.R Saving _problems/test-geom-candlestick-209.R Saving _problems/test-geom-candlestick-230.R Saving _problems/test-geom-candlestick-252.R Saving _problems/test-geom-candlestick-267.R Saving _problems/test-geom-candlestick-291.R Saving _problems/test-geom-candlestick-303.R Saving _problems/test-geom-candlestick-320.R Saving _problems/test-geom-candlestick-327.R Saving _problems/test-geom-time-line-41.R Saving _problems/test-geom-time-line-54.R Saving _problems/test-geom-time-line-83.R Saving _problems/test-geom-time-line-110.R Saving _problems/test-geom-time-line-157.R Saving _problems/test-geom-time-line-175.R Saving _problems/test-geom-time-line-217.R Saving _problems/test-geom-time-line-245.R Saving _problems/test-geom-time-line-264.R Saving _problems/test-geom-time-line-303.R Saving _problems/test-gg-lag-24.R Saving _problems/test-gg-lag-47.R Saving _problems/test-gg-lag-64.R Saving _problems/test-gg-lag-81.R `geom_path()`: Each group consists of only one observation. i Do you need to adjust the group aesthetic? Saving _problems/test-gg-lag-127.R Saving _problems/test-gg-subseries-31.R Saving _problems/test-gg-subseries-55.R Saving _problems/test-gg-subseries-67.R Saving _problems/test-gg-subseries-84.R Saving _problems/test-gg-subseries-100.R Saving _problems/test-gg-subseries-118.R Saving _problems/test-loop-cut-211.R Saving _problems/test-loop-cut-258.R Saving _problems/test-loop-cut-292.R Saving _problems/test-loop-cut-317.R Saving _problems/test-loop-cut-362.R Saving _problems/test-plot-helpers-9.R Saving _problems/test-plot-helpers-48.R Saving _problems/test-plot-helpers-72.R Saving _problems/test-plot-helpers-96.R Saving _problems/test-plot-helpers-127.R Saving _problems/test-plot-helpers-140.R Saving _problems/test-plot-helpers-154.R Saving _problems/test-plot-helpers-160.R Saving _problems/test-plot-helpers-198.R Saving _problems/test-plot-helpers-246.R Saving _problems/test-plot-helpers-368.R Saving _problems/test-plot-helpers-542.R Saving _problems/test-plot-helpers-583.R Saving _problems/test-scale-time-13.R Saving _problems/test-scale-time-20.R Saving _problems/test-scale-time-32.R Saving _problems/test-scale-time-70.R Saving _problems/test-scale-time-80.R Saving _problems/test-scale-time-90.R Saving _problems/test-scale-time-99.R Saving _problems/test-scale-time-134.R Saving _problems/test-scale-time-148.R Saving _problems/test-scale-time-170.R Saving _problems/test-scale-time-186.R Saving _problems/test-scale-time-204.R Saving _problems/test-scale-time-216.R Saving _problems/test-scale-time-246.R Saving _problems/test-scale-time-269.R Saving _problems/test-scale-time-292.R Saving _problems/test-scale-time-343.R Saving _problems/test-scale-time-391.R [ FAIL 153 | WARN 22 | SKIP 8 | PASS 177 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-coord-loop.R:44:1' • tsibble doesn't support mixtime indices (7): 'test-plot-helpers.R:402:3', 'test-plot-helpers.R:432:3', 'test-plot-helpers.R:441:3', 'test-plot-helpers.R:465:3', 'test-plot-helpers.R:553:3', 'test-plot-helpers.R:591:3', 'test-plot-helpers.R:610:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-coord-calendar.R:80:3'): rows are laid out from cut loops ────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-coord-calendar.R:80:3 2. └─ggtime (local) writer(fig, testcase, title) 3. ├─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggplot2 (local) `print.ggplot2::ggplot`(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) 5. ├─ggplot2::ggplot_build(x) 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:94:3'): columns are laid out from cut loops ─── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-coord-calendar.R:94:3 2. └─ggtime (local) writer(fig, testcase, title) 3. ├─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggplot2 (local) `print.ggplot2::ggplot`(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) 5. ├─ggplot2::ggplot_build(x) 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:113:3'): panes and columns are separated by gaps ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-coord-calendar.R:113:3 2. └─ggtime (local) writer(fig, testcase, title) 3. ├─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggplot2 (local) `print.ggplot2::ggplot`(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) 5. ├─ggplot2::ggplot_build(x) 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:156:3'): granules are labelled within the calendar ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─vdiffr::expect_doppelganger(...) at test-coord-calendar.R:156:3 2. └─ggtime (local) writer(fig, testcase, title) 3. ├─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggplot2 (local) `print.ggplot2::ggplot`(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) 5. ├─ggplot2::ggplot_build(x) 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:180:3'): gridlines and axes are not folded into a single row ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:180:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:213:3'): the panel's own grid is dropped ────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:213:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:246:3'): a theme cannot reinstate the gridlines a calendar drops ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:246:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:260:3'): row layout stacks loops without overlapping ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:260:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:280:3'): column layout stacks loops side by side without overlapping ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:280:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:333:3'): a day is placed in the calendar cell a printed calendar puts it in ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) calendar_places(...) at test-coord-calendar.R:333:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:307:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule_default(...) 16. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 17. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 18. └─vctrs::vec_size(x) 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:361:3'): a row holds only the days of one column and pane ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) calendar_places(...) at test-coord-calendar.R:361:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:307:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule_default(...) 16. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 17. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 18. └─vctrs::vec_size(x) 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:389:3'): panes are aligned across the calendar's columns ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:389:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:498:3'): a calendar of one-second rows is laid out row by row ── Error in `geom_point()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:498:3 2. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. │ └─ggplot2:::by_layer(...) 4. │ ├─rlang::try_fetch(...) 5. │ │ ├─base::tryCatch(...) 6. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 7. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 8. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 9. │ │ └─base::withCallingHandlers(...) 10. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 11. │ └─l$compute_aesthetics(d, plot) 12. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 13. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 14. │ └─ggplot2 (local) add_defaults(..., self = self) 15. │ ├─self$add(find_scale(aes, data[[aes]], env)) 16. │ │ └─ggplot2 (local) add(..., self = self) 17. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 18. │ ├─base::is.infinite(x) 19. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 20. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 21. │ │ └─vecvec::is_vecvec(x) 22. │ └─vecvec::vecvec_apply(x, .f) 23. │ └─vctrs::vec_is_empty(x) 24. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. │ └─vecvec (local) vec_proxy(x = x) 27. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. │ └─vecvec:::vv_index(x) 30. └─base::.handleSimpleError(...) 31. └─rlang (local) h(simpleError(msg, call)) 32. └─handlers[[1L]](cnd) 33. └─cli::cli_abort(...) 34. └─rlang::abort(...) ── Error ('test-coord-calendar.R:581:3'): the calendar grid is arranged the same way flipped ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-coord-calendar.R:581:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─rlang::inject(...) 5. └─ggtime (local) calendar_places_flipped(...) 6. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:545:3 7. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 8. └─layout$setup_panel_params() 9. └─ggplot2 (local) setup_panel_params(..., self = self) 10. └─base::Map(...) 11. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 12. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 13. └─ggtime (local) setup_panel_params(..., self = self) 14. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 15. └─ggtime (local) compute_cuts(..., self = self) 16. ├─ggtime:::calendar_compute_cuts(...) 17. │ └─ggtime:::calendar_axis_cuts(...) 18. └─ggtime:::calendar_resolve_granules(...) 19. └─ggtime:::eval_granule_default(...) 20. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 21. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 22. └─vctrs::vec_size(x) 23. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 24. └─vecvec (local) vec_proxy(x = x) 25. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 26. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 27. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:600:3'): a flipped calendar reads left to right and top to bottom ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:600:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:642:3'): the derived row count does not leak between builds ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:642:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:657:3'): the derived column count does not leak between builds ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:657:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:694:3'): blanked panel grid elements are not tiled as zeroGrobs ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:694:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:723:3'): a build is not corrupted by drawing after a later build reused its coord ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p_big) at test-coord-calendar.R:723:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p_big) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:747:3'): self$limits is restored even if the parent setup_panel_params() errors ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:747:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:791:3'): cell and block granules can be disabled ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:791:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:817:3'): cell and block granules add extra gridline layers ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:817:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 15. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 16. └─vctrs::vec_size(x) 17. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 18. └─vecvec (local) vec_proxy(x = x) 19. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 20. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 21. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:855:5'): the drawn background does not grow with the grid ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) calendar(calendar_data(), rows = mixtime::weeks(1L), cols = NULL) at test-coord-calendar.R:874:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:855:5 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule_default(...) 16. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 17. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 18. └─vctrs::vec_size(x) 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:934:3'): decoration that cannot be drawn as geometry is copied per tile ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:934:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:958:3'): a block rule replaces the row rule at the boundary it falls on ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:958:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:992:3'): pane gaps replace the rules they separate ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:992:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1021:3'): rules stop at a column gap ────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1021:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1047:3'): coord_calendar defaults produce a sensible layout without arguments ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:1047:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1124:3'): repeated axes get one track per row and column ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1124:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1191:3'): blank granule elements drop their gridlines ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1191:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1269:3'): every granule's background is drawn behind its own rules ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) every_granule_calendar() at test-coord-calendar.R:1269:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1250:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1308:3'): a granule background covers the instances it fills ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) every_granule_calendar() at test-coord-calendar.R:1308:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1250:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1354:3'): a group's background covers every row it spans ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) every_granule_calendar() at test-coord-calendar.R:1354:3 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1250:3 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1402:3'): a group's fill covers its rows while its rule keeps to the first ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1402:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1449:3'): a group's background stops at a column boundary ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1449:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1481:3'): a group's background leaves the gaps within it clear ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1481:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1532:5'): granule backgrounds reflect with the grid when flipped ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) fill("x", granule) at test-coord-calendar.R:1550:5 2. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1532:5 3. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. └─layout$setup_panel_params() 5. └─ggplot2 (local) setup_panel_params(..., self = self) 6. └─base::Map(...) 7. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 8. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 9. └─ggtime (local) setup_panel_params(..., self = self) 10. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 11. └─ggtime (local) compute_cuts(..., self = self) 12. ├─ggtime:::calendar_compute_cuts(...) 13. │ └─ggtime:::calendar_axis_cuts(...) 14. └─ggtime:::calendar_resolve_granules(...) 15. └─ggtime:::eval_granule_default(...) 16. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 17. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 18. └─vctrs::vec_size(x) 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1564:3'): cell breaks fall strictly within a row ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1564:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1627:3'): a bare granule token resolves against the axis's own calendar ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1627:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1659:3'): a namespace-qualified granule or duration bypasses the calendar mask ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1659:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1677:3'): a defaulted rows/cols falls back when the calendar lacks the granule ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::suppressWarnings(...) at test-coord-calendar.R:1677:3 2. │ └─base::withCallingHandlers(...) 3. ├─ggplot2::ggplot_build(...) 4. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 5. │ └─ggplot2:::by_layer(...) 6. │ ├─rlang::try_fetch(...) 7. │ │ ├─base::tryCatch(...) 8. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 13. │ └─l$compute_aesthetics(d, plot) 14. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 15. │ └─vctrs::list_sizes(evaled) 16. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:103:3 17. │ └─vecvec (local) vec_proxy(x = x) 18. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 19. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 20. │ └─vecvec:::vv_index(x) 21. └─base::.handleSimpleError(...) 22. └─rlang (local) h(simpleError(msg, call)) 23. └─handlers[[1L]](cnd) 24. └─cli::cli_abort(...) 25. └─rlang::abort(...) ── Error ('test-coord-calendar.R:1704:3'): a granule token missing from the calendar errors with a hint ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-coord-calendar.R:1704:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─base::suppressWarnings(...) 8. │ └─base::withCallingHandlers(...) 9. ├─ggplot2::ggplot_build(...) 10. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 11. │ └─ggplot2:::by_layer(...) 12. │ ├─rlang::try_fetch(...) 13. │ │ ├─base::tryCatch(...) 14. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ │ └─base::withCallingHandlers(...) 18. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 19. │ └─l$compute_aesthetics(d, plot) 20. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 21. │ └─vctrs::list_sizes(evaled) 22. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:103:3 23. │ └─vecvec (local) vec_proxy(x = x) 24. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. │ └─vecvec:::vv_index(x) 27. └─base::.handleSimpleError(...) 28. └─rlang (local) h(simpleError(msg, call)) 29. └─handlers[[1L]](cnd) 30. └─cli::cli_abort(...) 31. └─rlang::abort(...) ── Error ('test-coord-calendar.R:1727:3'): cell_ratio fixes the panel's aspect so a cell has that shape ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p + coord_calendar(cell_ratio = 1, cols = NULL)) at test-coord-calendar.R:1727:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1753:3'): cell_ratio leaves the panel free unless it is set ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1753:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1763:3'): a flipped calendar's cell_ratio still measures height over width ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1763:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1785:3'): cell_ratio shapes a whole row when there are no cells ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p + coord_calendar(cells = NULL, cell_ratio = 1)) at test-coord-calendar.R:1785:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1800:3'): a base coord's own ratio is scaled into the calendar's grid ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p + coord_calendar(cols = NULL, coord = ggplot2::coord_fixed(2))) at test-coord-calendar.R:1800:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1844:3'): panes must sit between rows and cols in coarseness ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-coord-calendar.R:1844:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggplot2::ggplot_build(...) 8. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 9. └─layout$setup_panel_params() 10. └─ggplot2 (local) setup_panel_params(..., self = self) 11. └─base::Map(...) 12. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 13. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 14. └─ggtime (local) setup_panel_params(..., self = self) 15. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 16. └─ggtime (local) compute_cuts(..., self = self) 17. ├─ggtime:::calendar_compute_cuts(...) 18. │ └─ggtime:::calendar_axis_cuts(...) 19. └─ggtime:::calendar_resolve_granules(...) 20. └─ggtime:::eval_granule_default(...) 21. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 22. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 23. └─vctrs::vec_size(x) 24. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 25. └─vecvec (local) vec_proxy(x = x) 26. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 27. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 28. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1877:5'): a defaulted panes value gives way where it does not fit ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_null(pane_cuts_of(p + coord_calendar(rows = mixtime::months(1L)))) at test-coord-calendar.R:1882:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime (local) pane_cuts_of(p + coord_calendar(rows = mixtime::months(1L))) 5. ├─ggplot2::ggplot_build(plot) at test-coord-calendar.R:1877:5 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Failure ('test-coord-calendar.R:1904:3'): an explicit panes matching the default behaves like the default ── Expected `ggplot_build(...)` not to throw any errors. Actually got a <simpleError> with message: `x` is not a vecvec base vector. ── Error ('test-coord-calendar.R:1897:5'): an explicit panes matching the default behaves like the default ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_null(...) at test-coord-calendar.R:1908:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime (local) pane_cuts_of(...) 5. ├─ggplot2::ggplot_build(plot) at test-coord-calendar.R:1897:5 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:1980:3'): flipped calendars gap and rule the same boundaries ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:1980:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2016:3'): granule instances land where the data they name does ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2016:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2038:3'): granule instances describe each column's own times ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2038:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2089:3'): a granule grouping rows is labelled against the row it starts ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2089:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2137:5'): labels are formatted for both mixtime and Date axes ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(labels_of(p), sprintf("%02d", 7:20)) at test-coord-calendar.R:2152:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime (local) labels_of(p) 5. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:2137:5 6. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. └─layout$setup_panel_params() 8. └─ggplot2 (local) setup_panel_params(..., self = self) 9. └─base::Map(...) 10. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 11. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 12. └─ggtime (local) setup_panel_params(..., self = self) 13. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 14. └─ggtime (local) compute_cuts(..., self = self) 15. ├─ggtime:::calendar_compute_cuts(...) 16. │ └─ggtime:::calendar_axis_cuts(...) 17. └─ggtime:::calendar_resolve_granules(...) 18. └─ggtime:::eval_granule_default(...) 19. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 20. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 21. └─vctrs::vec_size(x) 22. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 23. └─vecvec (local) vec_proxy(x = x) 24. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 25. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 26. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2184:3'): granule tables are only built for granules that are labelled ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2184:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2209:3'): disabling cell labels does not disable cell gridlines ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2209:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. └─ggtime:::calendar_compute_cuts(...) 12. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 13. └─ggtime:::loop_cuts_by_duration(...) 14. └─mixtime::time_floor(time_range[1], granule) 15. ├─S7::S7_dispatch() 16. └─mixtime (local) `method(time_floor, class_any)`(...) 17. └─mixtime:::time_round_impl(x, granule, floor) 18. ├─base::as.numeric(granule) 19. └─mixtime:::`as.double.mixtime::mixtime`(granule) 20. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 21. │ └─vecvec::is_vecvec(x) 22. └─vecvec::vecvec_apply(x, time_as_number) 23. └─vctrs::vec_is_empty(x) 24. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 25. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 26. └─vecvec (local) vec_proxy(x = x) 27. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 28. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 29. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2233:3'): labels can be given as a function of the times ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:2233:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2251:3'): labels are blanked with their granule's text element ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:2251:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2286:3'): a label that cannot format the axis errors informatively ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(p) at test-coord-calendar.R:2286:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2300:3'): repeated axes leave a track for a pane gap ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-coord-calendar.R:2300:3 2. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 3. └─layout$setup_panel_params() 4. └─ggplot2 (local) setup_panel_params(..., self = self) 5. └─base::Map(...) 6. └─base::mapply(FUN = f, ..., SIMPLIFY = FALSE) 7. └─ggplot2 (local) `<ggprt_mt>`(dots[[1L]][[1L]], dots[[2L]][[1L]], params = `<named list>`) 8. └─ggtime (local) setup_panel_params(..., self = self) 9. └─self$compute_cuts(uncut_params, trans, scale_x, scale_y) 10. └─ggtime (local) compute_cuts(..., self = self) 11. ├─ggtime:::calendar_compute_cuts(...) 12. │ └─ggtime:::calendar_axis_cuts(...) 13. └─ggtime:::calendar_resolve_granules(...) 14. └─ggtime:::eval_granule_default(...) 15. └─ggtime:::eval_granule(quo, calendar, arg = arg, call = call) 16. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 17. └─vctrs::vec_size(x) 18. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. └─vecvec (local) vec_proxy(x = x) 20. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2379:3'): granules resolve against the calendar they are handed ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::calendar_resolve_granules(specs, mixtime::cal_gregorian) at test-coord-calendar.R:2379:3 2. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 3. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2416:3'): the axis is cut into a calendar without building a plot ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::calendar_resolve_granules(...) at test-coord-calendar.R:2416:3 2. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 3. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2453:3'): a panel's cuts are attached without building a plot ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::calendar_resolve_granules(test_granule_specs(), mixtime::cal_gregorian) at test-coord-calendar.R:2453:3 2. └─ggtime:::eval_granule(spec$quo, calendar, arg = arg, call = call) 3. └─ggtime:::duration_as_granule(x, arg = arg, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2540:5'): each panel's cyclical scale labels its own granule ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─base::lapply(...) at test-coord-calendar.R:2538:3 2. └─ggtime (local) FUN(X[[i]], ...) 3. └─coord$compute_cuts(uncut, trans, scale, NULL) at test-coord-calendar.R:2540:5 4. └─ggtime (local) compute_cuts(..., self = self) 5. └─ggtime:::calendar_compute_cuts(...) 6. └─ggtime:::calendar_row_cuts(col_cuts, granules$rows) 7. └─ggtime:::loop_cuts_by_duration(...) 8. └─mixtime::time_floor(time_range[1], granule) 9. ├─S7::S7_dispatch() 10. └─mixtime (local) `method(time_floor, class_any)`(...) 11. └─mixtime:::time_round_impl(x, granule, floor) 12. ├─base::as.numeric(granule) 13. └─mixtime:::`as.double.mixtime::mixtime`(granule) 14. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, time_as_number), ptype = double()) 15. │ └─vecvec::is_vecvec(x) 16. └─vecvec::vecvec_apply(x, time_as_number) 17. └─vctrs::vec_is_empty(x) 18. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 19. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2582:3'): the time axis is broken at every cell of a row ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-coord-calendar.R:2582:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(...) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-coord-calendar.R:2622:3'): the calendar's breaks give way to the scale's own ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-coord-calendar.R:2622:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2015-01-01"), 0:400) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:70:3'): looping over a duration works ───────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-coord-loop.R:70:3 2. │ └─ggtime (local) writer(fig, testcase, title) 3. │ └─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggtime::coord_loop(time_loops = mixtime::months(1L), expand = TRUE) 5. └─ggtime:::duration_as_granule(time_loops) 6. └─vctrs::vec_size(x) 7. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 8. └─vecvec (local) vec_proxy(x = x) 9. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 10. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 11. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:88:3'): annotations spanning the panel are drawn ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-coord-loop.R:88:3 2. │ └─ggtime (local) writer(fig, testcase, title) 3. │ └─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggtime::coord_loop(time_loops = mixtime::months(1L), expand = TRUE) 5. └─ggtime:::duration_as_granule(time_loops) 6. └─vctrs::vec_size(x) 7. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 8. └─vecvec (local) vec_proxy(x = x) 9. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 10. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 11. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:122:3'): geometries crossing a loop boundary are cut into pieces ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-coord-loop.R:122:3 2. │ └─ggtime (local) writer(fig, testcase, title) 3. │ └─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggtime::coord_loop(time_loops = mixtime::months(1L), expand = TRUE) 5. └─ggtime:::duration_as_granule(time_loops) 6. └─vctrs::vec_size(x) 7. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 8. └─vecvec (local) vec_proxy(x = x) 9. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 10. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 11. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:139:3'): coord_loop works with coord_radial ─────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─vdiffr::expect_doppelganger(...) at test-coord-loop.R:139:3 2. │ └─ggtime (local) writer(fig, testcase, title) 3. │ └─base::print(plot + ggtitle(title) + theme_test(base_family = "Liberation Sans")) at ./helper-vdiffr.R:36:3 4. └─ggtime::coord_loop(...) 5. └─ggtime:::duration_as_granule(time_loops) 6. └─vctrs::vec_size(x) 7. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 8. └─vecvec (local) vec_proxy(x = x) 9. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 10. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 11. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:162:5'): looped axes are labelled cyclically ────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-coord-loop.R:176:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) loop_labels(p + coord_loop(time_loops = mixtime::years(1L))) 5. │ └─ggplot2::ggplot_build(p) at test-coord-loop.R:162:5 6. │ └─ggplot2:::try_prop(plot, "plot_env") 7. │ └─S7::S7_inherits(object) 8. │ └─S7:::has_S7_class(x) 9. └─ggtime::coord_loop(time_loops = mixtime::years(1L)) 10. └─ggtime:::duration_as_granule(time_loops) 11. └─vctrs::vec_size(x) 12. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 13. └─vecvec (local) vec_proxy(x = x) 14. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 15. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 16. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:228:5'): looped axes are broken at their observations ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) loop_breaks(p + coord_loop(time_loops = mixtime::days(1L))) at test-coord-loop.R:246:3 2. │ └─ggplot2::ggplot_build(p) at test-coord-loop.R:228:5 3. │ └─ggplot2:::try_prop(plot, "plot_env") 4. │ └─S7::S7_inherits(object) 5. │ └─S7:::has_S7_class(x) 6. └─ggtime::coord_loop(time_loops = mixtime::days(1L)) 7. └─ggtime:::duration_as_granule(time_loops) 8. └─vctrs::vec_size(x) 9. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 10. └─vecvec (local) vec_proxy(x = x) 11. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 12. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 13. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:269:3'): time_loops can be given as a granule directly ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-coord-loop.R:269:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggplot2::ggplot_build(p + coord_loop(time_loops = mixtime::years(1L))) 5. │ └─ggplot2:::try_prop(plot, "plot_env") 6. │ └─S7::S7_inherits(object) 7. │ └─S7:::has_S7_class(x) 8. └─ggtime::coord_loop(time_loops = mixtime::years(1L)) 9. └─ggtime:::duration_as_granule(time_loops) 10. └─vctrs::vec_size(x) 11. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 12. └─vecvec (local) vec_proxy(x = x) 13. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 14. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 15. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:295:3'): time_loops must be a single duration ───── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-coord-loop.R:295:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggtime::coord_loop(time_loops = c(mixtime::years(1L), mixtime::days(2L))) 8. │ └─ggtime:::duration_as_granule(time_loops) 9. │ └─ggtime:::is_waiver(x) 10. ├─base::c(mixtime::years(1L), mixtime::days(2L)) 11. └─mixtime (local) `c.mixtime::mixtime`(mixtime::years(1L), mixtime::days(2L)) 12. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 13. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:354:3'): the cycle of a looped axis follows the data's chronon ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(time = mixtime::date("2015-01-01") + 0:27, value = seq_len(28)) at test-coord-loop.R:354:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2015-01-01"), 0:27) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:391:3'): looping does not depend on clipping path support ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::coord_loop(time_loops = mixtime::years(1L)) at test-coord-loop.R:391:3 2. └─ggtime:::duration_as_granule(time_loops) 3. └─vctrs::vec_size(x) 4. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 5. └─vecvec (local) vec_proxy(x = x) 6. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 7. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 8. └─vecvec:::vv_index(x) ── Error ('test-coord-loop.R:413:3'): self$limits is restored even if the parent setup_panel_params() errors ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::coord_loop(time_loops = mixtime::months(1L)) at test-coord-loop.R:413:3 2. └─ggtime:::duration_as_granule(time_loops) 3. └─vctrs::vec_size(x) 4. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 5. └─vecvec (local) vec_proxy(x = x) 6. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 7. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 8. └─vecvec:::vv_index(x) ── Error ('test-geom-candlestick.R:29:3'): open, high, low and close summarise each granule instance ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:29:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:52:3'): values are summarised in time order, not row order ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─df[sample(nrow(df)), ] at test-geom-candlestick.R:52:3 2. └─base::`[.data.frame`(df, sample(nrow(df)), ) at test-geom-candlestick.R:52:3 3. ├─xj[i] 4. └─vecvec (local) `[.vecvec::vecvec`(xj, i) 5. └─vecvec:::vv_index(x) ── Error ('test-geom-candlestick.R:67:3'): candlesticks are cut on the granule's own boundaries ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─mixtime:::`Ops.mixtime::mixtime`(df$time, mixtime::hours(6L)) at test-geom-candlestick.R:67:3 2. ├─base::NextMethod() 3. └─vecvec:::`Ops.vecvec::vecvec`(df$time, mixtime::hours(6L)) 4. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 5. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-geom-candlestick.R:83:3'): instances of uneven length are drawn at uneven widths ── Error in `geom_candlestick(granule = mixtime::months(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:83:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:102:3'): `width` sizes the body against its granule instance ── Error in `geom_candlestick(granule = mixtime::days(1L), width = 1)`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:102:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:113:3'): already summarised values re-summarise onto a coarser granule ── Error in `geom_candlestick(granule = mixtime::months(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:113:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:139:3'): `direction` records how each candlestick closed ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:139:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:169:3'): `direction` colours fill and colour red/green by default, without an explicit scale ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:169:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:194:3'): `change` records close minus open ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:194:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:206:3'): orientation follows whichever axis measures time ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_false(...) at test-geom-candlestick.R:206:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) 5. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:227:3'): values are summarised separately for each group ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─base::rbind(...) at test-geom-candlestick.R:227:3 2. └─base::rbind(deparse.level, ...) 3. ├─base::`[<-`(`*tmp*`, ri, value = `<mixtime>`) 4. ├─mixtime:::`[<-.mixtime::mixtime`(`*tmp*`, ri, value = `<mixtime>`) 5. ├─base::NextMethod() 6. └─vecvec:::`[<-.vecvec::vecvec`(`*tmp*`, ri, value = `<mixtime>`) 7. └─vecvec:::vv_index(x) ── Error ('test-geom-candlestick.R:248:3'): the value axis transformation reaches every summary statistic ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:248:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:262:3'): `granule` resolves bare granules against the axis's calendar ── Error in `geom_candlestick(granule = hour(6L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-geom-candlestick.R:262:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) layer_data1(ggplot(df, aes(time, price)) + geom_candlestick(granule = hour(6L))) 5. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:279:3'): a layer drawn with `stat = 'identity'` sizes bodies by resolution ── Error in `geom_candlestick(stat = "identity")`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) layer_data1(...) at test-geom-candlestick.R:279:3 2. │ ├─ggplot2::ggplot_build(p) at test-geom-candlestick.R:25:16 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:300:3'): `granule` must be supplied, and must suit the axis ── Error in `geom_candlestick()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-geom-candlestick.R:300:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggplot2::ggplot_build(ggplot(df, aes(time, price)) + geom_candlestick()) 8. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 9. │ └─ggplot2:::by_layer(...) 10. │ ├─rlang::try_fetch(...) 11. │ │ ├─base::tryCatch(...) 12. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ │ └─base::withCallingHandlers(...) 16. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 17. │ └─l$compute_aesthetics(d, plot) 18. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 19. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 20. │ └─ggplot2 (local) add_defaults(..., self = self) 21. │ ├─self$add(find_scale(aes, data[[aes]], env)) 22. │ │ └─ggplot2 (local) add(..., self = self) 23. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 24. │ ├─base::is.infinite(x) 25. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 26. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 27. │ │ └─vecvec::is_vecvec(x) 28. │ └─vecvec::vecvec_apply(x, .f) 29. │ └─vctrs::vec_is_empty(x) 30. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 31. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 32. │ └─vecvec (local) vec_proxy(x = x) 33. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 34. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 35. │ └─vecvec:::vv_index(x) 36. └─base::.handleSimpleError(...) 37. └─rlang (local) h(simpleError(msg, call)) 38. └─handlers[[1L]](cnd) 39. └─cli::cli_abort(...) 40. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:315:3'): values to summarise must be mapped ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-geom-candlestick.R:315:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggplot2::ggplot_build(ggplot(df, aes(time)) + geom_candlestick(granule = mixtime::days(1L))) 8. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(ggplot(df, aes(time)) + geom_candlestick(granule = mixtime::days(1L))) 9. │ └─ggplot2:::by_layer(...) 10. │ ├─rlang::try_fetch(...) 11. │ │ ├─base::tryCatch(...) 12. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ │ └─base::withCallingHandlers(...) 16. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 17. │ └─l$compute_aesthetics(d, plot) 18. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 19. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 20. │ └─ggplot2 (local) add_defaults(..., self = self) 21. │ ├─self$add(find_scale(aes, data[[aes]], env)) 22. │ │ └─ggplot2 (local) add(..., self = self) 23. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 24. │ ├─base::is.infinite(x) 25. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 26. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 27. │ │ └─vecvec::is_vecvec(x) 28. │ └─vecvec::vecvec_apply(x, .f) 29. │ └─vctrs::vec_is_empty(x) 30. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 31. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 32. │ └─vecvec (local) vec_proxy(x = x) 33. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 34. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 35. │ └─vecvec:::vv_index(x) 36. └─base::.handleSimpleError(...) 37. └─rlang (local) h(simpleError(msg, call)) 38. └─handlers[[1L]](cnd) 39. └─cli::cli_abort(...) 40. └─rlang::abort(...) ── Error ('test-geom-candlestick.R:324:3'): candlesticks draw a high-low line and an open-close body ── Error in `geom_candlestick(granule = mixtime::days(1L))`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::layer_grob(ggplot(hourly(3), aes(time, price)) + geom_candlestick(granule = mixtime::days(1L))) at test-geom-candlestick.R:324:3 2. │ ├─ggplot2::ggplot_build(plot) 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 15. │ └─ggplot2 (local) add_defaults(..., self = self) 16. │ ├─self$add(find_scale(aes, data[[aes]], env)) 17. │ │ └─ggplot2 (local) add(..., self = self) 18. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 19. │ ├─base::is.infinite(x) 20. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 21. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 22. │ │ └─vecvec::is_vecvec(x) 23. │ └─vecvec::vecvec_apply(x, .f) 24. │ └─vctrs::vec_is_empty(x) 25. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 26. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 27. │ └─vecvec (local) vec_proxy(x = x) 28. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 29. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 30. │ └─vecvec:::vv_index(x) 31. └─base::.handleSimpleError(...) 32. └─rlang (local) h(simpleError(msg, call)) 33. └─handlers[[1L]](cnd) 34. └─cli::cli_abort(...) 35. └─rlang::abort(...) ── Error ('test-geom-time-line.R:41:3'): local positions can be read back as instants ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(built_instants(local), as.numeric(time)) at test-geom-time-line.R:41:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) built_instants(local) 5. │ ├─ggplot2::ggplot_build(p) at test-geom-time-line.R:11:3 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 18. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 19. │ └─rlang (local) FUN(X[[i]], ...) 20. ├─ggtime:::default_timeoffset(time) 21. │ └─mixtime::tz_offset(x) 22. │ ├─S7::S7_dispatch() 23. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 24. │ ├─mixtime::duration(...) 25. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 26. │ │ └─mixtime::time_calendar(data) 27. │ │ └─S7::S7_dispatch() 28. │ ├─mixtime:::get_tz_offset(x, tz) 29. │ └─mixtime::tz_name(time_chronon(x)) 30. │ ├─S7::S7_dispatch() 31. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 32. │ └─vecvec::vecvec_apply(x, tz_name) 33. │ └─vctrs::vec_is_empty(x) 34. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 35. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 36. │ └─vecvec (local) vec_proxy(x = x) 37. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 38. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 39. │ └─vecvec:::vv_index(x) 40. └─base::.handleSimpleError(...) 41. └─rlang (local) h(simpleError(msg, call)) 42. └─handlers[[1L]](cnd) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) ── Error ('test-geom-time-line.R:50:5'): the scale converts offsets without them reaching the axis ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) built(mixtime::cal_gregorian$hour(1L, tz = NA)) at test-geom-time-line.R:59:3 2. │ ├─ggplot2::ggplot_build(...) at test-geom-time-line.R:50:5 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(...) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 15. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 16. │ └─rlang (local) FUN(X[[i]], ...) 17. ├─ggtime:::default_timeoffset(time) 18. │ └─mixtime::tz_offset(x) 19. │ ├─S7::S7_dispatch() 20. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 21. │ ├─mixtime::duration(...) 22. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 23. │ │ └─mixtime::time_calendar(data) 24. │ │ └─S7::S7_dispatch() 25. │ ├─mixtime:::get_tz_offset(x, tz) 26. │ └─mixtime::tz_name(time_chronon(x)) 27. │ ├─S7::S7_dispatch() 28. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 29. │ └─vecvec::vecvec_apply(x, tz_name) 30. │ └─vctrs::vec_is_empty(x) 31. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 32. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 33. │ └─vecvec (local) vec_proxy(x = x) 34. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 35. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 36. │ └─vecvec:::vv_index(x) 37. └─base::.handleSimpleError(...) 38. └─rlang (local) h(simpleError(msg, call)) 39. └─handlers[[1L]](cnd) 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-geom-time-line.R:83:3'): offsets given at several granularities are each converted ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::c(hours, days) at test-geom-time-line.R:83:3 2. └─mixtime (local) `c.mixtime::mixtime`(hours, days) at test-geom-time-line.R:83:3 3. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 4. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 5. └─vecvec (local) vec_proxy(x = x) 6. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 7. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 8. └─vecvec:::vv_index(x) ── Error ('test-geom-time-line.R:110:3'): a bare number is not accepted as an offset ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(ggplot_build(plot(df)), "must be a duration") at test-geom-time-line.R:110:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggplot2::ggplot_build(plot(df)) 8. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot(df)) 9. │ └─ggplot2:::by_layer(...) 10. │ ├─rlang::try_fetch(...) 11. │ │ ├─base::tryCatch(...) 12. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 13. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 15. │ │ └─base::withCallingHandlers(...) 16. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 17. │ └─l$compute_aesthetics(d, plot) 18. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 19. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 20. │ └─ggplot2 (local) add_defaults(..., self = self) 21. │ ├─self$add(find_scale(aes, data[[aes]], env)) 22. │ │ └─ggplot2 (local) add(..., self = self) 23. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 24. │ ├─base::is.infinite(x) 25. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 26. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 27. │ │ └─vecvec::is_vecvec(x) 28. │ └─vecvec::vecvec_apply(x, .f) 29. │ └─vctrs::vec_is_empty(x) 30. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 31. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 32. │ └─vecvec (local) vec_proxy(x = x) 33. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 34. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 35. │ └─vecvec:::vv_index(x) 36. └─base::.handleSimpleError(...) 37. └─rlang (local) h(simpleError(msg, call)) 38. └─handlers[[1L]](cnd) 39. └─cli::cli_abort(...) 40. └─rlang::abort(...) ── Error ('test-geom-time-line.R:146:5'): a transitions table says what its columns are ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(jump(mixtime::seconds(2700L)), jump(mixtime::minutes(45L))) at test-geom-time-line.R:163:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime (local) jump(mixtime::seconds(2700L)) 5. └─ggtime::geom_time_line(...) at test-geom-time-line.R:146:5 6. ├─ggplot2::layer(...) 7. ├─rlang::list2(...) 8. └─ggtime:::check_transitions(transitions) 9. └─mixtime::time_is_duration(x) 10. ├─S7::S7_dispatch() 11. └─mixtime (local) `method(time_is_duration, mixtime::mixtime)`(...) 12. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f, ...), ptype = `<lgl>`) 13. │ └─vecvec::is_vecvec(x) 14. └─vecvec::vecvec_apply(x, .f, ...) 15. └─vctrs::vec_is_empty(x) 16. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 17. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 18. └─vecvec (local) vec_proxy(x = x) 19. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 20. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 21. └─vecvec:::vv_index(x) ── Error ('test-geom-time-line.R:175:5'): a timezone transition is drawn as a dashed jump in local time ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) linetypes(mixtime::cal_gregorian$hour(1L, tz = NA)) at test-geom-time-line.R:179:3 2. │ └─ggplot2::layer_grob(p) at test-geom-time-line.R:175:5 3. │ ├─ggplot2::ggplot_build(plot) 4. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 5. │ └─ggplot2:::by_layer(...) 6. │ ├─rlang::try_fetch(...) 7. │ │ ├─base::tryCatch(...) 8. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 9. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 10. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 13. │ └─l$compute_aesthetics(d, plot) 14. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 15. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 16. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 17. │ └─rlang (local) FUN(X[[i]], ...) 18. ├─ggtime:::default_timeoffset(time) 19. │ └─mixtime::tz_offset(x) 20. │ ├─S7::S7_dispatch() 21. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 22. │ ├─mixtime::duration(...) 23. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 24. │ │ └─mixtime::time_calendar(data) 25. │ │ └─S7::S7_dispatch() 26. │ ├─mixtime:::get_tz_offset(x, tz) 27. │ └─mixtime::tz_name(time_chronon(x)) 28. │ ├─S7::S7_dispatch() 29. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 30. │ └─vecvec::vecvec_apply(x, tz_name) 31. │ └─vctrs::vec_is_empty(x) 32. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 33. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 34. │ └─vecvec (local) vec_proxy(x = x) 35. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 36. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 37. │ └─vecvec:::vv_index(x) 38. └─base::.handleSimpleError(...) 39. └─rlang (local) h(simpleError(msg, call)) 40. └─handlers[[1L]](cnd) 41. └─cli::cli_abort(...) 42. └─rlang::abort(...) ── Error ('test-geom-time-line.R:217:3'): a timezone transition is drawn as a dashed jump on the y axis too ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(sum(layer_grob(p)[[1]]$gp$lty == 2), 1) at test-geom-time-line.R:217:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggplot2::layer_grob(p) 5. │ ├─ggplot2::ggplot_build(plot) 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 18. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 19. │ └─rlang (local) FUN(X[[i]], ...) 20. ├─ggtime:::default_timeoffset(time) 21. │ └─mixtime::tz_offset(x) 22. │ ├─S7::S7_dispatch() 23. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 24. │ ├─mixtime::duration(...) 25. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 26. │ │ └─mixtime::time_calendar(data) 27. │ │ └─S7::S7_dispatch() 28. │ ├─mixtime:::get_tz_offset(x, tz) 29. │ └─mixtime::tz_name(time_chronon(x)) 30. │ ├─S7::S7_dispatch() 31. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 32. │ └─vecvec::vecvec_apply(x, tz_name) 33. │ └─vctrs::vec_is_empty(x) 34. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 35. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 36. │ └─vecvec (local) vec_proxy(x = x) 37. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 38. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 39. │ └─vecvec:::vv_index(x) 40. └─base::.handleSimpleError(...) 41. └─rlang (local) h(simpleError(msg, call)) 42. └─handlers[[1L]](cnd) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) ── Error ('test-geom-time-line.R:245:3'): transitions on x and y are both resolved, without interfering ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::layer_grob(p) at test-geom-time-line.R:245:3 2. │ ├─ggplot2::ggplot_build(plot) 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 15. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 16. │ └─rlang (local) FUN(X[[i]], ...) 17. ├─ggtime:::default_timeoffset(x_time) 18. │ └─mixtime::tz_offset(x) 19. │ ├─S7::S7_dispatch() 20. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 21. │ ├─mixtime::duration(...) 22. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 23. │ │ └─mixtime::time_calendar(data) 24. │ │ └─S7::S7_dispatch() 25. │ ├─mixtime:::get_tz_offset(x, tz) 26. │ └─mixtime::tz_name(time_chronon(x)) 27. │ ├─S7::S7_dispatch() 28. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 29. │ └─vecvec::vecvec_apply(x, tz_name) 30. │ └─vctrs::vec_is_empty(x) 31. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 32. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 33. │ └─vecvec (local) vec_proxy(x = x) 34. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 35. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 36. │ └─vecvec:::vv_index(x) 37. └─base::.handleSimpleError(...) 38. └─rlang (local) h(simpleError(msg, call)) 39. └─handlers[[1L]](cnd) 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-geom-time-line.R:264:3'): transition_aesthetics overrides the transition segment's style ── Error in `geom_time_line(transition_aesthetics = transition_aesthetics)`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::layer_grob(plot()) at test-geom-time-line.R:264:3 2. │ ├─ggplot2::ggplot_build(plot) 3. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 4. │ └─ggplot2:::by_layer(...) 5. │ ├─rlang::try_fetch(...) 6. │ │ ├─base::tryCatch(...) 7. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. │ │ └─base::withCallingHandlers(...) 11. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 12. │ └─l$compute_aesthetics(d, plot) 13. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 14. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 15. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 16. │ └─rlang (local) FUN(X[[i]], ...) 17. ├─ggtime:::default_timeoffset(time) 18. │ └─mixtime::tz_offset(x) 19. │ ├─S7::S7_dispatch() 20. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 21. │ ├─mixtime::duration(...) 22. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 23. │ │ └─mixtime::time_calendar(data) 24. │ │ └─S7::S7_dispatch() 25. │ ├─mixtime:::get_tz_offset(x, tz) 26. │ └─mixtime::tz_name(time_chronon(x)) 27. │ ├─S7::S7_dispatch() 28. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 29. │ └─vecvec::vecvec_apply(x, tz_name) 30. │ └─vctrs::vec_is_empty(x) 31. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 32. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 33. │ └─vecvec (local) vec_proxy(x = x) 34. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 35. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 36. │ └─vecvec:::vv_index(x) 37. └─base::.handleSimpleError(...) 38. └─rlang (local) h(simpleError(msg, call)) 39. └─handlers[[1L]](cnd) 40. └─cli::cli_abort(...) 41. └─rlang::abort(...) ── Error ('test-geom-time-line.R:303:3'): transitions are not resolved when the scale has no naive chronon ── Error in `geom_time_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(sum(layer_grob(p)[[1]]$gp$lty == 2), 0) at test-geom-time-line.R:303:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggplot2::layer_grob(p) 5. │ ├─ggplot2::ggplot_build(plot) 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(plot) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─ggplot2:::eval_aesthetics(aesthetics, data) 18. │ └─base::lapply(aesthetics, eval_tidy, data = data, env = env) 19. │ └─rlang (local) FUN(X[[i]], ...) 20. ├─ggtime:::default_timeoffset(time) 21. │ └─mixtime::tz_offset(x) 22. │ ├─S7::S7_dispatch() 23. │ └─mixtime (local) `method(tz_offset, new_S3_class("POSIXt"))`(x = `<dttm>`, ...) 24. │ ├─mixtime::duration(...) 25. │ │ ├─rlang::eval_tidy(quo_chronon, data = calendar, env = emptyenv()) 26. │ │ └─mixtime::time_calendar(data) 27. │ │ └─S7::S7_dispatch() 28. │ ├─mixtime:::get_tz_offset(x, tz) 29. │ └─mixtime::tz_name(time_chronon(x)) 30. │ ├─S7::S7_dispatch() 31. │ └─mixtime (local) `method(tz_name, mixtime::mixtime)`(x = `<mixtime>`, ...) 32. │ └─vecvec::vecvec_apply(x, tz_name) 33. │ └─vctrs::vec_is_empty(x) 34. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 35. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 36. │ └─vecvec (local) vec_proxy(x = x) 37. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 38. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 39. │ └─vecvec:::vv_index(x) 40. └─base::.handleSimpleError(...) 41. └─rlang (local) h(simpleError(msg, call)) 42. └─handlers[[1L]](cnd) 43. └─cli::cli_abort(...) 44. └─rlang::abort(...) ── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ───────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-lag.R:24:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─tsibble::n_keys(data) 4. │ ├─vctrs::vec_size(key_data(x)) 5. │ └─tsibble::key_data(x) 6. └─ggtime (local) lag_tsbl(mixtime::yearmonth(monthly_dates)) 7. └─tsibble::tsibble(t = index, y = sin(seq_along(index)), index = t) at test-gg-lag.R:2:3 8. └─tibble::tibble(...) 9. └─tibble:::tibble_quos(xs, .rows, .name_repair) 10. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 11. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 12. ├─base::which(!map_lgl(x, is_valid_col)) 13. └─tibble:::map_lgl(x, is_valid_col) 14. └─tibble:::map_mold(.x, .f, logical(1), ...) 15. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 16. └─tibble (local) FUN(X[[i]], ...) 17. └─vctrs::vec_is(x) 18. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 19. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-gg-lag.R:47:3'): gg_lag() accepts a period for mixtime indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) lag_tsbl(mixtime::yearmonth(monthly_dates)) at test-gg-lag.R:47:3 2. └─tsibble::tsibble(t = index, y = sin(seq_along(index)), index = t) at test-gg-lag.R:2:3 3. └─tibble::tibble(...) 4. └─tibble:::tibble_quos(xs, .rows, .name_repair) 5. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 6. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 7. ├─base::which(!map_lgl(x, is_valid_col)) 8. └─tibble:::map_lgl(x, is_valid_col) 9. └─tibble:::map_mold(.x, .f, logical(1), ...) 10. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 11. └─tibble (local) FUN(X[[i]], ...) 12. └─vctrs::vec_is(x) 13. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 14. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 15. └─vecvec (local) vec_proxy(x = x) 16. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 17. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 18. └─vecvec:::vv_index(x) ── Error ('test-gg-lag.R:64:3'): gg_lag() supports legacy indices ────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-lag.R:64:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─data %>% as_tibble %>% ... 4. ├─dplyr::mutate(...) 5. ├─dplyr:::mutate.data.frame(...) 6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 7. │ ├─base::withCallingHandlers(...) 8. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 9. │ └─mask$eval_all_mutate(quo) 10. │ └─dplyr (local) eval() 11. ├─ggtime:::season_position_factor(as_mixtime_index(t), period) 12. │ └─ggtime:::season_position(x, period) 13. │ └─mixtime::time_floor(x, period) 14. │ ├─S7::S7_dispatch() 15. │ └─mixtime (local) `method(time_floor, mixtime::mixtime)`(...) 16. │ └─vecvec::vecvec_apply(x, .f, granule = granule, ...) 17. │ └─vctrs::vec_is_empty(x) 18. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 19. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 20. │ └─vecvec (local) vec_proxy(x = x) 21. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. │ └─vecvec:::vv_index(x) 24. └─base::.handleSimpleError(...) 25. └─dplyr (local) h(simpleError(msg, call)) 26. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_lag_builds(lag_tsbl(mixtime::yearweek(weekly_dates))) at test-gg-lag.R:81:3 2. │ └─ggtime::gg_lag(data, y, period = period) at test-gg-lag.R:17:3 3. │ └─tsibble::n_keys(data) 4. │ ├─vctrs::vec_size(key_data(x)) 5. │ └─tsibble::key_data(x) 6. └─ggtime (local) lag_tsbl(mixtime::yearweek(weekly_dates)) 7. └─tsibble::tsibble(t = index, y = sin(seq_along(index)), index = t) at test-gg-lag.R:2:3 8. └─tibble::tibble(...) 9. └─tibble:::tibble_quos(xs, .rows, .name_repair) 10. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 11. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 12. ├─base::which(!map_lgl(x, is_valid_col)) 13. └─tibble:::map_lgl(x, is_valid_col) 14. └─tibble:::map_mold(.x, .f, logical(1), ...) 15. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 16. └─tibble (local) FUN(X[[i]], ...) 17. └─vctrs::vec_is(x) 18. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 19. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-gg-lag.R:127:3'): gg_tsdisplay() supports mixtime and legacy indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_tsdisplay_season(lag_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-lag.R:127:3 2. │ └─ggtime::gg_tsdisplay(data, y) at test-gg-lag.R:115:3 3. │ └─tsibble::n_keys(data) 4. │ ├─vctrs::vec_size(key_data(x)) 5. │ └─tsibble::key_data(x) 6. └─ggtime (local) lag_tsbl(mixtime::yearmonth(monthly_dates)) 7. └─tsibble::tsibble(t = index, y = sin(seq_along(index)), index = t) at test-gg-lag.R:2:3 8. └─tibble::tibble(...) 9. └─tibble:::tibble_quos(xs, .rows, .name_repair) 10. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 11. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 12. ├─base::which(!map_lgl(x, is_valid_col)) 13. └─tibble:::map_lgl(x, is_valid_col) 14. └─tibble:::map_mold(.x, .f, logical(1), ...) 15. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 16. └─tibble (local) FUN(X[[i]], ...) 17. └─vctrs::vec_is(x) 18. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 19. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 20. └─vecvec (local) vec_proxy(x = x) 21. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 22. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 23. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:29:3'): gg_subseries() supports mixtime indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(subseries_tsbl(mixtime::yearmonth(monthly_dates))) at test-gg-subseries.R:29:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─tsibble::key(data) 4. └─ggtime (local) subseries_tsbl(mixtime::yearmonth(monthly_dates)) 5. └─tsibble::tsibble(t = index, y = seq_along(index), index = t) at test-gg-subseries.R:2:3 6. └─tibble::tibble(...) 7. └─tibble:::tibble_quos(xs, .rows, .name_repair) 8. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 9. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 10. ├─base::which(!map_lgl(x, is_valid_col)) 11. └─tibble:::map_lgl(x, is_valid_col) 12. └─tibble:::map_mold(.x, .f, logical(1), ...) 13. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 14. └─tibble (local) FUN(X[[i]], ...) 15. └─vctrs::vec_is(x) 16. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 17. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 18. └─vecvec (local) vec_proxy(x = x) 19. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 20. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 21. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:55:3'): gg_subseries() supports legacy indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) expect_subseries_builds(subseries_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-subseries.R:55:3 2. └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 5. └─tibble:::tbl_subassign(...) 6. └─tibble:::vectbl_recycle_rhs_rows(...) 7. ├─base::withCallingHandlers(...) 8. └─vctrs::vec_recycle(value[[j]], nrow) 9. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 10. └─vecvec (local) vec_proxy(x = x) 11. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 12. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 13. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:65:3'): gg_subseries() labels legacy indices with times ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) expect_subseries_builds(subseries_tsbl(tsibble::yearmonth(monthly_dates))) at test-gg-subseries.R:65:3 2. └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 5. └─tibble:::tbl_subassign(...) 6. └─tibble:::vectbl_recycle_rhs_rows(...) 7. ├─base::withCallingHandlers(...) 8. └─vctrs::vec_recycle(value[[j]], nrow) 9. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 10. └─vecvec (local) vec_proxy(x = x) 11. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 12. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 13. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:84:3'): gg_subseries() defaults to the smallest seasonal period ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime (local) expect_subseries_builds(subseries_tsbl(daily_dates)) at test-gg-subseries.R:84:3 2. └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 5. └─tibble:::tbl_subassign(...) 6. └─tibble:::vectbl_recycle_rhs_rows(...) 7. ├─base::withCallingHandlers(...) 8. └─vctrs::vec_recycle(value[[j]], nrow) 9. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 10. └─vecvec (local) vec_proxy(x = x) 11. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 12. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 13. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:97:3'): gg_subseries() breaks the axis every few seasons ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime (local) expect_subseries_builds(...) at test-gg-subseries.R:97:3 2. │ └─ggtime::gg_subseries(data, y, period = period) at test-gg-subseries.R:16:3 3. │ └─tsibble::key(data) 4. └─ggtime (local) subseries_tsbl(mixtime::as_mixtime(hourly_times)) 5. └─tsibble::tsibble(t = index, y = seq_along(index), index = t) at test-gg-subseries.R:2:3 6. └─tibble::tibble(...) 7. └─tibble:::tibble_quos(xs, .rows, .name_repair) 8. └─tibble:::check_valid_col(res, col_names[[j]], j, call) 9. └─tibble:::check_valid_cols(set_names(list(x), name), call = call) 10. ├─base::which(!map_lgl(x, is_valid_col)) 11. └─tibble:::map_lgl(x, is_valid_col) 12. └─tibble:::map_mold(.x, .f, logical(1), ...) 13. └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE) 14. └─tibble (local) FUN(X[[i]], ...) 15. └─vctrs::vec_is(x) 16. └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3 17. └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3 18. └─vecvec (local) vec_proxy(x = x) 19. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 20. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 21. └─vecvec:::vv_index(x) ── Error ('test-gg-subseries.R:118:3'): gg_subseries() and gg_season() evaluate y with the original index ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_subseries(data, y/lubridate::days_in_month(t)) at test-gg-subseries.R:118:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:207:3'): loop_cuts() does not add an empty trailing loop ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::ggplot_build(...) at test-loop-cut.R:207:3 2. │ └─ggplot2:::try_prop(plot, "plot_env") 3. │ └─S7::S7_inherits(object) 4. │ └─S7:::has_S7_class(x) 5. └─ggtime::coord_loop(time_loops = mixtime::years(1L)) 6. └─ggtime:::duration_as_granule(time_loops) 7. └─vctrs::vec_size(x) 8. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:258:3'): cuts land on the granule's boundaries across a daylight saving change ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime:::loop_cuts_by_duration(range, duration_as_granule(mixtime::days(1L))) at test-loop-cut.R:258:3 2. │ └─ggtime:::granule_seq_by(time_range, granule) 3. │ └─base::paste(granule@n, mixtime::time_unit_plural(granule)) 4. └─ggtime:::duration_as_granule(mixtime::days(1L)) 5. └─vctrs::vec_size(x) 6. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:292:3'): cuts are not skipped across a pair of daylight saving changes ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::duration_as_granule(mixtime::days(1L)) at test-loop-cut.R:292:3 2. └─vctrs::vec_size(x) 3. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 4. └─vecvec (local) vec_proxy(x = x) 5. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 6. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 7. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:317:3'): cuts spanning a range are not disturbed by snapping ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime:::loop_cuts_by_duration(range, duration_as_granule(mixtime::months(3L))) at test-loop-cut.R:317:3 2. │ └─ggtime:::granule_seq_by(time_range, granule) 3. │ └─base::paste(granule@n, mixtime::time_unit_plural(granule)) 4. └─ggtime:::duration_as_granule(mixtime::months(3L)) 5. └─vctrs::vec_size(x) 6. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-loop-cut.R:357:1'): (code run outside of `test_that()`) ──────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime:::duration_as_granule(mixtime::days(1L)) at test-loop-cut.R:357:1 2. └─vctrs::vec_size(x) 3. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 4. └─vecvec (local) vec_proxy(x = x) 5. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 6. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 7. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:9:3'): gg_season() plots ──────────────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(tsbl_co2, value) at test-plot-helpers.R:9:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:48:3'): gg_season() plot labels ───────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(tsbl_co2, value, labels = "both") at test-plot-helpers.R:48:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:72:3'): gg_season() facets ────────────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(...) at test-plot-helpers.R:72:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:96:3'): gg_season() loops time, drawing seasonal connections in the margins ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(tsbl_co2, value) at test-plot-helpers.R:96:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:127:3'): gg_season() supports legacy Date and POSIXct indices ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggplot2::layer_data(gg_season(daily, y, "week")) at test-plot-helpers.R:127:3 2. │ └─ggplot2::ggplot_build(plot) 3. │ └─ggplot2:::try_prop(plot, "plot_env") 4. │ └─S7::S7_inherits(object) 5. │ └─S7:::has_S7_class(x) 6. └─ggtime::gg_season(daily, y, "week") 7. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 8. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 9. └─tibble:::tbl_subassign(...) 10. └─tibble:::vectbl_recycle_rhs_rows(...) 11. ├─base::withCallingHandlers(...) 12. └─vctrs::vec_recycle(value[[j]], nrow) 13. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:140:3'): gg_season() breaks the time axis at observations ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(tsbl_co2, value) at test-plot-helpers.R:140:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:154:3'): gg_season() loops weekly data over ISO week-years ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_season(weekly, y) at test-plot-helpers.R:154:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:160:3'): gg_subseries() plots ─────────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_subseries(tsbl_co2, value) at test-plot-helpers.R:160:3 2. ├─base::`[[<-`(`*tmp*`, idx, value = `<mixtime>`) 3. └─tibble:::`[[<-.tbl_df`(`*tmp*`, idx, value = `<mixtime>`) 4. └─tibble:::tbl_subassign(...) 5. └─tibble:::vectbl_recycle_rhs_rows(...) 6. ├─base::withCallingHandlers(...) 7. └─vctrs::vec_recycle(value[[j]], nrow) 8. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 9. └─vecvec (local) vec_proxy(x = x) 10. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 11. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 12. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:198:3'): gg_lag() plots ───────────────────────── <dplyr:::mutate_error/rlang_error/error/condition> Error in `mutate(., season = if (!is.null(period)) { season_position_factor(as_mixtime_index(!!sym(idx)), period) }, !!!lag_exprs)`: i In argument: `season = if (...) NULL`. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─ggtime::gg_lag(tsbl_co2, value) at test-plot-helpers.R:198:3 2. │ └─data %>% as_tibble %>% ... 3. ├─dplyr::mutate(...) 4. ├─dplyr:::mutate.data.frame(...) 5. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by) 6. │ ├─base::withCallingHandlers(...) 7. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns) 8. │ └─mask$eval_all_mutate(quo) 9. │ └─dplyr (local) eval() 10. ├─ggtime:::season_position_factor(as_mixtime_index(index), period) 11. │ └─ggtime:::season_position(x, period) 12. │ └─mixtime::time_floor(x, period) 13. │ ├─S7::S7_dispatch() 14. │ └─mixtime (local) `method(time_floor, mixtime::mixtime)`(...) 15. │ └─vecvec::vecvec_apply(x, .f, granule = granule, ...) 16. │ └─vctrs::vec_is_empty(x) 17. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 18. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 19. │ └─vecvec (local) vec_proxy(x = x) 20. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 21. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 22. │ └─vecvec:::vv_index(x) 23. └─base::.handleSimpleError(...) 24. └─dplyr (local) h(simpleError(msg, call)) 25. └─rlang::abort(message, class = error_class, parent = parent, call = error_call) ── Error ('test-plot-helpers.R:246:3'): gg_tsdisplay() plots ─────────────────── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::gg_tsdisplay(tsbl_co2, value) at test-plot-helpers.R:246:3 2. ├─ggplot2::autoplot(feasts::ACF(data, !!y, lag_max = lag_max)) 3. └─ggtime:::autoplot.tbl_cf(feasts::ACF(data, !!y, lag_max = lag_max)) 4. ├─base::`[[<-`(`*tmp*`, "lag", value = `<mixtime>`) 5. └─tibble:::`[[<-.tbl_df`(`*tmp*`, "lag", value = `<mixtime>`) 6. └─tibble:::tbl_subassign(...) 7. └─tibble:::vectbl_recycle_rhs_rows(...) 8. ├─base::withCallingHandlers(...) 9. └─vctrs::vec_recycle(value[[j]], nrow) 10. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:40:3 11. └─vecvec (local) vec_proxy(x = x) 12. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 13. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 14. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:365:3'): as_period_granule() parses periods without lubridate ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-plot-helpers.R:365:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime:::as_period_granule(mixtime::weeks(2L), NULL) 5. └─mixtime::time_is_duration(period) 6. ├─S7::S7_dispatch() 7. └─mixtime (local) `method(time_is_duration, mixtime::mixtime)`(...) 8. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f, ...), ptype = `<lgl>`) 9. │ └─vecvec::is_vecvec(x) 10. └─vecvec::vecvec_apply(x, .f, ...) 11. └─vctrs::vec_is_empty(x) 12. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 13. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:539:3'): lag_to_duration() converts lags to mixtime durations ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-plot-helpers.R:539:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::format(lag_to_duration(lag(2, cal$hour(3L)))) 5. └─vecvec (local) `format.vecvec::vecvec`(lag_to_duration(lag(2, cal$hour(3L)))) 6. └─vecvec:::vv_index(x) ── Error ('test-plot-helpers.R:583:3'): lag_to_duration() passes mixtime durations through ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_identical(lag_to_duration(d), d) at test-plot-helpers.R:583:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─ggtime:::lag_to_duration(d) 5. └─mixtime::time_is_duration(lag) 6. ├─S7::S7_dispatch() 7. └─mixtime (local) `method(time_is_duration, mixtime::mixtime)`(...) 8. ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f, ...), ptype = `<lgl>`) 9. │ └─vecvec::is_vecvec(x) 10. └─vecvec::vecvec_apply(x, .f, ...) 11. └─vctrs::vec_is_empty(x) 12. └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 13. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:13:3'): durations are labelled as durations ─────── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_match(scale_labels(p), "days$") at test-scale-time.R:13:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) scale_labels(p) 5. │ ├─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-scale-time.R:18:3'): time_breaks on durations are labelled as durations ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::scale_x_mixtime(time_breaks = mixtime::quarters(4L)) at test-scale-time.R:18:3 2. └─ggtime:::mixtime_scale(...) 3. └─ggtime:::duration_as_granule(time_breaks, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:32:5'): default breaks step by how the chronon nests in coarser granules ── Error in `geom_point()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-scale-time.R:36:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) breaks_of(mixtime::quarters(0:20)) 5. │ └─ggtime (local) scale_labels(p) at test-scale-time.R:32:5 6. │ ├─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 7. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 8. │ └─ggplot2:::by_layer(...) 9. │ ├─rlang::try_fetch(...) 10. │ │ ├─base::tryCatch(...) 11. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 12. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 13. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 14. │ │ └─base::withCallingHandlers(...) 15. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 16. │ └─l$compute_aesthetics(d, plot) 17. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 18. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 19. │ └─ggplot2 (local) add_defaults(..., self = self) 20. │ ├─self$add(find_scale(aes, data[[aes]], env)) 21. │ │ └─ggplot2 (local) add(..., self = self) 22. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 23. │ ├─base::is.infinite(x) 24. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 25. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 26. │ │ └─vecvec::is_vecvec(x) 27. │ └─vecvec::vecvec_apply(x, .f) 28. │ └─vctrs::vec_is_empty(x) 29. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 30. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 31. │ └─vecvec (local) vec_proxy(x = x) 32. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 33. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 34. │ └─vecvec:::vv_index(x) 35. └─base::.handleSimpleError(...) 36. └─rlang (local) h(simpleError(msg, call)) 37. └─handlers[[1L]](cnd) 38. └─cli::cli_abort(...) 39. └─rlang::abort(...) ── Error ('test-scale-time.R:67:3'): mixed granularity durations share the finest chronon ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-scale-time.R:67:3 2. ├─base::c(mixtime::days(1:5), mixtime::hours(c(140, 160))) 3. └─mixtime (local) `c.mixtime::mixtime`(...) 4. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 5. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:77:3'): durations can't be scaled alongside other modes of time ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-scale-time.R:77:3 2. ├─base::c(mixtime::days(1:3), mixtime::date("2021-01-01")) 3. └─mixtime (local) `c.mixtime::mixtime`(mixtime::days(1:3), mixtime::date("2021-01-01")) 4. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 5. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:90:3'): time points are unaffected by duration handling ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_match(scale_labels(p), "^20[0-9]{2} [A-Z][a-z]{2}") at test-scale-time.R:90:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) scale_labels(p) 5. │ ├─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-scale-time.R:96:3'): break widths must be a single duration ──── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-scale-time.R:96:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─ggtime::scale_x_mixtime(...) 8. │ └─ggtime:::mixtime_scale(...) 9. │ └─ggtime:::is_waiver(time_breaks) 10. ├─base::c(mixtime::months(1L), mixtime::years(1L)) 11. └─mixtime (local) `c.mixtime::mixtime`(mixtime::months(1L), mixtime::years(1L)) 12. └─vctrs::vec_ptype_common(!!!dots[is_mt]) 13. └─vctrs (local) `<fn>`() at vctrs/R/type.R:167:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:129:3'): break widths can be given as a granule directly ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-scale-time.R:129:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) scale_labels(p + scale_x_mixtime(time_breaks = mixtime::years(1L))) 5. │ └─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 6. │ └─ggplot2:::try_prop(plot, "plot_env") 7. │ └─S7::S7_inherits(object) 8. │ └─S7:::has_S7_class(x) 9. └─ggtime::scale_x_mixtime(time_breaks = mixtime::years(1L)) 10. └─ggtime:::mixtime_scale(...) 11. └─ggtime:::duration_as_granule(time_breaks, call = call) 12. └─vctrs::vec_size(x) 13. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 14. └─vecvec (local) vec_proxy(x = x) 15. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 16. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 17. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:148:3'): time_breaks steps through the limits by a duration ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(x = mixtime::date("2020-01-06") + 0:60, y = 1:61) at test-scale-time.R:148:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2020-01-06"), 0:60) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:170:3'): coarser discrete breaks are placed at the start of each time point ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(x = mixtime::date("2021-01-01") + 0:89, y = 1:90) at test-scale-time.R:170:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2021-01-01"), 0:89) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:186:3'): time_labels formats breaks with a mixtime format string ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(x = mixtime::date("2020-01-06") + 0:6, y = 1:7) at test-scale-time.R:186:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2020-01-06"), 0:6) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:204:3'): default labels drop the within-chronon position when breaks are whole ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(x = mixtime::date("2024-01-01") + 0:20, y = 1:21) at test-scale-time.R:204:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(mixtime::date("2024-01-01"), 0:20) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:216:3'): fractional within-chronon positions are still shown ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─mixtime:::`Ops.mixtime::mixtime`(...) at test-scale-time.R:216:3 2. ├─base::NextMethod() 3. └─vecvec:::`Ops.vecvec::vecvec`(...) 4. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 5. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:240:3'): time_labels formats timezone-aware breaks ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::scale_x_mixtime(...) at test-scale-time.R:240:3 2. └─ggtime:::mixtime_scale(...) 3. └─ggtime:::duration_as_granule(time_breaks, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:266:3'): default labels leave the axis's timezone out ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_match(scale_labels(p), "^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$") at test-scale-time.R:266:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggtime (local) scale_labels(p) 5. │ ├─ggplot2::ggplot_build(p) at test-scale-time.R:2:3 6. │ └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 7. │ └─ggplot2:::by_layer(...) 8. │ ├─rlang::try_fetch(...) 9. │ │ ├─base::tryCatch(...) 10. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. │ │ └─base::withCallingHandlers(...) 14. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 15. │ └─l$compute_aesthetics(d, plot) 16. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 17. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 18. │ └─ggplot2 (local) add_defaults(..., self = self) 19. │ ├─self$add(find_scale(aes, data[[aes]], env)) 20. │ │ └─ggplot2 (local) add(..., self = self) 21. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 22. │ ├─base::is.infinite(x) 23. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 24. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 25. │ │ └─vecvec::is_vecvec(x) 26. │ └─vecvec::vecvec_apply(x, .f) 27. │ └─vctrs::vec_is_empty(x) 28. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 29. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 30. │ └─vecvec (local) vec_proxy(x = x) 31. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 32. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 33. │ └─vecvec:::vv_index(x) 34. └─base::.handleSimpleError(...) 35. └─rlang (local) h(simpleError(msg, call)) 36. └─handlers[[1L]](cnd) 37. └─cli::cli_abort(...) 38. └─rlang::abort(...) ── Error ('test-scale-time.R:289:3'): time_breaks labels name the granule the breaks step by ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─base::data.frame(...) at test-scale-time.R:289:3 2. ├─mixtime:::`Ops.mixtime::mixtime`(...) 3. ├─base::NextMethod() 4. └─vecvec:::`Ops.vecvec::vecvec`(...) 5. └─vctrs::vec_recycle_common(e1 = e1, e2 = e2) 6. └─vctrs (local) `<fn>`() at vctrs/R/recycle.R:51:3 7. └─vecvec (local) vec_proxy(x = x) 8. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 9. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 10. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:341:3'): break granules finer than the chronon fall within it ── Error in `vv_index(x)`: `x` is not a vecvec base vector. Backtrace: ▆ 1. └─ggtime::scale_x_mixtime(time_breaks = mixtime::days(1L)) at test-scale-time.R:341:3 2. └─ggtime:::mixtime_scale(...) 3. └─ggtime:::duration_as_granule(time_breaks, call = call) 4. └─vctrs::vec_size(x) 5. └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 6. └─vecvec (local) vec_proxy(x = x) 7. ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 8. │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 9. └─vecvec:::vv_index(x) ── Error ('test-scale-time.R:391:3'): chronons measured from a non-zero epoch keep their own time ── Error in `geom_line()`: Problem while computing aesthetics. i Error occurred in the 1st layer. Caused by error in `vv_index()`: ! `x` is not a vecvec base vector. Backtrace: ▆ 1. ├─testthat::expect_equal(ggplot_build(p)$data[[1]]$x, 50:55 + 0.5) at test-scale-time.R:391:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─ggplot2::ggplot_build(p) 5. ├─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(p) 6. │ └─ggplot2:::by_layer(...) 7. │ ├─rlang::try_fetch(...) 8. │ │ ├─base::tryCatch(...) 9. │ │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 10. │ │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 11. │ │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 12. │ │ └─base::withCallingHandlers(...) 13. │ └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 14. │ └─l$compute_aesthetics(d, plot) 15. │ └─ggplot2 (local) compute_aesthetics(..., self = self) 16. │ └─plot@scales$add_defaults(evaled, plot@plot_env) 17. │ └─ggplot2 (local) add_defaults(..., self = self) 18. │ ├─self$add(find_scale(aes, data[[aes]], env)) 19. │ │ └─ggplot2 (local) add(..., self = self) 20. │ └─ggplot2:::find_scale(aes, data[[aes]], env) 21. │ ├─base::is.infinite(x) 22. │ └─vecvec (local) `is.infinite.vecvec::vecvec`(x) 23. │ ├─vecvec::unvecvec(vecvec::vecvec_apply(x, .f), ptype = `<lgl>`) 24. │ │ └─vecvec::is_vecvec(x) 25. │ └─vecvec::vecvec_apply(x, .f) 26. │ └─vctrs::vec_is_empty(x) 27. │ └─vctrs::vec_size(x) at vctrs/R/size.R:109:3 28. │ └─vctrs (local) `<fn>`() at vctrs/R/size.R:85:3 29. │ └─vecvec (local) vec_proxy(x = x) 30. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x)) 31. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3 32. │ └─vecvec:::vv_index(x) 33. └─base::.handleSimpleError(...) 34. └─rlang (local) h(simpleError(msg, call)) 35. └─handlers[[1L]](cnd) 36. └─cli::cli_abort(...) 37. └─rlang::abort(...) [ FAIL 153 | WARN 22 | SKIP 8 | PASS 177 ] Deleting unused snapshots: 'coord-calendar/flipped-pane-and-column-gaps.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.