我尝试通过以下代码安装 GSIF 包:
install.packages("GSIF", repos=c("http://R-Forge.R-project.org"), type="source", dependencies=TRUE)
出现以下错误信息
Warning in install.packages :
dependencies ‘soiltexture’, ‘quantregForest’, ‘AICcmodavg’, ‘SDMTools’, ‘maxlike’ are not available
trying URL 'http://R-Forge.R-project.org/src/contrib/GSIF_0.5-5.tar.gz'
Content type 'application/x-gzip' length 1815922 bytes (1.7 MB)
==================================================
downloaded 1.7 MB
* installing *source* package ‘GSIF’ ...
** using staged installation
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
Error in setMethod("describe", signature(x = "WPS"), function(x, request = "describeprocess", :
no existing definition for function ‘describe’
Error: unable to load R code in package ‘GSIF’
Execution halted
ERROR: lazy loading failed for package ‘GSIF’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/GSIF’
Warning in install.packages :
installation of package ‘GSIF’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/4c/ftr4g6ds49107z8jy593rwbc0000gn/T/Rtmpq5RWmw/downloaded_packages’
我在 macOS Big Sur 11.6 上运行 R 4.1.2 Bird Hippie
有什么建议吗?
提前致谢,
扬
以下对我有用:
-
从以下网站下载“GSIF_0.5-5.1.zip”:https://cran.microsoft.com/snapshot/2020-04-20/web/packages/GSIF/index.html https://cran.microsoft.com/snapshot/2020-04-20/web/packages/GSIF/index.html
-
转到 RStudio 控制台并输入:
install.packages("C:/Users/.../Downloads/GSIF_0.5-5.1.zip", repos = NULL, type = "win.binary")
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)