0

我正在尝试安装旧版本的 icd 软件包,因为我知道它不再有效。我已经安装了 Rtools。我试图从 url 和本地安装包,但没有成功。这是我得到的错误。任何人都知道我做错了什么?

* installing *source* package 'RcppEigen' ...
** package 'RcppEigen' successfully unpacked and MD5 sums checked
** using staged installation
** libs
Warning in system(cmd) : 'make' not found
ERROR: compilation failed for package 'RcppEigen'
* removing 'C:/Users/Prevention/Documents/R/win-library/4.1/RcppEigen'


The downloaded source packages are in
    ‘C:\Users\AppData\Local\Temp\RtmpsZtvhf\downloaded_packages’
Installing package into ‘C:/Users/Prevention/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
ERROR: dependency 'RcppEigen' is not available for package 'icd'
* removing 'C:/Users/Prevention/Documents/R/win-library/4.1/icd'
Warning messages:
1: In missing_devel_warning(pkgdir) :
  Package icd has compiled code, but no suitable compiler(s) were found. Installation will likely fail.
  Install Rtools (https://cran.r-project.org/bin/windows/Rtools/).Then use the pkgbuild package, or make sure that Rtools in the PATH.
2: In i.p(...) :
  installation of package ‘RcppEigen’ had non-zero exit status
3: In i.p(...) :
  installation of package ‘C:/Users/KE~1/AppData/Local/Temp/RtmpsZtvhf/remotes17e068547f50/icd’ had non-zero exit status
4

0 回答 0