Skip to content

Commit

Permalink
Replace argument 'framgent.only' with 'template' in call to knit2html()
Browse files Browse the repository at this point in the history
Requested by CRAN, due to failure on an example, despite being wrapped in `donttest{}`
  • Loading branch information
renozao committed May 2, 2023
1 parent e9dbb82 commit 58b2ed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/knitr.R
Expand Up @@ -200,7 +200,7 @@ chunkOutputHook <- function(name, hook, type = c('output', 'source', 'chunk')){
#' ")
#'
#' # knit
#' out <- knitr::knit2html(tmp, fragment.only = TRUE)
#' out <- knitr::knit2html(tmp, template = FALSE)
#'
#' }
#'
Expand Down
2 changes: 1 addition & 1 deletion man/knit_ex.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 58b2ed4

Please sign in to comment.