Skip to content

Commit

Permalink
chore: replace dontrun with dontest in examples
Browse files Browse the repository at this point in the history
Ref: #206
  • Loading branch information
GeraldineGomez committed Nov 13, 2024
1 parent 0f899aa commit 9462e08
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
10 changes: 7 additions & 3 deletions R/import_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@ import_geo_cods <- function(descargar = FALSE) {
#' @return Una `list` con las enfermedades y los años disponibles
#' para su descarga desde los microdatos del SIVIGILA.
#' @examples
#' \dontrun{
#' list_events()
#' \donttest{
#' if (interactive()) {
#' list_events()
#' }
#' }
#' @export
list_events <- function() {
Expand Down Expand Up @@ -160,7 +162,8 @@ list_events <- function() {
#' @return Un `data.frame` con los datos del año de la enfermedad o evento
#' seleccionado desde los microdatos del SIVIGILA.
#' @examples
#' \dontrun{
#' \donttest{
#' if (interactive()) {
#' import_data_event(nombre_event = "DENGUE",
#' years = 2020,
#' cache = TRUE)
Expand All @@ -170,6 +173,7 @@ list_events <- function() {
#' import_data_event(nombre_event = "CHAGAS",
#' years = seq(2018, 2020),
#' cache = TRUE)
#' }
#' }
#' @export
import_data_event <- function(nombre_event,
Expand Down
6 changes: 4 additions & 2 deletions man/list_events.Rd

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

0 comments on commit 9462e08

Please sign in to comment.