gadenbuie / rsthemes

🔮 Full RStudio IDE and Syntax Themes
https://www.garrickadenbuie.com/project/rsthemes/
Other
578 stars 43 forks source link

Lossy cast from character to hms #59

Closed gadenbuie closed 3 years ago

gadenbuie commented 3 years ago

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