Thanks for the answer. However replacing it resulted in another error for me:
Quitting from lines 2-41 (MACPET.Rmd)
Error in doc_date() : could not find function "doc_date"
Calls: ... inline_exec -> hook_eval -> withVisible -> eval -> eval
Execution halted
Should I wait until BiocStyle is update
Not using BiocStyle::pdf_document means you can’t use the helpers/macros.
Try this in a fresh interactive session:
library(BiocStyle)
rmarkdown::render("yourvignette.Rmd")
This should make the helpers/macros available. It won’t fix the issue
for passing R CMD check, but at least it’ll confirm
Thanks for that insight, we'll try to solve the issue with BiocStyle.
Martin
On 12/1/19, 1:32 AM, "Bioc-devel on behalf of Benjamin Jean-Marie Tremblay"
wrote:
I’ve been getting the exact same error for compiling the Rmarkdown
vignettes in my own package. Some partial testing before t