E> Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
E> namespace 'rlang' 0.4.5 is being loaded, but >= 0.4.6 is required
E> Calls: <Anonymous> ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
E> 停止执行
E> ERROR: lazy loading failed for package 'dplyr'
E> * removing 'C:/WINDOWS/Temp/RtmpEtaYq4/Rinst12e82bc663d/dplyr'
E> -----------------------------------
E> ERROR: package installation failed
packageurl <- "https://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gzhttps://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
Installing package into ‘C:/Users/wlx/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gzhttps://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gz'
Warning in install.packages :
cannot open URL 'https://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gzhttps://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gz': HTTP status was '404 Not Found'
Error in download.file(p, destfile, method, mode = "wb", ...) :
cannot open URL 'https://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gzhttps://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gz'
packageurl <- "https://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
Installing package into ‘C:/Users/wlx/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
trying URL 'https://cran.r-project.org/src/contrib/rlang_0.4.6.tar.gz'
Content type 'application/x-gzip' length 835198 bytes (815 KB)
downloaded 815 KB
- installing source package 'rlang' ...
** 成功将'rlang'程序包解包并MD5和检查
ERROR: cannot remove earlier installation, is it in use? - removing 'C:/Users/wlx/Documents/R/win-library/3.6/rlang'
- restoring previous 'C:/Users/wlx/Documents/R/win-library/3.6/rlang'
Warning in file.copy(lp, dirname(pkgdir), recursive = TRUE, copy.date = TRUE) :
拷贝C:\Users\wlx\Documents\R\win-library\3.6\00LOCK-rlang\rlang\libs\x64\rlang.dll到C:\Users\wlx\Documents\R\win-library\3.6\rlang\libs\x64\rlang.dll时出了问题:Permission denied
Warning in install.packages :
installation of package ‘C:/WINDOWS/Temp/RtmpCKfLMT/downloaded_packages/rlang_0.4.6.tar.gz’ had non-zero exit status