1

我在 R 2.15.0 中运行 install.packages('mvoutliers', dependencies=TRUE) 并在包 pcaPP 中失败。有任何想法吗?

* installing *source* package ‘pcaPP’ ...
** package ‘pcaPP’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/include/R/ -DNDEBUG -DR_PACKAGE_FILE -I/usr/local/include    -fpic  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2  -c L1Median_HoCr.cpp -o L1Median_HoCr.o
In file included from smat.h:28:0,
                 from L1Median.h:5,
                 from L1Median_HoCr.cpp:1:
smat.base.h: In instantiation of ‘void SVec<T>::Copy(const tc_this&) const [with T = double; SVec<T>::tc_this = SCVec<double>]’:
L1Median_HoCr.cpp:93:32:   required from here
smat.base.h:882:4: error: ‘EqualDims’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
smat.base.h:882:4: note: declarations in dependent base ‘CDimCont<1u>’ are not found by unqualified lookup
smat.base.h:882:4: note: use ‘this->EqualDims’ instead
make: *** [L1Median_HoCr.o] Error 1
ERROR: compilation failed for package ‘pcaPP’
* removing ‘/usr/lib/R/library/pcaPP’
ERROR: dependency ‘rgl’ is not available for package ‘compositions’
* removing ‘/usr/lib/R/library/compositions’
4

1 回答 1

1

这看起来像是文件中的真正错误smat.base.h

您可以尝试与pcaPP.

于 2012-04-06T18:04:26.827 回答