安装失败:退出状态为非零

问题描述

我正在尝试使用以下工具安装“ Metafor”软件包的开发版本

remotes::install_github("wviechtb/Metafor")

但是,我收到以下错误消息。我尝试将依赖项设置为TRUE并没有成功。

。 。

*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
ERROR: loading Failed for 'i386'
* removing 'C:/Users/mihir/OneDrive/Dokumente/R/win-library/4.0/Metafor'
* restoring prevIoUs 'C:/Users/mihir/OneDrive/Dokumente/R/win-library/4.0/Metafor'
Error: Failed to install 'Metafor' from GitHub:
  (converted from warning) installation of package ‘C:/Users/mihir/AppData/Local/Temp/RtmpWcutv3/file121421b71d54/Metafor_2.5-54.tar.gz’ had non-zero exit status.

   

` sessionInfo()`

R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252   
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

attached base packages:
[1] stats     graphics  Grdevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] compiler_4.0.3 tools_4.0.3  

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)