-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attempt to fix 2019-February/010296.html #1113
Conversation
PR looks good. A ChangeLog entry is always welcomed and encouraged but I can add it. Out of curiousity (and as that is also indirectly my stack in another package) what goes wrong on vignettes, esp now that the pdf ones are all pre-made? |
When I run * checking for file ‘Rcpp/DESCRIPTION’ ... OK
* preparing ‘Rcpp’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running ‘cleanup’
* installing the package to build vignettes
* creating vignettes ... ERROR
--- re-building ‘Rcpp-FAQ.Rnw’ using Sweave
--- finished re-building ‘Rcpp-FAQ.Rnw’
--- re-building ‘Rcpp-attributes.Rnw’ using Sweave
--- finished re-building ‘Rcpp-attributes.Rnw’
--- re-building ‘Rcpp-extending.Rnw’ using Sweave
--- finished re-building ‘Rcpp-extending.Rnw’
--- re-building ‘Rcpp-introduction.Rnw’ using Sweave
--- finished re-building ‘Rcpp-introduction.Rnw’
--- re-building ‘Rcpp-jss-2011.Rnw’ using Sweave
--- finished re-building ‘Rcpp-jss-2011.Rnw’
--- re-building ‘Rcpp-libraries.Rnw’ using Sweave
--- finished re-building ‘Rcpp-libraries.Rnw’
--- re-building ‘Rcpp-modules.Rnw’ using Sweave
--- finished re-building ‘Rcpp-modules.Rnw’
--- re-building ‘Rcpp-package.Rnw’ using Sweave
--- finished re-building ‘Rcpp-package.Rnw’
--- re-building ‘Rcpp-quickref.Rnw’ using Sweave
--- finished re-building ‘Rcpp-quickref.Rnw’
--- re-building ‘Rcpp-sugar.Rnw’ using Sweave
--- finished re-building ‘Rcpp-sugar.Rnw’
Rscript -e 'tools::texi2pdf("Rcpp-attributes.tex", texi2dvi="pdflatex")'
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'Rcpp-attributes.tex' failed.
LaTeX errors:
! Package pdfpages Error: Cannot find file `pdf/Rcpp-attributes.pdf'.
See the pdfpages package documentation for explanation.
Type H <return> for immediate help.
...
! Emergency stop.
...
l.10 ...-, fitpaper=true]{pdf/Rcpp-attributes.pdf}
! ==> Fatal error occurred, no output PDF file produced!
Calls: <Anonymous> -> texi2dvi
Execution halted
Makefile:34: recipe for target 'Rcpp-attributes.pdf' failed
make: *** [Rcpp-attributes.pdf] Error 1
Error in tools::buildVignettes(dir = ".", tangle = TRUE) :
running 'make' failed
Execution halted I am not sure if I should call something prior to |
My first hunch was case. Does not seem to be the case. My second hunch is "as it works for me" that some files are not in git that for that operation to succeed have to be. I'll take a look. Thanks for the heads-up! |
LGTM as well! |
Not expecting any issues but as I was just re-running rev.deps for 1.0.5.2 I created a branch-off-the-PR (which Emacs magit makes easy too with one command) and am testing that now as a 1.0.5.3 candidate. |
Re the |
No problem and happy help. I actually thought that the simple explanation that the
|
Isn't it usually the opposite? A textbook case of Occam's razor, no? ;-) |
Thanks again for everybody's patience. This is now 'live' in Rcpp 1.0.6 which just got to CRAN under our bi-annual release cycle. |
PR as requested in #1112.
The following passes with one warning:
I used
--no-build-vignettes
as I got an error otherwise. This resulted in some warnings.I figure the changes are minor and thus I have not added anything to the ChangeLog file.