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

Error in FUN(X[[i]], ...) : object '.group' not found #2

Closed
guivivi opened this issue Apr 9, 2018 · 11 comments
Closed

Error in FUN(X[[i]], ...) : object '.group' not found #2

guivivi opened this issue Apr 9, 2018 · 11 comments

Comments

@guivivi
Copy link

guivivi commented Apr 9, 2018

Hello,

Thanks for this outstanding group.

Following the code posted in https://business-science.github.io/anomalize/ I have got this error:
tidyverse_cran_downloads %>%
# Data Manipulation / Anomaly Detection
time_decompose(count, method = "stl") %>%
anomalize(remainder, method = "iqr") %>%
time_recompose() %>%
# Anomaly Visualization
plot_anomalies(time_recomposed = TRUE, ncol = 3, alpha_dots = 0.25)
Error in FUN(X[[i]], ...) : object '.group' not found

Is there any way to overcome this error?

Thanks in advance.

Kind regards,

Guillermo

@mdancho84
Copy link
Contributor

Where is the function failing? Please go through each of the steps one by one. and let me know which function the error occurs at.

@JoeFernando
Copy link

I get he same error. The problem is with the viz part of the code:
plot_anomalies(time_recomposed = TRUE, ncol = 3, alpha_dots = 0.25)

Reinstalled tibbletime and result was the same

@DavisVaughan
Copy link

A quick google search tells me this is likely a ggplot2 issue

https://stackoverflow.com/questions/44988682/ggplot2-scatterplot-error-in-funxi-object-group-not-found

@JoeFernando
Copy link

So Davis, how to solve this problem.....any ideas?
Keen to try out a few ideas

@guivivi
Copy link
Author

guivivi commented Apr 10, 2018

Just to confirm, I also got the error in
plot_anomalies(time_recomposed = TRUE, ncol = 3, alpha_dots = 0.25)

The same error appears in https://cran.r-project.org/web/packages/anomalize/vignettes/anomalize_quick_start_guide.html
when running
tidyverse_cran_downloads_anomalized %>%
plot_anomalies(ncol = 3, alpha_dots = 0.25)

I'll let you know if I find out any solution.

@mdancho84
Copy link
Contributor

We've been hearing of a number of errors that are all related to old versions of various packages that anomalize depends on. Try updating your packages and see if it fixes the situation. Please let us know if it does.

@mdancho84
Copy link
Contributor

mdancho84 commented Apr 11, 2018

This should be fixed now thanks to @MartenMM. Can someone that had the problem please confirm?

@JoeFernando
Copy link

Worked!!! Reinstalled the github version. Thank you so much for this, loving it!

@mdancho84
Copy link
Contributor

Niiiiice! Great work @MartenMM!

@MartenMM
Copy link
Contributor

Yay! My first accepted PR :-)

@guivivi
Copy link
Author

guivivi commented Apr 12, 2018

After reinstalling the github version it also works for me, many thanks!!

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

5 participants