[R-pkg-devel] Add appveyor in package with RcppGSL dependency
Julio Trecenti
julio.trecenti at gmail.com
Mon Oct 23 15:10:45 CEST 2017
@Dirk, yes, we checked the revdeps but only SimInf seems to have appveyor
working. Thank you for the advices.
@Jenny Thank you! Now we'll do our homework and return with feedback,
hopefully having a complete solution :)
Julio
On Sun, Oct 22, 2017 at 7:51 PM Jennifer Bryan <jenny.f.bryan at gmail.com>
wrote:
> On travis, you're installing libgsl0-dev yet I don't see anything similar
> in your appveyor config. If you look at install.out in your AppVeyor build
> artefacts:
>
> https://ci.appveyor.com/project/brsantos/baquantreg/build/artifacts
>
> that seems to be why compilation is failing.
>
> That seems like a lead worth pursuing.
>
> Jenny
>
> * installing *source* package 'baquantreg' ...
> ** libs
> C:/Rtools/mingw_32/bin/g++ -I"c:/R/include" -DNDEBUG -I/include
> -I../inst/include -I"c:/RLibrary/Rcpp/include"
> -I"c:/RLibrary/RcppArmadillo/include" -I"c:/RLibrary/RcppGSL/include"
> -I"d:/Compiler/gcc-4.9.3/local330/include" -O2 -Wall -mtune=core2 -c
> BayesQR.cpp -o BayesQR.o
> In file included from c:/RLibrary/RcppGSL/include/RcppGSL.h:25:0,
> from BayesQR.cpp:2:
> c:/RLibrary/RcppGSL/include/RcppGSLForward.h:26:29: fatal error:
> gsl/gsl_vector.h: No such file or directory
> #include <gsl/gsl_vector.h>
> ^
> compilation terminated.
> make: *** [BayesQR.o] Error 1
> Warning: running command 'make -f "Makevars.win" -f
> "c:/R/etc/i386/Makeconf" -f "c:/R/share/make/winshlib.mk"
> SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)'
> SHLIB="baquantreg.dll" OBJECTS="BayesQR.o RcppExports.o TwoPartBayesQR.o
> ZItobitBayesQR.o helper1.o helperAlpha.o helperGIG.o helperLV.o helperRD.o
> helperTN.o spBayesQR.o sppBayesQR.o"' had status 2
> ERROR: compilation failed for package 'baquantreg'
> * removing 'C:/projects/baquantreg/baquantreg.Rcheck/baquantreg'
>
>
>
> On Sun, Oct 22, 2017 at 11:37 AM, Julio Trecenti <julio.trecenti at gmail.com
> > wrote:
>
>> Hi!
>>
>> We are trying to add CI to this package
>> https://github.com/brsantos/baquantreg.
>>
>> We are trying to do add appveyor to work with our package based on @stewid
>> solution here: https://github.com/stewid/SimInf.
>>
>> However, our shell knowledge is limited and we did not manage to do it.
>>
>> Would you have any thoughts on this?
>>
>> Thanks!
>>
>> PS: thanks Dirk for the valuable advices!
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-package-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>>
>
>
>
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list