file - 错误:包 'ccfindR' 的编译失败
问题描述
enter code hereRcppExports.cpp:15:74: required from here
/usr/local/lib/R/site-library/RcppEigen/include/Eigen/src/Core/DenseCoeffsBase.h:55:30: warning: ignoring attributes on template argument ‘Eigen::internal::packet_traits<double>::type’ {aka ‘__m128d’} [-Wignored-attributes]
55 | >::type PacketReturnType;
| ^~~~~~~~~~~~~~~~
g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I'/usr/local/lib/R/site-library/Rcpp/include' -I'/usr/local/lib/R/site-library/RcppEigen/include' -fpic -g -O2 -ffile-prefix-map=/build/r-base-aXXzqd/r-base-4.1.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c vbnmf_update.cpp -o vbnmf_update.o
vbnmf_update.cpp:5:10: fatal error: gsl/gsl_sf_gamma.h: No such file or directory
5 | #include <gsl/gsl_sf_gamma.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/usr/lib/R/etc/Makeconf:177: vbnmf_update.o] Error 1
ERROR: compilation failed for package ‘ccfindR’
* removing ‘/usr/local/lib/R/site-library/ccfindR’
The downloaded source packages are in
‘/tmp/RtmpI0PA8l/downloaded_packages’
Warning message:
In .inet_warning(msg) :
installation of package ‘ccfindR’ had non-zero exit status
> library("ccfindR")
Error in library("ccfindR") : there is no package called ‘ccfindR’
大家好,我正在尝试在 ubuntu 21.04 上安装 R ccfindR 包,但我遇到了这个错误,我不确定错误的类型,也不知道如何修复它。如果您能给我任何解决问题的建议,我将不胜感激。
非常感谢您的帮助。
解决方案
推荐阅读
- python - 如何做 click.Command(epsilon=callback())?
- database - 对于 Laravel 项目,是否可以分配另一个备份服务器?
- perl - 降级 Perl 模块
- opencv - 如何从 OpenCvSharp 中的 InputOutputArray 创建一个对象?
- spring-boot - 在 Spring Boot 中使用 websockets 构建实时消息传递应用程序
- graphql - 字段变量值不适用于节点上的 graphql 库执行
- python - 如何在python中打开文件时处理文件的移动
- python - 在 python 中侦听套接字时如何运行其他代码?
- dataframe - 如何仅将几列加载到数据框中?
- html - 后代选择器比子选择器更具体?