We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7273781 commit 46061fbCopy full SHA for 46061fb
tests/testthat/test-utils.R
@@ -251,8 +251,8 @@ test_that("guess_period works", {
251
weekly_posixcts
252
)
253
# On POSIXlts:
254
- daily_posixlts <- as.POSIXlt(daily_dates, tz = "UTC") + 3600
255
- weekly_posixlts <- as.POSIXlt(weekly_dates, tz = "UTC") + 3600
+ daily_posixlts <- as.POSIXlt(daily_dates, tz = "US/Aleutian") + 3600
+ weekly_posixlts <- as.POSIXlt(weekly_dates, tz = "US/Aleutian") + 3600
256
expect_identical(
257
daily_posixlts[[1L]] + guess_period(daily_posixlts) * (seq_along(daily_posixlts) - 1L),
258
daily_posixlts
0 commit comments