Skip to content

Commit

Permalink
Replace deprecated timezone in tests
Browse files Browse the repository at this point in the history
For compatibility with recent versions of tzdata. Fixes a CRAN warning.
  • Loading branch information
nacnudus authored Nov 30, 2024
2 parents 9aba44e + e25d14a commit 153b635
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: unpivotr
Title: Unpivot Complex and Irregular Data Layouts
Version: 0.6.3
Version: 0.6.4
Authors@R: c(
person("Duncan", "Garmonsway", email = "[email protected]", role = c("aut", "cre"))
)
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# unpivotr 0.6.4

* Make tests compatible with recent versions of tzdata (CRAN)

# unpivotr 0.6.3

* Make compatible with dplyr v1.1.0 (#58 @DavisVaughan)
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-concatenate.R
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ test_that("concatenate() handles timezones", {
)
)
x <- as.POSIXct("2018-01-01 01:00:00", tz = "UTC")
y <- as.POSIXct("2018-04-01 01:00:00", tz = "EST")
y <- as.POSIXct("2018-04-01 01:00:00", tz = "America/Panama")
expect_equal(
concatenate(list(x, y)),
as.POSIXct(c(
Expand Down

0 comments on commit 153b635

Please sign in to comment.