Skip to content

Fix autoplot.epi_archive on archives with a v column #675

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 1 commit into from
Jun 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: epiprocess
Title: Tools for basic signal processing in epidemiology
Version: 0.12.0
Version: 0.12.0.9999
Authors@R: c(
person("Jacob", "Bien", role = "ctb"),
person("Logan", "Brooks", , "[email protected]", role = c("aut", "cre")),
Expand Down
9 changes: 8 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# epiprocess

Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicate PR's.
Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.0.9999 will
indicate development versions beyond 0.x.

# epiprocess 0.12.0.9999

## Bug fixes
- `autoplot.epi_archive` now works properly on archives that contain a column
named `v` (#674, thanks to @pcollender for the report).

# epiprocess 0.12

Expand Down
2 changes: 1 addition & 1 deletion R/autoplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ autoplot.epi_archive <- function(object, ...,
snapshots <- purrr::map(
.versions,
function(v) {
dplyr::mutate(epix_as_of(object, v), version = v)
dplyr::mutate(epix_as_of(object, v), version = .env$v)
}
) %>%
purrr::list_rbind() %>%
Expand Down