CRAN Package Check Results for Package ggtime

Last updated on 2026-11-21 00:52:20 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 15.83 379.92 395.75 ERROR
r-devel-linux-x86_64-fedora-clang 1.1.1 15.00 499.11 514.11 OK
r-devel-linux-x86_64-fedora-gcc 1.1.1 16.00 528.14 544.14 OK
r-devel-windows-x86_64 1.1.1 18.00 359.00 377.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 6.050 0.241 7.391 geom_candlestick 4.161 0.089 5.424 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [248s/292s] 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