Last updated on 2026-11-30 02:51:53 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.1 | 22.66 | 674.48 | 697.14 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.1.1 | 15.04 | 453.57 | 468.61 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.1.1 | 194.29 | ERROR | |||
| r-devel-linux-x86_64-fedora-gcc | 1.1.1 | 189.98 | ERROR | |||
| r-devel-windows-x86_64 | 1.1.1 | 19.00 | 411.00 | 430.00 | ERROR | |
| r-patched-linux-x86_64 | 1.1.1 | 22.88 | 647.49 | 670.37 | ERROR | |
| r-release-linux-x86_64 | 1.1.1 | 22.28 | 649.26 | 671.54 | ERROR | |
| 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 | 21.00 | 540.00 | 561.00 | ERROR | |
| 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 | 29.00 | 793.00 | 822.00 | ERROR |
Version: 1.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [8m/10m]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [311s/391s]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [129s/132s]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [126s/129s]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [408s]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 886 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [455s/574s]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 885 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 885 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [460s/588s]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 885 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 885 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [365s]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 885 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 885 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [561s]
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-81.R
`geom_path()`: Each group consists of only one observation.
i Do you need to adjust the group aesthetic?
Saving _problems/test-plot-helpers-445.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
Saving _problems/test-plot-helpers-645.R
[ FAIL 7 | WARN 885 | SKIP 9 | PASS 907 ]
══ Skipped tests (9) ═══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-gg-lag.R:24:3'): gg_lag() supports mixtime indices ─────────────
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:49:5'): gg_lag() accepts a period for mixtime indices ──
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-gg-lag.R:81:3'): gg_lag() requires a fixed number of observations per period ──
Error in `vv_slots(self)`: `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. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
5. ├─dplyr::mutate(...)
6. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
7. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
8. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
9. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
10. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
11. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
12. │ └─tibble:::check_valid_cols(x, call = call)
13. │ ├─base::which(!map_lgl(x, is_valid_col))
14. │ └─tibble:::map_lgl(x, is_valid_col)
15. │ └─tibble:::map_mold(.x, .f, logical(1), ...)
16. │ └─base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
17. │ └─tibble (local) FUN(X[[i]], ...)
18. │ └─vctrs::vec_is(x)
19. │ └─vctrs::obj_is_vector(x) at vctrs/R/assert.R:139:3
20. │ └─vctrs (local) `<fn>`() at vctrs/R/assert.R:278:3
21. │ └─vecvec (local) vec_proxy(x = x)
22. │ ├─vctrs::data_frame(x = list(x@x), l = sum(list_sizes(x@x)), i = vv_index(x))
23. │ │ └─rlang::list2(...) at vctrs/R/type-data-frame.R:187:3
24. │ ├─x@x
25. │ └─S7:::`@.S7_object`(x, x)
26. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
27. └─vecvec:::vv_slots(self)
── Error ('test-plot-helpers.R:445:3'): gg_lag() supports mixtime indices ──────
Error in `vv_slots(self)`: `x` is not a vecvec base vector.
Backtrace:
▆
1. ├─ggtime::gg_lag(monthly, y) at test-plot-helpers.R:445:3
2. │ └─... %>% filter(!is.na(!!sym(".value")) & !is.na(!!y))
3. ├─dplyr::filter(., !is.na(!!sym(".value")) & !is.na(!!y))
4. ├─dplyr::mutate(...)
5. ├─tidyr::gather(., ".lag", ".value", !!names(lag_exprs))
6. ├─tidyr:::gather.data.frame(., ".lag", ".value", !!names(lag_exprs))
7. │ └─tidyr:::reconstruct_tibble(data, out, gather_vars)
8. │ ├─tibble::as_tibble(output, .name_repair = "minimal")
9. │ └─tibble:::as_tibble.data.frame(output, .name_repair = "minimal")
10. │ └─tibble:::lst_to_tibble(unclass(x), .rows, .name_repair)
11. │ └─tibble:::check_valid_cols(x, 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. │ ├─x@x
24. │ └─S7:::`@.S7_object`(x, x)
25. └─vecvec (local) `<mixtime>@x`(`<mixtime>`)
26. └─vecvec:::vv_slots(self)
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
── Failure ('test-plot-helpers.R:645:5'): ACF-based plots support mixtime indices ──
Expected `ggplot2::ggplot_build(gg_lag(data, y))` not to throw any errors.
Actually got a <simpleError> with message:
`x` is not a vecvec base vector.
[ FAIL 7 | WARN 885 | SKIP 9 | PASS 907 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64