tidyverts / fable

Tidy time series forecasting
https://fable.tidyverts.org
GNU General Public License v3.0
564 stars 66 forks source link

Issue with aus_retail example: Error in bt_hessian(x) : object 'x' not found #164

Closed thoughtfuldata closed 5 years ago

thoughtfuldata commented 5 years ago

I just downloaded the package today and I am trying to run the ReadMe. md aus_retail example

sessionInfo() R version 3.5.3 (2019-03-11) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 17134)

Matrix products: default

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

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

other attached packages: [1] dplyr_0.8.1 lubridate_1.7.4 tsibbledata_0.0.0.9000 [4] tsibble_0.8.1 fable_0.0.0.9100 fablelite_0.0.0.9100

loaded via a namespace (and not attached): [1] Rcpp_1.0.1 urca_1.3-0 pillar_1.4.1 compiler_3.5.3
[5] plyr_1.8.4 remotes_2.0.4 prettyunits_1.0.2 tools_3.5.3
[9] pkgload_1.0.2 digest_0.6.19 pkgbuild_1.0.3 lattice_0.20-38
[13] nlme_3.1-137 memoise_1.1.0 tibble_2.1.2 gtable_0.3.0
[17] pkgconfig_2.0.2 rlang_0.3.4 cli_1.1.0 rstudioapi_0.10
[21] curl_3.3 withr_2.1.2 stringr_1.4.0 feasts_0.0.0.9001 [25] fs_1.3.1 desc_1.2.0 generics_0.0.2 devtools_2.0.2
[29] rprojroot_1.3-2 grid_3.5.3 tidyselect_0.2.5 glue_1.3.1
[33] R6_2.4.0 processx_3.3.1 sessioninfo_1.1.1 tidyr_0.8.3
[37] ggplot2_3.1.1 purrr_0.3.2 callr_3.2.0 magrittr_1.5
[41] usethis_1.5.0 backports_1.1.4 ps_1.3.0 scales_1.0.0
[45] assertthat_0.2.1 colorspace_1.4-1 stringi_1.4.3 lazyeval_0.2.2
[49] munsell_0.5.0 crayon_1.3.4

mitchelloharawild commented 5 years ago

Should work now if you update fablelite. Thanks for the bug report!

thoughtfuldata commented 5 years ago

@mitchelloharawild Still having a problem running the example. the error became "Error: Column 'Turnover' must be length 24 (the number of rows) or one, not 0". it works if I comment out the arima and snaive code from the example

arima = ARIMA(log(Turnover)), snaive = SNAIVE(Turnover)

mitchelloharawild commented 5 years ago

Could you try again? I've cleaned up the bias adjustment code again and it seems to be passing my tests now.

thoughtfuldata commented 5 years ago

@mitchelloharawild Sorry about that my first force update must have gone wrong. I manually deleted all packages and then reinstalled each package and everything worked fine. Thanks!