- using R version 4.6.2 Patched (2026-11-23 r90976)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.2.0-4) 16.2.0
GNU Fortran (Debian 16.2.0-4) 16.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-11-25 16:44:25 UTC
- checking for file ‘ggtime/DESCRIPTION’ ... OK
- this is package ‘ggtime’ version ‘1.1.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘ggtime’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [6s/9s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/6s] OK
- checking whether the package can be unloaded cleanly ... [4s/6s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [5s/7s] OK
- checking loading without being on the library search path ... [5s/6s] OK
- checking whether startup messages can be suppressed ... [5s/6s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [34s/46s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [54s/70s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
coord_calendar 9.202 0.179 11.486
geom_candlestick 6.236 0.000 8.761
geom_time_line 5.297 0.000 6.762
gg_tsresiduals 4.361 0.060 5.934
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [455s/574s] 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
- checking PDF version of manual ... [6s/7s] OK
- checking HTML version of manual ... [4s/5s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR