Skip to content

Commit

Permalink
fix: grouped_epi_archives are not epi_archives
Browse files Browse the repository at this point in the history
We don't want to try to use an `epi_archive` method implementation on a
`grouped_epi_archive`, or have `is_epi_archive` succeed on them even with
`grouped_okay = FALSE`, to prevent attempted extraction of nonexistent fields.
  • Loading branch information
brookslogan committed Apr 29, 2024
1 parent 719612f commit 2fc7731
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/grouped_epi_archive.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ new_grouped_epi_archive <- function(x, vars, drop) {
list(
private = private
),
class = c("grouped_epi_archive", "epi_archive")
class = c("grouped_epi_archive")
))
}

Expand Down

0 comments on commit 2fc7731

Please sign in to comment.