[Rcpp-devel] cxxfunction -- extra argument to g++

Dirk Eddelbuettel edd at debian.org
Wed Jan 25 16:52:04 CET 2012


On 25 January 2012 at 09:52, Whit Armstrong wrote:
| Ok, all set w/ lastest svn (Revision: 3445)
| 
| One question on the build.  I can successfully install if I use --no-vignettes
| 
| However, with default args:
| 
| R CMD build Rcpp
| ...
| ...
| ...
| /usr/lib/R/bin/Rscript --vanilla -e "require(highlight); driver <-
| HighlightWeaveLatex(boxes = TRUE, bg = ‘white’ ); Sweave(
| ‘Rcpp-modules.Rnw’, driver = driver ); "
| Loading required package: highlight
| Loading required package: tools
| Loading required package: codetools
| Loading required package: parser
| Loading required package: Rcpp
| Writing to file Rcpp-modules.tex
| Processing code chunks with options ...
|  1 : keep.source term verbatim
| Loading required package: inline
|  2 : keep.source term verbatim
| terminate called after throwing an instance of ‘Rcpp::not_compatible’
|   what():  expecting a single value
| Aborted
| make: *** [Rcpp-modules.pdf] Error 134
| Error in tools::buildVignettes(dir = ".") : running ‘make’ failed
| Execution halted
| warmstrong at krypton:~/dvl/R.packages/external$
| 
| Is this a missing dependency on my workstation?

Try rev3446. What I added yesterday had a latex issue. Should be fine now.

Thanks, Dirk

| 
| seems to be here too:
| http://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-gcc-fedora/Rcpp-00check.html
| 
| -Whit
| 
| 
| On Tue, Jan 24, 2012 at 4:58 PM, Whit Armstrong
| <armstrong.whit at gmail.com> wrote:
| > Thanks for your help.
| >
| > -Whit
| >
| >
| > On Tue, Jan 24, 2012 at 4:39 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
| >>
| >> On 24 January 2012 at 16:27, Whit Armstrong wrote:
| >> | yes, unless I add
| >> |
| >> | #include <armadillo>
| >> |
| >> | Then it blows up.
| >> |
| >> | The problem is in my real function I include a header, which includes armadillo.
| >> |
| >> | So, unless I go deleting all the refs to #include <armadillo>, I think
| >> | it will continue to blow up...  (with the current released version).
| >> |
| >> | Anyway, I'll just wait for the next release.
| >>
| >> I give up now. I told you three emails ago that it is either a one char fix,
| >> or an update to SVN. Is that really so hard?
| >>
| >> As for mucking with the headers: that requires care because of forward
| >> declarations for as and wrap and all the like but if you had it working
| >> before ....
| >>
| >> 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

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx


More information about the Rcpp-devel mailing list