From Zwang at connecticutchildrens.org  Tue Sep 23 16:30:51 2014
From: Zwang at connecticutchildrens.org (Wang, Zhu)
Date: Tue, 23 Sep 2014 14:30:51 +0000
Subject: [Rd] Replace isnan and lgamma in Fortran subroutine in R package
In-Reply-To: <1411475963.3567.56.camel@braque.iarc.fr>
References: <DABBA49CC8C7AA4B959D2D0FEE496D721C506A65@EXINFRCHMB1P.ccmc.local>
	<1411475963.3567.56.camel@braque.iarc.fr>
Message-ID: <DABBA49CC8C7AA4B959D2D0FEE496D721C506BBA@EXINFRCHMB1P.ccmc.local>

That patch works flawlessly.

Thanks Martyn.

Zhu

-----Original Message-----
From: Martyn Plummer [mailto:plummerm at iarc.fr] 
Sent: Tuesday, September 23, 2014 8:39 AM
To: Wang, Zhu
Cc: r-devel at r-project.org
Subject: Re: [Rd] Replace isnan and lgamma in Fortran subroutine in R package

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 confidenti...{{dropped:8}}



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