Skip to content

Commit

Permalink
Change error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfsaldanha committed Jan 29, 2024
1 parent 72b4f92 commit 6576b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/fetch_datasus.R
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ fetch_datasus <- function(year_start, month_start, year_end, month_end, uf = "al
error=function(cond) {
message(paste("Something went wrong with this URL:", file))
message("This can be a problem with the Internet or the file does not exist yet.")
message("If the file is too big, try to increase the timeout tolerance with options(timeout = 120)")
message("If the file is too big, try to increase the timeout argument value.")

if(stop_on_error == TRUE){
stop("Stopping download.")
Expand Down

0 comments on commit 6576b3e

Please sign in to comment.