For example:
options(
warnPartialMatchArgs = TRUE,
warnPartialMatchAttr = TRUE,
warnPartialMatchDollar = TRUE
)
ceiling_date(Sys.time(), "day")
#> Warning in (function (object, years = integer(), months = integer(), days = integer(), :
#> partial argument match of 'day' to 'days'
#> Warning in (function (object, years = integer(), months = integer(), days = integer(), :
#> partial argument match of 'hour' to 'hours'
#> Warning in (function (object, years = integer(), months = integer(), days = integer(), :
#> partial argument match of 'minute' to 'minutes'
#> Warning in (function (object, years = integer(), months = integer(), days = integer(), :
#> partial argument match of 'second' to 'seconds'
#> [1] "2018-05-12 CDT"
I believe the calls to update() here should have days instead of day, hours instead of hour, and so on.
For example:
I believe the calls to
update()here should havedaysinstead ofday,hoursinstead ofhour, and so on.