[R-pkg-devel] problems with .mod files

Rampal S. Etienne r@mp@|et|enne @end|ng |rom gm@||@com
Mon Feb 25 17:13:51 CET 2019


Hello,

I have been trying for weeks to get a package on CRAN, but keep
receiving warnings and notes, and errors using R-hub. The problems
started when I used FORTRAN code to speed up some functions. This
FORTRAN code introduces .mod files which are not accepted in the src
folder. I followed suggestions by Avraham Adler to clean the src folder
from this file by introducing a makefile with a clean command in it, but
then I get other errors, and above all, recently this solution did not
seem to remove the .mod file on some systems, as I still got the warning
that this file was found in the src folder (but not on my machine!).

So my question is: how do I prevent the creation of .mod files during
compilation of the FORTRAN code, or how do I tell R that these files are
OK in the src folder?

Regards,

Rampal Etienne



More information about the R-package-devel mailing list