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