R:包'CompQuadForm'的编译失败,这是seqMeta

时间:2016-12-16 10:25:14

标签: r install.packages

我正在尝试在R中安装seqMeta包,但遇到麻烦,因为它不会编译“CompQuadForm”依赖包。

你能建议一个解决方案吗?

这是输出:

> install.packages("seqMeta")
also installing the dependency ‘CompQuadForm’

trying URL 'http://ftp.igh.cnrs.fr/pub/CRAN/src/contrib/CompQuadForm_1.4.2.tar.gz'
Content type 'application/octet-stream' length 15316 bytes (14 KB)
==================================================
downloaded 14 KB

trying URL 'http://ftp.igh.cnrs.fr/pub/CRAN/src/contrib/seqMeta_1.6.6.tar.gz'
Content type 'application/octet-stream' length 1162086 bytes (1.1 MB)
==================================================
downloaded 1.1 MB

* installing *source* package ‘CompQuadForm’ ...
** package ‘CompQuadForm’ successfully unpacked and MD5 sums checked
** libs
g++ -I/work/gyorgy/PROGR/R/R-3.2.5/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c imhof.cpp -o imhof.o
imhof.cpp: In function ‘double theta(double*, double*, int*, double*, double*, double*)’:
imhof.cpp:18: error: ‘atan’ is not a member of ‘std’
imhof.cpp: In function ‘double rho(double*, double*, int*, double*, double*)’:
imhof.cpp:29: error: ‘exp’ is not a member of ‘std’
imhof.cpp: In function ‘double imhoffunc(double*, double*, int*, double*, double*, double*)’:
imhof.cpp:40: error: ‘sin’ is not a member of ‘std’
make: *** [imhof.o] Error 1
ERROR: compilation failed for package ‘CompQuadForm’
* removing ‘/work/gyorgy/PROGR/R/R-3.2.5/library/CompQuadForm’
ERROR: dependency ‘CompQuadForm’ is not available for package ‘seqMeta’
* removing ‘/work/gyorgy/PROGR/R/R-3.2.5/library/seqMeta’

The downloaded source packages are in
        ‘/tmp/RtmpHn3Spw/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Warning messages:
1: In install.packages("seqMeta") :
  installation of package ‘CompQuadForm’ had non-zero exit status
2: In install.packages("seqMeta") :
  installation of package ‘seqMeta’ had non-zero exit status

谢谢你, 贝娅塔

0 个答案:

没有答案