You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I am getting an error with gg_subseries when my tsibble's index column is named with spaces, e.g. Year Month. There's an error message saying "Don't know how to automatically pick scale for object of type NULL. Defaulting to continuous", which seems to stem from the expr_text() in the line below.
library(feasts)
#> Loading required package: fabletools
library(tsibble)
#> #> Attaching package: 'tsibble'#> The following objects are masked from 'package:base':#> #> intersect, setdiff, union
library(dplyr)
#> #> Attaching package: 'dplyr'#> The following objects are masked from 'package:stats':#> #> filter, lag#> The following objects are masked from 'package:base':#> #> intersect, setdiff, setequal, uniontourism %>%
summarise(Trips= sum(Trips)) %>%
rename(`index with spaces`=Quarter) %>%
gg_subseries()
#> Plot variable not specified, automatically selected `y = Trips`#> Don't know how to automatically pick scale for object of type NULL. Defaulting to continuous.#> Error in get(scale_fn, asNamespace("feasts"), mode = "function"): object 'scale_x_continuous' of mode 'function' was not found
library(feasts)
#> Loading required package: fabletools
library(tsibble)
#> #> Attaching package: 'tsibble'#> The following objects are masked from 'package:base':#> #> intersect, setdiff, union
library(dplyr)
#> #> Attaching package: 'dplyr'#> The following objects are masked from 'package:stats':#> #> filter, lag#> The following objects are masked from 'package:base':#> #> intersect, setdiff, setequal, uniontourism %>%
summarise(Trips= sum(Trips)) %>%
rename(`index with spaces`=Quarter) %>%
gg_subseries()
#> Plot variable not specified, automatically selected `y = Trips`
Hello,
I am getting an error with gg_subseries when my tsibble's index column is named with spaces, e.g.
Year Month
. There's an error message saying "Don't know how to automatically pick scale for object of type NULL. Defaulting to continuous", which seems to stem from the expr_text() in the line below.feasts/R/graphics.R
Line 437 in dc8e588
Maybe using as_name() or as_label() instead of expr_text() will help?
The text was updated successfully, but these errors were encountered: