Skip to content
Prev 4741 / 12125 Next

[R-pkg-devel] Error while checking if Pandoc is available

Yesterday the publication of the new brinton package war archived 
(https://cran.r-project.org/web/packages/brinton/index.html) because the 
following line produces the following error:

if(rmarkdown::pandoc_available() == FALSE | rmarkdown::pandoc_version() 
< "1.12.3") {stop("'brinton' requires Pandoc v < 1.12.3 
(https://pandoc.org/)")}

Error in if (rmarkdown::pandoc_available() == FALSE | 
rmarkdown::pandoc_version() <:
argument is of length zero

The checks of the knitr package produce similar errors 
(https://cran.r-hub.io/web/checks/check_results_knitr.html) but knitr is 
available in CRAN (furtunatelly).
Also, I have been punished by prof. Brian Ripley so I can not resubmit 
the package until January.

Do you have any clue about how to fix this? Does to punish rookies have 
sense in this case?

Thanks in advance,
-Pere Mill?n
On 10/11/2019 11:31, Pere Millan Martinez wrote: