New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble Installing: "There is no package called 'rlang'" #709
Comments
for the love of pete someone please fix this. It is causing all kinds of problems. |
I restarted RStudio but that didn't help. I used install.packages("dplyr") (reinstalled the package) and that worked for me (the 'rlang' error didn't show up anymore). Hope this helps someone. :) |
This works. I use microsoft open R and rstudio. Did this and it solved the problem. |
Dplyr seems to cause a whole bunch of problems with other packages, including ggplot for the same rLang dependancy. I just uninstalled it and it solved this problem entirely. |
I had the original issue that was posted, and tried install.packages("dplyr") only to get the same issue with rlang. installation of package ‘rlang’ had non-zero exit status. Feelsbadman I'm on R 3.6. |
I tried this but didnt help. Still getting the same error. Any other suggestions?> |
To preface, I don't know anything about swirl. I found this thread when trying to fix a similar problem, and updating all installed packages seemed to fix the problem for me. |
I have also had this problem in the past. I fixed this by deleting the rlang file in ~\Documents\R\win-library\4.0, then reinstalling rlang from RStudio, which allowed me to successfully install and update the packages which were previously triggering this error. Also see here: https://stackoverflow.com/questions/63143716/error-package-or-namespace-load-failed-for-tidyverse-there-is-no-package-call, https://stackoverflow.com/questions/59270923/ggplot2-fails-to-load-with-rlang-package-error?rq=1, https://stackoverflow.com/questions/44235290/error-compilation-failed-for-package-rlang-in-rstudio-debian-jessie-8-0?rq=1 . |
This is legit. Did this and it solved the problem. |
This install.packages("dplyr") solved to me on version 4.1.1 (2021-08-10). Thank you very much |
please sir ,try another way:download directly from CRAN,and choose the version(4.1.1) for your R(4.1.1), |
I've installed swirl with the command
When I type
Error: package or namespace load failed for ‘swirl’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘rlang’
I then tried
There is a binary version available but the source version is
later:
binary source needs_compilation
rlang 0.2.0 0.2.1 TRUE
Do you want to install from sources the package which needs compilation? (Yes/no/cancel)
installing the source package ‘rlang’
trying URL 'https://cran.rstudio.com/src/contrib/rlang_0.2.1.tar.gz'
Content type 'application/x-gzip' length 325006 bytes (317 KB)
downloaded 317 KB
** package ‘rlang’ successfully unpacked and MD5 sums checked
** libs
xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools.
ERROR: compilation failed for package ‘rlang’
Warning in install.packages :
installation of package ‘rlang’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/6c/_mk4v8w91rv3r97rn173sf1m0000gn/T/RtmpKXf4TE/downloaded_packages’
There were 12 warnings (use warnings() to see them)
The 12 warnings were all
In value[3L] : there is no package called ‘rlang’
Does anyone have any suggestions?
The text was updated successfully, but these errors were encountered: