Skip to content

[R-pkg-devel] avoiding .mod files

3 messages · Rampal S. Etienne, Avraham Adler

#
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
#
On Tue, Nov 20, 2018 at 4:45 AM Rampal Etienne <rampaletienne at gmail.com> wrote:
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
#
That helps. Thanks!

Rampal
On 21-11-2018 3:03, Avraham Adler wrote: