From 86d13265a143897df3efbeeb68ebf8f73aa717bc Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Tue, 3 Jul 2018 10:55:18 -0500 Subject: [PATCH] pandoc 2.2 should suffice --- NEWS | 2 +- R/jss_article.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index bbea7507f..420213f0d 100644 --- a/NEWS +++ b/NEWS @@ -4,7 +4,7 @@ rticles 0.5 (unreleased) - Add MDPI journal template - Fixed #6 and #132: dollar signs can be used in code chunks in JSS articles - now, but it will require Pandoc 2.2.1 (you can use the Preview version of + now, but it will require Pandoc 2.x (you can use the Preview version of RStudio if you do not want to install Pandoc separately). rticles 0.4.1 diff --git a/R/jss_article.R b/R/jss_article.R index 271a90666..f2e660883 100644 --- a/R/jss_article.R +++ b/R/jss_article.R @@ -20,7 +20,7 @@ #' @export jss_article <- function(..., keep_tex = TRUE, citation_package = 'natbib') { - rmarkdown::pandoc_available('2.2.1', TRUE) + rmarkdown::pandoc_available('2.2', TRUE) template <- find_resource("jss_article", "template.tex")