From plummerm at iarc.fr  Tue Sep 23 14:39:23 2014
From: plummerm at iarc.fr (Martyn Plummer)
Date: Tue, 23 Sep 2014 12:39:23 +0000
Subject: [Rd] Replace isnan and lgamma in Fortran subroutine in R package
In-Reply-To: <DABBA49CC8C7AA4B959D2D0FEE496D721C506A65@EXINFRCHMB1P.ccmc.local>
References: <DABBA49CC8C7AA4B959D2D0FEE496D721C506A65@EXINFRCHMB1P.ccmc.local>
Message-ID: <1411475963.3567.56.camel@braque.iarc.fr>

Try this patch.
Martyn

On Mon, 2014-09-22 at 22:33 +0000, Wang, Zhu wrote:
> 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]]
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-----------------------------------------------------------------------
This message and its attachments are strictly confidential. If you are
not the intended recipient of this message, please immediately notify 
the sender and delete it. Since its integrity cannot be guaranteed, 
its content cannot involve the sender's responsibility. Any misuse, 
any disclosure or publication of its content, either whole or partial, 
is prohibited, exception made of formally approved use
-----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpath.patch
Type: text/x-patch
Size: 2006 bytes
Desc: mpath.patch
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20140923/7ee2587f/attachment.bin>


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