1
0
mirror of https://github.com/eddelbuettel/binb synced 2024-12-22 12:39:58 +01:00

Merge pull request #26 from jsta/patch-1

Avoid citation_package none deprecation warning
This commit is contained in:
Dirk Eddelbuettel 2020-06-08 22:03:27 -05:00 committed by GitHub
commit dd6aa30573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@
##' @param keep_tex A logical variable defaulting to \code{FALSE}. ##' @param keep_tex A logical variable defaulting to \code{FALSE}.
##' @param latex_engine A character variable defaulting to \dQuote{xelatex}. ##' @param latex_engine A character variable defaulting to \dQuote{xelatex}.
##' @param citation_package An optional character variable with possible value ##' @param citation_package An optional character variable with possible value
##' \dQuote{none}, \dQuote{natbib} (the default), or \dQuote{biblatex}. ##' \dQuote{default}, \dQuote{natbib} (the default), or \dQuote{biblatex}.
##' @param includes An optional character variable defaulting to \code{NULL}. ##' @param includes An optional character variable defaulting to \code{NULL}.
##' @param md_extensions An optional character variable defaulting to \code{NULL}. ##' @param md_extensions An optional character variable defaulting to \code{NULL}.
##' @param pandoc_args An optional character variable defaulting to \code{NULL}. ##' @param pandoc_args An optional character variable defaulting to \code{NULL}.
@ -67,7 +67,7 @@ metropolis <- function(toc = FALSE,
highlight = "tango", highlight = "tango",
keep_tex = FALSE, keep_tex = FALSE,
latex_engine = "xelatex", latex_engine = "xelatex",
citation_package = c("none", "natbib", "biblatex"), citation_package = c("default", "natbib", "biblatex"),
includes = NULL, includes = NULL,
md_extensions = NULL, md_extensions = NULL,
pandoc_args = NULL) { pandoc_args = NULL) {
@ -112,7 +112,7 @@ iqss <- function(toc = FALSE,
highlight = "haddock", highlight = "haddock",
keep_tex = FALSE, keep_tex = FALSE,
latex_engine = "xelatex", latex_engine = "xelatex",
citation_package = c("none", "natbib", "biblatex"), citation_package = c("default", "natbib", "biblatex"),
includes = NULL, includes = NULL,
md_extensions = NULL, md_extensions = NULL,
pandoc_args = NULL) { pandoc_args = NULL) {
@ -166,7 +166,7 @@ monash <- function(toc = FALSE,
highlight = "tango", highlight = "tango",
keep_tex = FALSE, keep_tex = FALSE,
latex_engine = "pdflatex", latex_engine = "pdflatex",
citation_package = c("none", "natbib", "biblatex"), citation_package = c("default", "natbib", "biblatex"),
includes = NULL, includes = NULL,
md_extensions = NULL, md_extensions = NULL,
pandoc_args = NULL) { pandoc_args = NULL) {
@ -220,7 +220,7 @@ presento <- function(toc = FALSE,
highlight = "haddock", highlight = "haddock",
keep_tex = FALSE, keep_tex = FALSE,
latex_engine = "xelatex", latex_engine = "xelatex",
citation_package = c("none", "natbib", "biblatex"), citation_package = c("default", "natbib", "biblatex"),
includes = NULL, includes = NULL,
md_extensions = NULL, md_extensions = NULL,
pandoc_args = NULL) { pandoc_args = NULL) {