Skip to content

Commit 8bb37c4

Browse files
committed
Fixup formatting on merge fixup
1 parent ef45cf1 commit 8bb37c4

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

R/archive.R

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,8 @@ epi_archive =
413413
min_time = Min(self$DT$time_value)
414414
max_time = Max(self$DT$time_value)
415415
}
416-
cat(sprintf("* %-14s = %s\n", "min time value",
417-
min_time))
418-
cat(sprintf("* %-14s = %s\n", "max time value",
419-
max_time))
416+
cat(sprintf("* %-14s = %s\n", "min time value", min_time))
417+
cat(sprintf("* %-14s = %s\n", "max time value", max_time))
420418
cat(sprintf("* %-14s = %s\n", "first version with update",
421419
min(self$DT$version)))
422420
cat(sprintf("* %-14s = %s\n", "last version with update",

tests/testthat/test-methods-epi_archive.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ test_that("as_of properly grabs the data and doesn't mutate key",{
2828

2929
ea2 = tibble::tribble(
3030
~geo_value, ~time_value, ~version, ~cases,
31-
"ca", "2020-06-01", "2020-06-01", 1,
32-
"ca", "2020-06-01", "2020-06-02", 2,
31+
"ca", "2020-06-01", "2020-06-01", 1,
32+
"ca", "2020-06-01", "2020-06-02", 2,
3333
#
34-
"ca", "2020-06-02", "2020-06-02", 0,
35-
"ca", "2020-06-02", "2020-06-03", 1,
36-
"ca", "2020-06-02", "2020-06-04", 2,
34+
"ca", "2020-06-02", "2020-06-02", 0,
35+
"ca", "2020-06-02", "2020-06-03", 1,
36+
"ca", "2020-06-02", "2020-06-04", 2,
3737
#
38-
"ca", "2020-06-03", "2020-06-03", 1,
38+
"ca", "2020-06-03", "2020-06-03", 1,
3939
#
40-
"ca", "2020-06-04", "2020-06-04", 4,
40+
"ca", "2020-06-04", "2020-06-04", 4,
4141
) %>%
4242
dplyr::mutate(dplyr::across(c(time_value, version), as.Date)) %>%
4343
as_epi_archive()

0 commit comments

Comments
 (0)