[R-pkg-devel] Package submission with external library
Dirk Eddelbuettel
edd at debian.org
Fri Jun 30 21:42:24 CEST 2017
On 30 June 2017 at 16:13, Nicolas Hiot wrote:
| Thanks for your reply.
|
| 1. I don't want to depend on other packages that implement GSL. (Too
| heavy for my purpose)
That is *not* what Uwe suggested.
He suggested you look at _other packages_ which _successfully use the GSL_
which include packages 'gsl', my own 'RcppGSL' and many more.
I cannot agree more with Uwe: you have working examples to work from. Study
them.
| 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?
See above. We have many packages building against GSL -- including on
Windows.
Dirk
|
| 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
| >
|
| ______________________________________________
| R-package-devel at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-package-devel
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
More information about the R-package-devel
mailing list