Dependency package “package_name” not available

后端 未结 4 1546
生来不讨喜
生来不讨喜 2021-01-17 20:40

I\'m getting a strange error when trying to build and reload in RStudio. In my description file I\'ve included a package that I have built and maintain within my organizatio

4条回答
  •  感动是毒
    2021-01-17 21:05

    Another possible solution is to check if the package dependencies are up to date. I have the same problem with ggplot2, and when I tried to load the package, an error occurred because of the dependency package 'scales' was built in an R version with different internals. So the solution was to reinstall package scales.

    So, you could try to reinstall all dependencies of the 'ggplot2' package.

提交回复
热议问题