Fix for Warning on Check
an additional `:render` was wrongly placed and has been removed, travi build should work now and the build check worked on my end as well.
diff --git a/R/posterdown_html.R b/R/posterdown_html.R
index 9089483..31675d2 100644
--- a/R/posterdown_html.R
+++ b/R/posterdown_html.R
@@ -1,11 +1,10 @@
-
-#' Posterdown HTML format (using bookdown::html_document2)
+#' Posterdown HTML format (using pagedown::poster_relaxed)
#'
#' @inheritParams pagedown::poster_relaxed
#' @param ... Additional arguments to `rmarkdown::html_document`
#'
#' @return R Markdown output format to pass to
-#' [rmarkdown:render::render()]
+#' [rmarkdown::render()]
#'
#' @examples
#'
@@ -21,7 +20,7 @@
}
#' @description The output format `poster_betterland()` mimics the style of the
-#' \dQuote{BetterPoster} movement from twitter.
+#' BetterPoster movement from twitter.
#' @rdname posterdown_html
#' @export
posterdown_betterland <- function(...,
@@ -31,7 +30,7 @@
}
#' @description The output format `poster_betterport()` mimics the style of the
-#' \dQuote{BetterPoster} movement from twitter.
+#' BetterPoster movement from twitter.
#' @rdname posterdown_html
#' @export
posterdown_betterport <- function(...,
diff --git a/R/posterdown_latex.R b/R/posterdown_latex.R
index 0ba4da7..d56e6a1 100644
--- a/R/posterdown_latex.R
+++ b/R/posterdown_latex.R
@@ -4,7 +4,7 @@
#' @param ... Additional arguments to `rmarkdown::pdf_document`
#'
#' @return R Markdown output format to pass to
-#' [rmarkdown:render::render()]
+#' [rmarkdown::render()]
#'
#' @examples
#'
diff --git a/man/posterdown_html.Rd b/man/posterdown_html.Rd
index 5df063e..dddff57 100644
--- a/man/posterdown_html.Rd
+++ b/man/posterdown_html.Rd
@@ -4,7 +4,7 @@
\alias{posterdown_html}
\alias{posterdown_betterland}
\alias{posterdown_betterport}
-\title{Posterdown HTML format (using bookdown::html_document2)}
+\title{Posterdown HTML format (using pagedown::poster_relaxed)}
\usage{
posterdown_html(..., template = find_resource("posterdown_html",
"template.html"), css = NULL)
@@ -26,14 +26,14 @@
}
\value{
R Markdown output format to pass to
-\code{\link[rmarkdown:render:render]{rmarkdown:render::render()}}
+\code{\link[rmarkdown:render]{rmarkdown::render()}}
}
\description{
The output format \code{poster_betterland()} mimics the style of the
-\dQuote{BetterPoster} movement from twitter.
+BetterPoster movement from twitter.
The output format \code{poster_betterport()} mimics the style of the
-\dQuote{BetterPoster} movement from twitter.
+BetterPoster movement from twitter.
}
\examples{
diff --git a/man/posterdown_latex.Rd b/man/posterdown_latex.Rd
index 3164ff5..8ae907c 100644
--- a/man/posterdown_latex.Rd
+++ b/man/posterdown_latex.Rd
@@ -16,7 +16,7 @@
}
\value{
R Markdown output format to pass to
-\code{\link[rmarkdown:render:render]{rmarkdown:render::render()}}
+\code{\link[rmarkdown:render]{rmarkdown::render()}}
}
\description{
Legacy function for the OG's of posterdown.