[R-pkg-devel] Package submission with external library

2017-06-30 Thread Nicolas Hiot

Hello,

I'm the developer of a package for R, it's work fine on my computer  
but when I publish it the installation failed due to the external  
library. My C code needs GSL (GNU Scientific Library), I made an auto  
configuration file and a Makevars but I don't know how to specify to  
CRAN to install the library (I tried "SystemRequirements" in  
DESCRIPTION and I put a comment but that continue to failed :/).


So, how link external library to CRAN submission?

Results:  
https://win-builder.r-project.org/incoming_pretest/170630_105826_COveR_0102/

Project: https://github.com/Neplex/COveR

Thanks,
Nicolas HIOT

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] Package submission with external library

2017-06-30 Thread Nicolas Hiot

Thanks for your reply.

1. I don't want to depend on other packages that implement GSL. (Too  
heavy for my purpose)


2. I used "LIB_GSL" environment variable in my Makevars.win  
(https://github.com/Neplex/COveR/blob/master/src/Makevars.win take  
from GSL package itself) but it seems to not used the Makevars (see  
compiler flags  
https://win-builder.r-project.org/incoming_pretest/170630_105826_COveR_0102/00install.out)


Have you an idea?

Nicolas HIOT

Uwe Ligges  a écrit :

1. perhaps the gsl package or some other package already making use  
of gsl can be used? So please make use of available infrastructure.


2. For Windows, the directories with GSL are defined in env vars, see
https://cran.r-project.org/bin/windows/contrib/ThirdPartySoftware.html
You can copy ideas of Makevars.win files from other GSL using packages ...

Best,
Uwe Ligges





On 30.06.2017 13:57, Nicolas Hiot wrote:

Hello,

I'm the developer of a package for R, it's work fine on my computer  
but when I publish it the installation failed due to the external  
library. My C code needs GSL (GNU Scientific Library), I made an  
auto configuration file and a Makevars but I don't know how to  
specify to CRAN to install the library (I tried  
"SystemRequirements" in DESCRIPTION and I put a comment but that  
continue to failed :/).


So, how link external library to CRAN submission?

Results:  
https://win-builder.r-project.org/incoming_pretest/170630_105826_COveR_0102/ Project:  
https://github.com/Neplex/COveR


Thanks,
Nicolas HIOT

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel




__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel