'Older RcppEigen Package does not install
I need an older RcppEigen package for a school project but it does not install on R. Can anyone help me?
This is the beginning of the error
devtools::install_version("RcppEigen", "0.3.3.7.0")
Downloading package from URL:
https://cran.rstudio.com//src/contrib/Archive/RcppEigen/RcppEigen_0.3.3.7.0.tar.gz
*installing *source* package ‘RcppEigen’ ...
** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -\I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -
\I'/Library/Frameworks/R.framework/Versions/4.2/Resources/library/Rcpp/include' -
\I/usr/local/include -I../inst/include -fPIC -Wall -g -O2 -c RcppEigen.cpp -o RcppEigen.o
In file included from RcppEigen.cpp:22:
In file included from ../inst/include/RcppEigen.h:25:
In file included from ../inst/include/RcppEigenForward.h:30:
In file included from ../inst/include/Eigen/Dense:1:
In file included from ../inst/include/Eigen/Core:371:
../inst/include/Eigen/src/Core/MathFunctions.h:720:12: \error: reference to unresolved using declaration\
return isfinite EIGEN_NOT_A_MACRO (x);
And this is the end:
18 warnings and 3 errors generated.
make: *** [RcppEigen.o] Error 1
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2/Resources/library/RcppEigen’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/6n/xc5wxfg14_99k_b7s9ld53680000gn/T//RtmpzBB1bw/remotesfa770ab291e/RcppEigen’ had non-zero exit status
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
