[R-pkg-devel] avoiding .mod files
Avraham Adler
@vr@h@m@@dler @ending from gm@il@com
Wed Nov 21 03:03:46 CET 2018
On Tue, Nov 20, 2018 at 4:45 AM Rampal Etienne <rampaletienne using 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
More information about the R-package-devel
mailing list