Skip to content

Commit 4b7f28a

Browse files
committed
style: styler (GHA)
1 parent 448d29a commit 4b7f28a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

R/archive.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ new_epi_archive <- function(
319319
# Runs compactify on data frame
320320
if (is.null(compactify) || compactify == TRUE) {
321321
compactified <- apply_compactify(data_table, key_vars, compactify_tol)
322-
} else{
322+
} else {
323323
compactified <- data_table
324324
}
325325
# Warns about redundant rows if the number of rows decreased, and we didn't

tests/testthat/test-archive.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ test_that("as_epi_archive custom name mapping works correctly", {
5151
dumb_ex <- data.frame(
5252
geo_value = c("ca", "ca"),
5353
time_value = as.Date(c("2020-01-01", "2020-01-01")),
54-
value = c(1,1),
54+
value = c(1, 1),
5555
version = as.Date(c("2020-01-01", "2020-01-02"))
5656
)
5757
test_that("new_epi_archive correctly detects and warns about compactification", {

0 commit comments

Comments
 (0)