business-science / anomalize

Tidy anomaly detection

Home Page:https://business-science.github.io/anomalize/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning message: `cols` is now required.

Fredo-XVII opened this issue · comments

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

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

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.

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.

@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.