business-science/anomalize

timetk Dependency Failing

Miranda-Saari-Bose opened this issue · 5 comments

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?

Please update recipes package.

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

Looks awfully similar to this: business-science/timetk#71

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

looks like that did the trick, thanks @mdancho84!