Skip to content

Commit

Permalink
Re-consolidating in sysdata
Browse files Browse the repository at this point in the history
Fixes error in vignette development
  • Loading branch information
Daniel Comeaux authored and Daniel Comeaux committed Dec 29, 2023
1 parent c41a7a2 commit de36aab
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions R/geom_recessions.R
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,8 @@ GeomPandemicsText <- ggproto(
#' # package maintainers can update the internal dataset from within
#' # package by running the following code:
#' \dontrun{
#' recessions <- update_recessions()
#' save(recessions, file = "R/recessions.rda")
#' recessions <- update_recessions()
#' usethis::use_data(recessions, pandemics, internal = TRUE, overwrite = TRUE)
#' }
#'
#'@export
Expand Down Expand Up @@ -833,5 +833,5 @@ update_recessions <- function(url = NULL, quietly = FALSE){
#' mutate(start_date = as.Date(start_date, format = "%m/%d/%Y"),
#' end_date = as.Date(end_date, format = "%m/%d/%Y"))
#'
#' save(pandemics, file = "R/pandemics.rda")
#' usethis::use_data(recessions, pandemics, internal = TRUE, overwrite = TRUE)
#' }
Binary file removed R/pandemics.rda
Binary file not shown.
Binary file removed R/recessions.rda
Binary file not shown.
Binary file added R/sysdata.rda
Binary file not shown.
4 changes: 2 additions & 2 deletions man/update_recessions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed pandemics.rda
Binary file not shown.

0 comments on commit de36aab

Please sign in to comment.