from_d <- as.Date(now() - as.period(1, unit = c("year")))
Resulted in a "NA". Which I can understand as 29 February 2023 did not exist. Is this a feature, design of Lubridate, or should I have used another method?
As bypass I modified the code to:
from_d <- as.Date(now() - as.period(52, unit = c("week")))