The problem is that it seems Pandoc no longer recognizes arbitrary
LaTeX commands in variables set in the YAML metadata. Specifically,
in RcppCNPy-intro.Rmd:
include-after: |
\begin{thebibliography}{4}
This will be escaped to \textbackslash{}begin{thebibliography}{4}
in the .tex output, failing the bibliography. I suggest that the
authors move the values of header-includes and include-after to
separate .tex files, and use the "includes" option of the R Markdown
output format, e.g.,
Kurt H writes what follows below. Need to change the reference vignette, and the Rcpp* packages using this scheme.
Dirk, As already mentioned: pls see https://cran.r-project.org/web/checks/check_results_RcppCNPy.html
Yihui wrote:
The problem is that it seems Pandoc no longer recognizes arbitrary LaTeX commands in variables set in the YAML metadata. Specifically, in RcppCNPy-intro.Rmd:
include-after: | \begin{thebibliography}{4}
This will be escaped to \textbackslash{}begin{thebibliography}{4} in the .tex output, failing the bibliography. I suggest that the authors move the values of header-includes and include-after to separate .tex files, and use the "includes" option of the R Markdown output format, e.g.,
output: pinp::pinp: includes: in_header: header.tex after_body: bibliography.tex
Can you pls fix accordingly?
Packages
RcppClassic RcppGSL RcppZiggurat pinp
apparently all have exactly the same problem as RcppCNPy: pls fix those too.
Best -k