Skip to content

Commit

Permalink
Clarify SAS warning
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Firke <[email protected]>
  • Loading branch information
billdenney and sfirke authored Nov 19, 2024
1 parent a0d6a51 commit 3ea931c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/sas_dates.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ sas_numeric_to_date <- function(date_num, datetime_num, time_num, tz = "UTC") {
stopifnot(is.character(tz))
stopifnot(length(tz) == 1)
if (tz != "UTC") {
warning("`tz` in SAS does not appear to be stored with the source data; please verify timezone conversion is correct")
warning("SAS may not properly store timezones other than UTC. Consider confirming the accuracy of the resulting data.")
}
if (has_date & has_datetime) {
stop("Must not give both `date_num` and `datetime_num`")
Expand Down

0 comments on commit 3ea931c

Please sign in to comment.