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

Nicolas Hiot nicolas.hiot at etu.univ-orleans.fr
Fri Jun 30 16:13:05 CEST 2017


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 <ligges at statistik.tu-dortmund.de> 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 at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>



More information about the R-package-devel mailing list