DS4PS / cpp-527-spr-2021

http://ds4ps.org/cpp-527-spr-2021/
0 stars 0 forks source link

Unable to update rlang package #8

Open ekmcintyre opened 3 years ago

ekmcintyre commented 3 years ago

I need to have the 0.4.9 version of the rlang package in order to run the the code

devtools::document()

When I run it currently I get the following error message

Error: .onLoad failed in loadNamespace() for 'pkgload', details:
  call: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
  error: namespace ‘rlang’ 0.4.7 is already loaded, but >= 0.4.9 is required

I have tried install.packages(rlang) and updating manually through Packages, Update, and selecting rlang. The package still remains the 0.4.7 version and apparently there is a 0.4.10 version available.

ekmcintyre commented 3 years ago

I fixed it. I uninstalled the rlang package. Manually deleted the file in my library because it wasn't completely removed. Then I was able to reinstall and run the code successfully.