Error in rmarkdown::pdf_document(..., template = template) :
formal argument "pandoc_args" matched by multiple actual arguments
It seems that adding a pandoc_args argument to rticles::joss_article() and prepending its value to the function's internal definition of pandoc_args solves the issue. (I've checked that this works, and this is also what rticles::jss_article() does).
[x] I have provided the necessary information about my issue.
If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('rticles'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/rticles').
If I have posted the same issue elsewhere, I have also mentioned it in this issue.
[x] I have learned the Github Markdown syntax, and formatted my issue correctly.
I understand that my issue may be closed if I don't fulfill my promises.
As explained here, using the
joss_article()
template with bookdown is to be done by putting the following in the yaml header:However, this produces an error message which can be reproduced as follows:
It seems that adding a
pandoc_args
argument torticles::joss_article()
and prepending its value to the function's internal definition ofpandoc_args
solves the issue. (I've checked that this works, and this is also whatrticles::jss_article()
does).Would you like me to submit a PR?
By filing an issue to this repo, I promise that
xfun::session_info('rticles')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rticles')
.I understand that my issue may be closed if I don't fulfill my promises.