[Rd] Replace isnan and lgamma in Fortran subroutine in R package

Wang, Zhu Zwang at connecticutchildrens.org
Tue Sep 23 00:33:17 CEST 2014


Hello,

I submitted a package which used Fortran functions isnan and lgamma. However, I was told that:

isnan and lgamma are not Fortran 95 functions.

I was asked to write 'cross-platform portable code' and so should not be writing GNU extensions to Fortran.

See http://cran.r-project.org/web/checks/check_results_mpath.html, which will shortly show installation failures under Solaris.

I will appreciate advice on how to replace these two functions to avoid failure on some platforms.

Thanks in advance,

Zhu Wang



	[[alternative HTML version deleted]]



More information about the R-devel mailing list