Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples in dev version keep giving errors #174

Closed
hongooi73 opened this issue Mar 12, 2020 · 1 comment
Closed

Examples in dev version keep giving errors #174

hongooi73 opened this issue Mar 12, 2020 · 1 comment

Comments

@hongooi73
Copy link
Contributor

I've installed the dev version of fabletools to work on implementing #169 #170, but I'm running into lots of errors when trying to run the examples for forecast. Here is one:

r$> library(fable)
    library(tsibble)
    library(tsibbledata)
    library(dplyr)
    library(tidyr)

    # Forecasting with an ETS(M,Ad,A) model to Australian beer production
    beer_fc <- aus_production %>%
      model(ets = ETS(log(Beer) ~ error("M") + trend("Ad") + season("A"))) %>%       
      forecast(h = "3 years")

Attaching package: 'dplyr'

The following objects are masked from 'package:stats':

    filter, lag

The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union

Error: `mutate()` argument `ets` errored.
i `ets` is `(function (object, ...) ...`.
x non-numeric argument to mathematical function
Run `rlang::last_error()` to see where the error occurred.
In addition: Warning message:
`time_unit()` is deprecated as of tsibble 0.9.0.
Please use `default_time_units()` instead.
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated. 

Is this expected? I have dev versions of all the tidyverts packages installed, as well as dplyr, vctrs and tibble.

Session info:

r$> sessionInfo()
R version 3.6.2 (2019-12-12)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)

Matrix products: default

locale:
[1] LC_COLLATE=English_Australia.1252  LC_CTYPE=English_Australia.1252
[3] LC_MONETARY=English_Australia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Australia.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] tidyr_1.0.2            dplyr_0.8.99.9000      tsibbledata_0.1.0.9000
[4] tsibble_0.8.9.9000     fable_0.1.2.9000       fabletools_0.1.2.9000

loaded via a namespace (and not attached):
 [1] Rcpp_1.0.3                magrittr_1.5              munsell_0.5.0
 [4] tidyselect_1.0.0          colorspace_1.4-0          anytime_0.3.7
 [7] R6_2.4.1                  rlang_0.4.5               fansi_0.4.0
[10] stringr_1.4.0             tools_3.6.2               grid_3.6.2
[13] gtable_0.2.0              cli_2.0.0                 ellipsis_0.3.0
[16] assertthat_0.2.1          lazyeval_0.2.1            tibble_2.99.99.9014
[19] lifecycle_0.2.0           crayon_1.3.4              purrr_0.3.3
[22] ggplot2_3.2.1             vctrs_0.2.99.9010         glue_1.3.2
[25] stringi_1.4.3             compiler_3.6.2            pillar_1.4.3
[28] scales_1.0.0              generics_0.0.2            distributional_0.0.0.9000   
[31] lubridate_1.7.4           pkgconfig_2.0.3
@mitchelloharawild
Copy link
Member

The development versions are in flux at the moment while I add varying levels of support for vctrs in preparation for upcoming tibble and dplyr releases. The master branch should currently be suitable for dev tibble and CRAN dplyr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants