Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
Wasin Pipattungsakul committed Nov 21, 2024
1 parent 91b1468 commit 4f4c888
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/read_smips.R
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ read_smips <- function(collection = "totalbucket",

if (.collection == "totalbucket" &&
.url_year < 2005 ||
# NOTE: this is throwing "'tzone' attributes are inconsistent"
.day > .last_week) {
cli::cli_abort("The data are not available before 2005 and roughly
much past { .last_week }")
Expand Down

0 comments on commit 4f4c888

Please sign in to comment.