On 18 October 2011 at 22:48, Slava Razbash wrote: | Hello, | | Could you please confirm/deny if I am compiling "correctly". The | compiled package works, but I want to make sure that things are done | properly and that I am not using a "hack" that could cause unintended | side effects. [...] | It compiles and runs, but have I missed anything?
Well, how are we to tell? Seriously, _you_ are the domain expert on your app so you could and should add things like unit tests. What you described sounds like a valid approach based on the package.skeleton() variant in RcppArmadillo. They key really is to get compiling and linking down, which you did. Now run some sanity tests on known input and output data and enjoy. Dirk -- "Outside of a dog, a book is a man's best friend. Inside of a dog, it is too dark to read." -- Groucho Marx _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel