在R中安装'systemfit'软件包时出现问题

时间:2020-08-11 14:07:36

标签: r installation systemfit

我正在尝试在R版本3.4.2中安装“ systemfit”软件包。但是,我收到“汽车”错误。我尝试使用“依赖项”设置进行安装,但仍然无法正常工作。

> install.packages("systemfit",dependencies = TRUE)
Installing package into ‘C:/Users/wb480571/OneDrive - WBG/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
  dependencies ‘car’, ‘sem’ are not available

  There is a binary version available but the source version is later:
          binary source needs_compilation
systemfit 1.1-22 1.1-24             FALSE

installing the source package ‘systemfit’

trying URL 'https://cran.rstudio.com/src/contrib/systemfit_1.1-24.tar.gz'
Content type 'application/x-gzip' length 1241006 bytes (1.2 MB)
downloaded 1.2 MB

ERROR: dependency 'car' is not available for package 'systemfit'
* removing 'C:/Users/XXX/OneDriveXXX/Documents/R/win-library/3.4/systemfit'
Warning in install.packages :
  running command '"C:/PROGRA~1/R/R-34~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\XXX\OneDrive \Documents\R\win-library\3.4" C:\Users\XXX\AppData\Local\Temp\RtmpGs8XAa/downloaded_packages/systemfit_1.1-24.tar.gz' had status 1
Warning in install.packages :
  installation of package ‘systemfit’ had non-zero exit status

0 个答案:

没有答案