[R-SIG-Mac] R package

Keith O'Hara keith.ohara at nyu.edu
Tue Oct 25 01:31:09 CEST 2016


The R binaries are built using gfortran v4.8.2; can you not build your package using that instead?

Keith

> On Oct 24, 2016, at 6:25 PM, Kodalore Vijayan, Vineetha W <vwkv13 at mun.ca> wrote:
> 
> Hello,
> 
> I have an issue on Mac OS ElCapitan ( just now upgraded to sierra) with
> Xcode 7 and gfortran 6.1 ( downloaded from
> https://gcc.gnu.org/wiki/GFortranBinaries. ).  I'm developing an R package
> and wants to make it portable.
> 
> The package was working fine until October 18th along with a Makevar file
> created under ~/.R. The Makevar file contains :
> F77 = gfortran
> FC = gfortran
> FLIBS = -L/usr/local/gfortran/lib
> 
> (Please refer:
> http://stackoverflow.com/questions/40092423/r-package-with-fortran-source-code-how-to-make-makevars-file-under-pkgname-s/40127535#40127535
> ).
> 
> But now when I run R CMD CHECK on my system, its throws the
> following error:
> 
> * installing *source* package ‘EpiILM’ ...
> ** libs
> gfortran-4.8  -fPIC -Wall -g -O2  -c  Edata.f95 -o Edata.o
> make: gfortran-4.8: No such file or directory
> make: *** [Edata.o] Error 1
> ERROR: compilation failed for package ‘EpiILM’
> * removing ‘/Users/Vineetha/Desktop/EpiILM.Rcheck/EpiILM’
> 
> Basically, my Makevar file is not resolving the issue now.  Any help would
> be appreciated.
> 
> Thanks,
> Vineetha
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list