无法安装 "flexdashboard package"
Cannot install "flexdashboard package"
我尝试安装 flexdashboard 包,但出现错误消息:
代码如下:
devtools::install_github("rstudio/flexdashboard")
错误信息:
Downloading GitHub repo rstudio/flexdashboard@master
Installing flexdashboard
Installing 1 packages: digest
package ‘digest’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘digest’
"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore \
CMD INSTALL \
"C:/Users/Nicholas/AppData/Local/Temp/RtmpekRfW3/devtools3e9457ae3791/rstudio-flexdashboard-e68ac39" \
--library="C:/Users/Nicholas/Documents/R/win-library/3.2" --install-tests
* installing *source* package 'flexdashboard' ...
** R
** inst
** tests
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called 'digest'
ERROR: lazy loading failed for package 'flexdashboard'
* removing 'C:/Users/Nicholas/Documents/R/win-library/3.2/flexdashboard'
Error: Command failed (1)
它似乎正在崩溃,因为它试图更新它所依赖的 digest
包,但由于正在使用而无法删除它。
关闭 R,然后导航至 C:/Users/Nicholas/Documents/R/win-library/3.2
并删除 digest
文件夹。然后,启动 R 并再次尝试安装。
我尝试安装 flexdashboard 包,但出现错误消息:
代码如下:
devtools::install_github("rstudio/flexdashboard")
错误信息:
Downloading GitHub repo rstudio/flexdashboard@master
Installing flexdashboard
Installing 1 packages: digest
package ‘digest’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘digest’
"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore \
CMD INSTALL \
"C:/Users/Nicholas/AppData/Local/Temp/RtmpekRfW3/devtools3e9457ae3791/rstudio-flexdashboard-e68ac39" \
--library="C:/Users/Nicholas/Documents/R/win-library/3.2" --install-tests
* installing *source* package 'flexdashboard' ...
** R
** inst
** tests
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called 'digest'
ERROR: lazy loading failed for package 'flexdashboard'
* removing 'C:/Users/Nicholas/Documents/R/win-library/3.2/flexdashboard'
Error: Command failed (1)
它似乎正在崩溃,因为它试图更新它所依赖的 digest
包,但由于正在使用而无法删除它。
关闭 R,然后导航至 C:/Users/Nicholas/Documents/R/win-library/3.2
并删除 digest
文件夹。然后,启动 R 并再次尝试安装。