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

Warning message: cols is now required. #43

Open
Fredo-XVII opened this issue Jan 6, 2020 · 4 comments
Open

Warning message: cols is now required. #43

Fredo-XVII opened this issue Jan 6, 2020 · 4 comments

Comments

@Fredo-XVII
Copy link

Hello,

I received the warning below, but search your repo and didn't find any reference to it. Can you add documentation or clarification on this warning? Does it mattter?

Warning message:
`cols` is now required.
Please use `cols = c(anomalies)`

Thanks,

Alfredo

@WajdiBenSaad
Copy link

Hello @Fredo-XVII ,

Could you please share a reproducible example (with code & data) so we can test why you are getting this error message.

Thanks

@Fredo-XVII
Copy link
Author

Unfortunately, I am using this in a function at work, so I can't share that code or data. I was hoping you would know why I would need to specify "cols = c(anomalies)", or where that would be specified.

@mdancho84
Copy link
Contributor

It's most likely related to the tidyr v1.0.0 change which requires unnest() to specify cols argument. I thought I fixed this in the last release of anomalize. Try upgrading to the latest CRAN version using install.packages("anomalize"), and see if it goes away. If it persists, I will need a reproducible example to diagnose and resolve.

@Fredo-XVII
Copy link
Author

@mdancho84 I see. If that is the case, then I will include that in my unnest() code as well, as I am applying the anomalize functions across hundreds of time series in a nest. So it may not be your package.

Thanks for the reply, I'll close if that resolves my issue.

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

3 participants