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]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to