Skip to content
Back to formatted view

Raw Message

Message-ID: <20170630161305.14195edi2m1jzuk1@webmaileturc.univ-orleans.fr>
Date: 2017-06-30T14:13:05Z
From: Nicolas Hiot
Subject: [R-pkg-devel] Package submission with external library
In-Reply-To: <018be79d-3006-f628-c876-33b2f51d697b@statistik.tu-dortmund.de>

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
>