business-science / anomalize

Tidy anomaly detection
https://business-science.github.io/anomalize/
339 stars 61 forks source link

Evaluation error: invalid 'tz' value.. #3

Closed McCompexpert closed 6 years ago

McCompexpert commented 6 years ago

At executing this snippet: tidyverse_cran_downloads %>% time_decompose(count, method = "stl", frequency = "auto", trend = "auto")

I am getting: Error in mutate_impl(.data, dots) : Evaluation error: invalid 'tz' value..

Re-Installing tibbletime did not help.

> sessionInfo()
R version 3.4.0 (2017-04-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252    LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C                    LC_TIME=German_Germany.1252    

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

other attached packages:
 [1] bindrcpp_0.2     lubridate_1.6.0  anomalize_0.1.0  dplyr_0.7.4      purrr_0.2.3      readr_1.1.1     
 [7] tidyr_0.7.1      tibble_1.4.2     ggplot2_2.2.1    tidyverse_1.1.1  tibbletime_0.1.1
McCompexpert commented 6 years ago

Ah, figured it out: tidyverse was not up to date. Re-installed tidyverse to the version 1.2.1 and it works now

mdancho84 commented 6 years ago

That's what I was looking at in your pkgs. Good to know. Thanks for posting and glad you solved it.