问题
I am using R 4.0.3 with RStudio 1.2.5033 on macOS 11.1.
I have successfully installed the package using install.packages("timetk").
When trying to load the package with library(timetk), I get the following error:
Error: package or namespace load failed for ‘timetk’: object 'required_pkgs' not found whilst loading namespace 'timetk'
I do not know how to solve this. Can anyone please offer help or advice?
Thank you, C
回答1:
This seems to be an error with the package, an is a known issue on GitHub. You could try to install an earlier version of the package if you have one available, while waiting for the author(s) to publish a fix.
At the time of writing, this error occurs both when installing from CRAN and GitHub.
回答2:
Matt Dancho found the problem for me: update 'recipes'
来源:https://stackoverflow.com/questions/65829423/r-error-object-required-pkgs-not-found-whilst-loading-namespace-timetk