Skip to content
Prev 3552 / 12125 Next

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

These *.mod files are automatically created during compilation whenever 
there is a module in the corresponding source file. They should not be 
in the src folder of your package when you submit it to CRAN, but they 
should not be a problem when they get created in this folder during 
compilation.

Try to add the following line in .Rbuildignore (if this file does not 
exist, create it in the main directory of your package):

^.*\.mod

This will prevent R from including any *.mod files when building your 
package.

I hope this is helpful.

Best,

Remi
On 2/26/19 10:00 PM, r-package-devel-request at r-project.org wrote: