简体   繁体   English

如何下载 R package APE

[英]How can I download R package APE

I am using this code to download ape on R version 3.6.0:我正在使用此代码在 R 版本 3.6.0 上下载猿:

install.packages("ape", dependencies = T)

and I am finding the following errors:我发现以下错误:

ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0' ld: warning: directory not found for option '-L/usr/local/gfortran/lib' ld: library not found for -lgfortran clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ape.so] Error 1 ERROR: compilation failed for package 'ape' ld:警告:找不到选项'-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin15/6.1.0'的目录ld:警告:找不到选项'-L/usr/local/的目录gfortran/lib' ld: library not found for -lgfortran clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [ape.so] Error 1 ERROR: compilation failed for package '猿'

I have attempted to download using the terminal too and this has also failed.我也尝试使用终端下载,但也失败了。 I have checked the R version and APE is compatible with Rv3.6.我检查了 R 版本,APE 与 Rv3.6 兼容。 Any ideas why this package cannot be downloaded?任何想法为什么这个 package 不能下载?

check your R version, because i intalled 1 min ago and i'm not have problem.检查您的 R 版本,因为我在 1 分钟前安装并且没有问题。

[https://i.stack.imgur.com/9B6oO.png] [https://i.stack.imgur.com/9B6oO.png]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM