我正在尝试使用gg_season documentation https://feasts.tidyverts.org/reference/gg_season.html中的示例
library(tsibble)
library(dplyr)
tsibbledata::aus_retail %>%
filter(
State == "Victoria",
Industry == "Cafes, restaurants and catering services"
) %>%
gg_season(Turnover)我得到了以下错误:
Error in ggplot2::scale_x_date()$trans$breaks(limit, n = len) :
unused argument (n = len)我是不是做错了什么?我是不是漏掉了什么明显的东西?
发布于 2020-04-04 20:15:03
好的,我在浏览了github的问题后找到了解决方案。https://github.com/tidyverts/feasts/issues/94
解决此问题的方法是将scales包更新到最新版本。
https://stackoverflow.com/questions/61027844
复制相似问题