(v1.2.0.9010) documentation fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-06-17 21:35:10 +02:00
1 parent f18389d5d6
commit e88d7853f5
14 files changed
+20 -20

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ resistance_predict <- function(x,
year <- function(x) {
# don't depend on lubridate or so, would be overkill for only this function
if (all(grepl("^[0-9]{4}$", x))) {
x
as.integer(x)
} else {
as.integer(format(as.Date(x), "%Y"))
}