business-science / anomalize

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

timetk Dependency Failing #59

Closed Miranda-Saari-Bose closed 3 years ago

Miranda-Saari-Bose commented 3 years ago

I have been working with this package for over a year now and just went to run the code again which includes the line install.packages("anomalize") At the very end of the installation returns I get

Error: package or namespace load failed for ‘timetk’: object 'required_pkgs' not found whilst loading namespace 'timetk' Error: loading failed Execution halted ERROR: loading failed

  • removing ‘/databricks/spark/R/lib/timetk’ ERROR: dependency ‘timetk’ is not available for package ‘sweep’
  • removing ‘/databricks/spark/R/lib/sweep’ ERROR: dependencies ‘timetk’, ‘sweep’ are not available for package ‘anomalize’
  • removing ‘/databricks/spark/R/lib/anomalize’

The downloaded source packages are in ‘/tmp/Rtmprfwu3X/downloaded_packages’

which looks like some of the package dependencies are failing. So when I try to run library(anomalize) it fails as well.

Any idea what changed?

mdancho84 commented 3 years ago

Please update recipes package.

Miranda-Saari-Bose commented 3 years ago

I ran update.packages("recipes") and it didn't seem to change anything

mdancho84 commented 3 years ago

Looks awfully similar to this: https://github.com/business-science/timetk/issues/71

mdancho84 commented 3 years ago

Make sure all of your R packages are updated. That should solve.

Miranda-Saari-Bose commented 3 years ago

looks like that did the trick, thanks @mdancho84!