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
[R-pkg-devel] Missing R.h file
1 message · Sameh M. Abdulah