[R-pkg-devel] avoiding .mod files
On Tue, Nov 20, 2018 at 4:45 AM Rampal Etienne <rampaletienne at gmail.com> wrote:
Dear Thomas, My FORTRAN code to be used with deSolve contains a module dimmod. During build a file called dimmod.mod is created in the src directory. I can avoid this by including it in the .RBuildignore file, but when I submit the package to CRAN, the package is rejected because it keeps creating the dimmod.mod file. How do I solve this? Kind regards, Rampal Etienne
Hello, Rampal. I use Fortran modules with my Delaporte package [1]. I clean them by having a clean (actually two clean) routines in Makvars [2]. Perhaps something like that would work for you. Good Luck, Avi [1] https://CRAN.R-project.org/package=Delaporte [2] https://bitbucket.org/aadler/delaporte/src/master/src/Makevars