Closed robjhyndman closed 4 months ago
library(fpp3) #> ── Attaching packages ──────────────────────────────────────────── fpp3 0.4.0 ── #> ✓ tibble 3.1.6 ✓ tsibble 1.1.1 #> ✓ dplyr 1.0.8 ✓ tsibbledata 0.4.0 #> ✓ tidyr 1.2.0 ✓ feasts 0.2.2 #> ✓ lubridate 1.8.0 ✓ fable 0.3.1 #> ✓ ggplot2 3.3.5 #> ── Conflicts ───────────────────────────────────────────────── fpp3_conflicts ── #> x lubridate::date() masks base::date() #> x dplyr::filter() masks stats::filter() #> x tsibble::intersect() masks base::intersect() #> x tsibble::interval() masks lubridate::interval() #> x dplyr::lag() masks stats::lag() #> x tsibble::setdiff() masks base::setdiff() #> x tsibble::union() masks base::union() us_change %>% pivot_longer(c(Consumption, Income), names_to = "Series") %>% autoplot(value)
us_change %>% pivot_longer(c(Consumption, Income), names_to = "Time Series") %>% autoplot(value) #> Error in `not_tsibble()`: #> ! x is not a tsibble.
Created on 2022-03-03 by the reprex package (v2.0.1)
Upstream tsibble issue fixed in https://github.com/tidyverts/tsibble/pull/306.
Created on 2022-03-03 by the reprex package (v2.0.1)