Re: [Rcpp-devel] Re unit testing for Rcpp

2014-11-12 Thread Dirk Eddelbuettel
On 12 November 2014 at 19:48, Dirk Eddelbuettel wrote: | | On 12 November 2014 at 10:04, Aaron Polhamus wrote: | | Dear list,  | | | | I am writing an Rcpp unit testing application for internal, commercial use. I'm | | having a tough time coming up with good unit tests for the following functi

Re: [Rcpp-devel] Re unit testing for Rcpp

2014-11-12 Thread Dirk Eddelbuettel
On 12 November 2014 at 10:04, Aaron Polhamus wrote: | Dear list,  | | I am writing an Rcpp unit testing application for internal, commercial use. I'm | having a tough time coming up with good unit tests for the following functions, | which either deal with S4 classes or are used at the package

Re: [Rcpp-devel] Compiler errors with RcppGSL

2014-11-12 Thread Dirk Eddelbuettel
On 12 November 2014 at 18:08, Devin Heer wrote: | Thanks for your quick reply! | | Indeed, the file you described within RcppGSL\examples\RcppGSLExample\src  looks | as follows: | | ## This assumes that the LIB_GSL variable points to working GSL libraries | PKG_CPPFLAGS=-I$(LIB_GSL)/include | PK

[Rcpp-devel] Re unit testing for Rcpp

2014-11-12 Thread Aaron Polhamus
Dear list, I am writing an Rcpp unit testing application for internal, commercial use. I'm having a tough time coming up with good unit tests for the following functions, which either deal with S4 classes or are used at the package load stage for packages depending on Rcpp: cpp_object_dummy cpp_ob

Re: [Rcpp-devel] Compiler errors with RcppGSL

2014-11-12 Thread Devin Heer
Thanks for your quick reply! Indeed, the file you described within RcppGSL\examples\RcppGSLExample\src looks as follows: ## This assumes that the LIB_GSL variable points to working GSL libraries PKG_CPPFLAGS=-I$(LIB_GSL)/include PKG_LIBS=-L$(LIB_GSL)/lib -lgsl -lgslcblas I can now simply replac

Re: [Rcpp-devel] Compiler errors with RcppGSL

2014-11-12 Thread Dirk Eddelbuettel
Hi Devin, On 12 November 2014 at 15:13, Devin Heer wrote: | Thus, I would really like to get the RcppGSL package up and running. I have | downloaded the GSL library and saved it in the same folder where the header | file Rcpp.h is located (I assume this is the default place RcppGSL is looking | f

[Rcpp-devel] Compiler errors with RcppGSL

2014-11-12 Thread Devin Heer
Hello I am trying to translate one R function into C++ by using Rcpp. This function makes use of hyperg_2F1 from the gsl package. Thus, I would really like to get the RcppGSL package up and running. I have downloaded the GSL library and saved it in the same folder where the header file Rcpp.h is l