Closed mtkerbeR closed 3 years ago
Furthermore, on the pkgdown page this example is not working: https://tsibble.tidyverts.org/reference/index-by.html#examples
Can reproduce this error message locally if library lubridate is not loaded
tourism %>% index_by(Year = ~ financial_year(.)) %>% summarise(Total = sum(Trips))
mutate()
Year
f(Quarter)
Thanks.
Furthermore, on the pkgdown page this example is not working: https://tsibble.tidyverts.org/reference/index-by.html#examples
Can reproduce this error message locally if library lubridate is not loaded
tourism %>% index_by(Year = ~ financial_year(.)) %>% summarise(Total = sum(Trips))
> Error: Problem with
mutate()
inputYear
.> ✖ could not find function "financial_year"
> ℹ Input
Year
isf(Quarter)
.