Everything you need to know is in the Writing R Extensions manual, and
section 1.2.3 in particular. There are restrictions on Fortran 90/95 use
due to portability issues.
Make sure you are following all of the advice in the manual, e.g.:
- Files containing Fortran 90 code should have extension .f9
I recently submitted a package to CRAN which encompasses Fortran 90 code.
Neither on my linux system nor on the win-builder system the compilation
reported any error or warning. The function worked fine. However, after
submission of the package to CRAN, I received an email that I should not
inc