Skip to content

Commit

Permalink
bump version, pass local checks
Browse files Browse the repository at this point in the history
  • Loading branch information
dajmcdon committed Oct 6, 2023
1 parent 3ef79b9 commit df235d7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
# Created with usethis + edited to use API key.
on:
push:
branches: [main, master, v0.0.6]
branches: [main, master]
pull_request:
branches: [main, master, v0.0.6]
branches: [main, master]

name: R-CMD-check

Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: epipredict
Title: Basic epidemiology forecasting methods
Version: 0.0.5
Version: 0.0.6
Authors@R: c(
person("Daniel", "McDonald", , "[email protected]", role = c("aut", "cre")),
person("Ryan", "Tibshirani", , "[email protected]", role = "aut"),
Expand Down
6 changes: 3 additions & 3 deletions R/flusight_hub_formatter.R
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ flusight_hub_formatter.data.frame <- function(
dplyr::mutate(.pred_distn = nested_quantiles(.pred_distn)) %>%
dplyr::rowwise() %>%
dplyr::mutate(
.pred_distn = list(add_row(.pred_distn, q = .pred, tau = NA)),
.pred_distn = list(add_row(.pred_distn, values = .pred, quantile_levels = NA)),
.pred = NULL
) %>%
tidyr::unnest(.pred_distn) %>%
# now we create the correct column names
dplyr::rename(
value = q,
output_type_id = tau,
value = values,
output_type_id = quantile_levels,
reference_date = forecast_date
) %>%
# convert to fips codes, and add any constant cols passed in ...
Expand Down

0 comments on commit df235d7

Please sign in to comment.