Skip to content

Commit

Permalink
chore(plot_year): replace dontrun with donttest in examples
Browse files Browse the repository at this point in the history
Ref: #206
  • Loading branch information
GeraldineGomez committed Nov 18, 2024
1 parent e232d27 commit 8349895
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
11 changes: 5 additions & 6 deletions R/plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -1063,16 +1063,15 @@ plot_tabla_tipos_event <- function(data_agrupada,
#' plot_years(data_agrupada,
#' col_year = "ano"
#' )
#' \dontrun{
#' \donttest{
#' if (interactive()) {
#' data_years <- import_data_event(
#' nombre_event = "CHAGAS",
#' years = c(2019, 2020),
#' )
#' years = c(2019, 2020))
#' data_limpia <- limpiar_data_sivigila(data_years)
#' data_agrupada <- agrupar_years(data_event = data_limpia)
#' plot_years(data_agrupada,
#' col_year = "ano"
#' )
#' plot_years(data_agrupada, col_year = "ano")
#' }
#' }
#' @export
plot_years <- function(data_agrupada,
Expand Down
11 changes: 5 additions & 6 deletions man/plot_years.Rd

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

0 comments on commit 8349895

Please sign in to comment.