[Rcpp-devel] Work-around for Stangle failure on Rcpp-modules.Rnw?

Dirk Eddelbuettel edd at debian.org
Mon Jun 28 18:20:42 CEST 2010


On 28 June 2010 at 11:00, Douglas Bates wrote:
| And I'm not sure why but building the PDF files for the vignettes
| bypasses the problem with Stangle so not I am successful at installing
| the latest Rcpp.

It is having the '-fake.Rnw' files there that do not require actual work:

edd at max:~/svn/rcpp/pkg$ ls -l1 Rcpp/inst/doc/Rcpp*sugar*
-rw-r--r-- 1 edd edd 245788 2010-06-28 09:44 Rcpp/inst/doc/Rcpp-sugar.pdf
-rw-r--r-- 1 edd edd     95 2010-06-28 09:44 Rcpp/inst/doc/Rcpp-sugar.Rnw

Rcpp/inst/doc/Rcpp-sugar:
total 28
-rw-r--r-- 1 edd edd    95 2010-06-19 08:20 Rcpp-sugar-fake.Rnw
-rw-r--r-- 1 edd edd 21908 2010-06-28 06:24 Rcpp-sugar.Rnw
edd at max:~/svn/rcpp/pkg$ 

The 'real' vignette is dies to Rcpp-sugar/Rcpp-sugar.Rnw but 'R does not
know' as it only sees the -fake variant in the directory above. Same for the
other vignettes.  

For check and build, however, the real McCoy reappears. Hence your earlier
failure over the inavialability of the not-exactly-well-documented
requirement.

Hth.

-- 
  Regards, Dirk


More information about the Rcpp-devel mailing list