[Rcpp-devel] R CMD check now blows up on latex

Romain François francoisromain at free.fr
Wed Dec 30 14:19:58 CET 2009


> * checking package vignettes in 'inst/doc' ... WARNING
> Package vignettes without corresponding PDF:
>    /home/edd/svn/rcpp/pkg/inst/doc/Rcpp-unitTests.Rnw

This is not the case when you R CMD check on the tarball

> * checking PDF version of manual ... WARNING
> LaTeX errors when creating PDF version.
> This typically indicates Rd problems.

I can not reproduce this. Which version of R are you running, can you 
send me the tex file. This is probably due to these lines :

\ifelse{html}{\out{<pre>}}{\ifelse{latex}{\out{\begin{verbatim}}}{}}
\Sexpr[echo=FALSE,results=text]{paste(readLines(system.file("doc", 
"Rcpp-unitTests.txt", package = "Rcpp" ) ), collapse="\n\n")}
\ifelse{html}{\out{</pre>}}{\ifelse{latex}{\out{\end{verbatim}}}{}}


> LaTeX errors found:
> ! LaTeX Error: \begin{Rdsection} on input line 585 ended by \end{verbatim}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H<return>   for immediate help.
>   ...
> ! LaTeX Error: \begin{Details} on input line 585 ended by \end{list}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H<return>   for immediate help.
>   ...
> ! LaTeX Error: \begin{document} ended by \end{Rdsection}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H<return>   for immediate help.
>   ...
> ! Extra \endgroup.
> <recently read>  \endgroup
>
> l.592 \end{Details}
>
> ! LaTeX Error: \begin{document} ended by \end{Details}.
>
> See the LaTeX manual or LaTeX Companion for explanation.
> Type  H<return>   for immediate help.
>   ...
> ! Extra \endgroup.
> <recently read>  \endgroup
>
> l.592 \end{Details}
>
> * checking PDF version of manual without index ... ERROR
> edd at ron:~/svn/rcpp$
>


-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/IW9B : C++ exceptions at the R level
|- http://tr.im/IlMh : CPP package: exposing C++ objects
`- http://tr.im/HlX9 : new package : bibtex





More information about the Rcpp-devel mailing list