Newer versions of hms::as_hms() are more strict about formatting, no requiring HH:MM:SS where previously HH:MM worked.
rsthemes::use_theme_auto(dark_start = "17:00", dark_end = "6:00")
#> Warning: Lossy cast from <character> to <hms> at position(s) 1
#> Warning: Lossy cast from <character> to <hms> at position(s) 1
#> Error in if (dark_times$end > dark_times$start) {: missing value where TRUE/FALSE needed
Newer versions of
hms::as_hms()
are more strict about formatting, no requiringHH:MM:SS
where previouslyHH:MM
worked.