Skip to content

Commit

Permalink
fix examples using htmltools::browsable
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasp85 committed Feb 18, 2021
1 parent 14c666b commit ccae5f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/inlineSVG.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Run plotting code and view svg in RStudio Viewer or web broswer.
#' Run plotting code and view svg in RStudio Viewer or web browser.
#'
#' This is useful primarily for testing. Requires the \code{htmltools}
#' package.
Expand All @@ -8,7 +8,7 @@
#' @keywords internal
#' @export
#' @examples
#' if (require("htmltools")) {
#' if (interactive() && require("htmltools")) {
#' htmlSVG(plot(1:10))
#' htmlSVG(hist(rnorm(100)))
#' }
Expand Down
4 changes: 2 additions & 2 deletions man/htmlSVG.Rd

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

0 comments on commit ccae5f3

Please sign in to comment.