I need the rpf package as a dependency of the MBESS package. During the installation process rstudio does the following:
Installing package into ‘/home/gata/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
versuche URL 'https://cloud.r-project.org/src/contrib/rpf_0.59.tar.gz'
Content type 'application/x-gzip' length 347458 bytes (339 KB)
==================================================
downloaded 339 KB
* installing *source* package ‘rpf’ ...
** Paket ‘rpf’ erfolgreich entpackt und MD5 Summen überprüft
** libs
g++ -I/usr/share/R/include -DNDEBUG -I"/home/gata/R/x86_64-pc-linux- gnu-library/3.4/RcppEigen/include" -fopenmp -fpic -g -O2 -fdebug-prefix-map=/build/r-base-AitvI6/r-base-3.4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c ba81quad.cpp -o ba81quad.o
In file included from ba81quad.cpp:18:0:
rpf.h:25:10: fatal error: Eigen/Core: Datei oder Verzeichnis nicht gefunden
#include "Eigen/Core"
^~~~~~~~~~~~
compilation terminated.
/usr/lib/R/etc/Makeconf:168: recipe for target 'ba81quad.o' failed
make: *** [ba81quad.o] Error 1
ERROR: compilation failed for package ‘rpf’
* removing ‘/home/gata/R/x86_64-pc-linux-gnu-library/3.4/rpf’
Warning in install.packages :
installation of package ‘rpf’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpPz090Z/downloaded_packages’
I researched the Eigen library, but I have no idea how I could fix this in the installation process.
Is there a suggestion how to solve this issue?
Information about my OS and R version:
- R version 3.4.4 (2018-03-15)
- Platform: x86_64-pc-linux-gnu (64-bit)
- Running under: Ubuntu 18.04.1 LTS
install.packages("MBESS")
?install.packages("rpf")
? Something else (e.g.devtools::install_cran()
)? Were there any options you passed to any of these (e.g.dependencies = "Depends"
)? – duckmayr