Skip to content

epi_df argument refactoring #460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jul 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: styler (GHA)
  • Loading branch information
dsweber2 committed Jul 19, 2024
commit f6904f27beb35ff933423f280d2784fc5208491b
4 changes: 2 additions & 2 deletions tests/testthat/test-archive.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ test_that("data.frame must contain geo_value, time_value and version columns", {
test_that("as_epi_archive custom name mapping works correctly", {
# custom name works correctly
suppressWarnings(expect_equal(
as_epi_archive(rename(dt, weirdName = version), version = weirdName),
as_epi_archive(rename(dt, weirdName = version), version = weirdName),
as_epi_archive(dt)
))
suppressWarnings(expect_equal(
as_epi_archive(rename(dt, weirdName = geo_value), geo_value = weirdName),
as_epi_archive(dt)
))
suppressWarnings(expect_equal(
as_epi_archive(rename(dt, weirdName = time_value), time_value = weirdName),
as_epi_archive(rename(dt, weirdName = time_value), time_value = weirdName),
as_epi_archive(dt)
))

Expand Down