> lubridate::dmy("2022-03-21") + lubridate::days(7)
[1] NA
Warning message:
All formats failed to parse. No formats found.
>
> anytime::anydate("2022-03-21") + 7
[1] "2022-03-28"
>
Always happy to help another #rstats user π
πππ’("πΈπΆπΈπΈ-πΆπΉ-πΈπ·") + πππ’π(π½)
That's right, for folks planning to submit your talk for consideration at πππππππ::ππππ(πΈπΆπΈπΈ), weβre extending the deadline to March 28.
#rstudioconf #rstudioconf2022
3
6
59
I also use it but it a) supports fewer formats that anydate(), b) does not deal with as many input types and c) still insists on the re-repeating for 1e5s time what "origin" is (as if there ever was a doubt) so anydate() wins.
Apart from that it's great and zero-dependency.
Mar 19, 2022 Β· 7:21 PM UTC
3
