Devtools не может быть установлен. Когда я запускаю функцию:
install.packages("devtools")
R говорит мне, что пакет успешно распакован. Но когда я запускаю library(devtools)
- я получаю сообщение об ошибке (см. Ниже).
Полная консоль:
`>install.packages("devtools")
Installing package into ‘C:/Users/fallo/OneDrive/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/devtools_2.2.2.zip'
Content type 'application/zip' length 351954 bytes (343 KB)
downloaded 343 KB
package ‘devtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\fallo\AppData\Local\Temp\Rtmp2Ddudk\downloaded_packages
> library(devtools)
Error: package or namespace load failed for ‘devtools’:
.onLoad failed in loadNamespace() for 'pkgload', details:
call: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
error: namespace ‘rlang’ 0.4.0 is already loaded, but >= 0.4.1 is required`> install.packages("devtools")
Installing package into ‘C:/Users/fallo/OneDrive/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/devtools_2.2.2.zip'
Content type 'application/zip' length 351954 bytes (343 KB)
downloaded 343 KB
package ‘devtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\fallo\AppData\Local\Temp\Rtmp2Ddudk\downloaded_packages
> library(devtools)
Error: package or namespace load failed for ‘devtools’:
.onLoad failed in loadNamespace() for 'pkgload', details:
call: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
error: namespace ‘rlang’ 0.4.0 is already loaded, but >= 0.4.1 is required