add bookdown import and tidy up rmd
diff --git a/R/posterdown.R b/R/posterdown.R
index fd1e995..ea111c6 100644
--- a/R/posterdown.R
+++ b/R/posterdown.R
@@ -9,6 +9,7 @@
#' @docType package
#' @name posterdown
#' @import rmarkdown
+#' @import bookdown
#' @import ggplot2
#' @import knitr
NULL
diff --git a/R/posterdown_pdf.R b/R/posterdown_pdf.R
index 06f5bd7..7890f49 100644
--- a/R/posterdown_pdf.R
+++ b/R/posterdown_pdf.R
@@ -1,4 +1,4 @@
-#' Posterdown PDF format (using 'memoir' document class)
+#' Posterdown PDF format (using Memoir LaTeX document class)
#'
#' @inheritParams rmarkdown::pdf_document
#' @param ... Additional arguments to \code{rmarkdown::pdf_document}
@@ -10,9 +10,9 @@
#'
#' \dontrun{
#' library(rmarkdown)
-#' draft("MyArticle.Rmd", template = "posterdown_generic", package = "posterdown")
+#' draft("MyArticle.Rmd", template = "posterdown_pdf", package = "posterdown")
#' }
-#'
+#' @return
#' @export
posterdown_pdf <- function(..., keep_tex = TRUE) {
inherit_pdf_document(...,
diff --git a/R/utils.R b/R/utils.R
index 2aa1fa3..fdf4d97 100644
--- a/R/utils.R
+++ b/R/utils.R
@@ -76,7 +76,3 @@
# return format
fmt
}
-
-
-
-