Skip to content

Commit

Permalink
Change curl timeout argument
Browse files Browse the repository at this point in the history
  • Loading branch information
rfsaldanha committed Jun 17, 2024
1 parent 3778ff5 commit 10e0cd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/fetch_datasus.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#'
#' The files are downloaded to a temporary folder and deleted after the reading process.
#'
#' @examplesIf curl::has_internet() & RCurl::url.exists("ftp.datasus.gov.br", .opts = list(timeout.ms = 100))
#' @examplesIf curl::has_internet() & RCurl::url.exists("ftp.datasus.gov.br", .opts = list(timeout = 3))
#' # Fetch two years of data from SIM-DO
#' fetch_datasus(year_start = 2010, year_end = 2011,
#' information_system = "SIM-DO")
Expand Down
2 changes: 1 addition & 1 deletion man/fetch_datasus.Rd

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

0 comments on commit 10e0cd1

Please sign in to comment.