[R-pkg-devel] Missing R.h file
Sameh M. Abdulah
@@meh@@bdu|@h @end|ng |rom k@u@t@edu@@@
Sun Jan 12 14:37:28 CET 2020
I am getting this error when uploading my package to CRAN,
MLE_misc.h:52:10: fatal error: R.h: No such file or directory
52 | #include <R.h>
On my system I have to export the R include directory to my CPATH “export CPATH=/usr/share/R/include:$CPATH” to avoid this error. Could anyone tell me how to do this on my configure file to avoid this error on CRAN?
--Sameh
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list