Skip to content

Commit

Permalink
chore(import_pob_incidencia): add interactive for cache param
Browse files Browse the repository at this point in the history
Ref: #206
  • Loading branch information
GeraldineGomez committed Nov 22, 2024
1 parent 6091a60 commit 4b9756c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions R/import_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,13 @@ import_sep_data <- function(ruta_data = NULL,
#' @examples
#' \donttest{
#' # Importación proyecciones poblaciones DANE
#' import_pob_incidencia(poblacion = "proyecciones", year = 2020,
#' ruta_dir = tempdir())
#' if (interactive()) {
#' import_pob_incidencia(poblacion = "proyecciones", year = 2020,
#' cache = TRUE)
#' }
#' # Importación población a riesgo de Dengue del año 2020
#' import_pob_incidencia(poblacion = "riesgo", event = "dengue", year = 2020,
#' ruta_dir = tempdir())
#' import_pob_incidencia(poblacion = "riesgo", event = "dengue", year = 2020,
#' ruta_dir = tempdir())
#' }
#' @export
import_pob_incidencia <- function(
Expand Down
6 changes: 4 additions & 2 deletions man/import_pob_incidencia.Rd

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

0 comments on commit 4b9756c

Please sign in to comment.