Skip to content

Commit 5d35361

Browse files
authored
Merge pull request #675 from cmu-delphi/lcb/autoplot-with-v-col
Fix `autoplot.epi_archive` on archives with a `v` column
2 parents 56269e9 + a215805 commit 5d35361

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: epiprocess
33
Title: Tools for basic signal processing in epidemiology
4-
Version: 0.12.0
4+
Version: 0.12.0.9999
55
Authors@R: c(
66
person("Jacob", "Bien", role = "ctb"),
77
person("Logan", "Brooks", , "[email protected]", role = c("aut", "cre")),

NEWS.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# epiprocess
22

3-
Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.y will indicate PR's.
3+
Pre-1.0.0 numbering scheme: 0.x will indicate releases, while 0.x.0.9999 will
4+
indicate development versions beyond 0.x.
5+
6+
# epiprocess 0.12.0.9999
7+
8+
## Bug fixes
9+
- `autoplot.epi_archive` now works properly on archives that contain a column
10+
named `v` (#674, thanks to @pcollender for the report).
411

512
# epiprocess 0.12
613

R/autoplot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ autoplot.epi_archive <- function(object, ...,
311311
snapshots <- purrr::map(
312312
.versions,
313313
function(v) {
314-
dplyr::mutate(epix_as_of(object, v), version = v)
314+
dplyr::mutate(epix_as_of(object, v), version = .env$v)
315315
}
316316
) %>%
317317
purrr::list_rbind() %>%

0 commit comments

Comments
 (0)