我尝试使用install.packages(“ rfm”)和devtools :: install_github(“ rsquaredacademy / rfm”)安装软件包“ rfm”,但两次尝试均失败。参见下文,请提供帮助。
install.packages(“ rfm”) 将软件包安装到“ C:/Users/stang/Documents/R/win-library/3.2” (因为未指定“ lib”) 还安装了依赖项“ rlang”
仅以源格式提供的软件包,可能需要编译C / C ++ / Fortran:“ rlang” 这些将不会安装 安装源软件包“ rfm”
尝试网址“ https://cran.rstudio.com/src/contrib/rfm_0.1.0.tar.gz” 内容类型“应用程序/ x-gzip”长度1415439字节(1.3 MB) 下载1.3 MB
错误:依赖项“ rlang”不适用于软件包“ rfm” *删除'C:/Users/stang/Documents/R/win-library/3.2/rfm' install.packages中的警告: 运行命令'“ C:/PROGRA~1/R/R-32~1.4RE/bin/x64/R” CMD INSTALL -l“ C:\ Users \ stang \ Documents \ R \ win-library \ 3.2” C: \ Users \ stang \ AppData \ Local \ Temp \ Rtmpm4YOIe / downloaded_packages / rfm_0.1.0.tar.gz'的状态为1 install.packages中的警告: 安装软件包“ rfm”的退出状态为非零
已下载的源包位于 ‘C:\ Users \ stang \ AppData \ Local \ Temp \ Rtmpm4YOIe \ downloaded_packages'
install.packages(“ devtools”)
devtools :: install_github(“ rsquaredacademy / rfm”) 下载GitHub存储库rsquaredacademy / rfm @ master 来自URL https://api.github.com/repos/rsquaredacademy/rfm/zipball/master 安装RFM “ C:/PROGRA~1/R/R-32~1.4RE/bin/x64/R” --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ “ C:/用户/ stang / AppData / Local / Temp / Rtmpm4YOIe / devtools10c41f69459c / rsquaredacademy-rfm-64bdbe9” --library =“ C:/Users/stang/Documents/R/win-library/3.2” \ --install-tests
错误:依赖项“ rlang”不适用于软件包“ rfm” *删除'C:/Users/stang/Documents/R/win-library/3.2/rfm' 错误:命令失败(1)