Closed danm0nster closed 4 months ago
A quick look at the issues shows that the offending line (46) of the file jspd.f
is not used by the code:
1000 FORMAT(1H ,25f4.0)
It is referenced only in some code that has been turned into comments, so it was most likely used for debugging purposes during development.
NOTE: The "1H" part is the Hollerith constant, denoting a length of 1. It seems to be meant for printing an integer that is either 0 or 1 as in the commented code in line 45:
C print 1000,(Adata(i), i=1,je)
So we can either change the FORMAT
statement from "1H" to "I" or "I1", or we can simply turn the line into a comment.
In fact, we can do both of these things, which seems to be the best way forward right now.
I rewrote the function in Fortran 90 to update the code in general.
The CRAN check has flagged the use of a deprecated feature, Hollerith constants in
FORMAT
statements, that should be fixed.Here is the output from CRAN check