Skip to content

[R-pkg-devel] Proper way to express Fortran 2008 dependence for R package

1 message · Avraham Adler

#
For closure, I was advised by Professor Ripley to both pass
"-std=f008" in Makevars and add "SystemRequirements: A version of
gfortran supporting Fortran 2008" to the DESCRIPTION. CRAN accepted
the package with those two changes. I also note that the R Daily News
of 2023-02-03 [1] has the following entry under "R-devel": ?check?'s
?checking compilation flags in Makevars? has been relaxed to accept
the use of flags such as ?-std=f2008? in ?PKG_FFLAGS?. Hopefully, this
means future packages will have an easier time relying on more modern
features, albeit they are 5 or 15 years old by now :).

Thank you,

Avi

[1]: https://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2023/02/02#n2023-02-02
On Mon, Jan 30, 2023 at 12:12 AM Avraham Adler <avraham.adler at gmail.com> wrote: