Skip to content

Commit

Permalink
remove html output functions (moved to htmltools)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Apr 3, 2014
1 parent de9c127 commit bc5b01e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 213 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Imports:
yaml (>= 2.1.5)
Suggests:
caTools,
htmltools,
httpuv (>= 1.2.2)
SystemRequirements: pandoc (>= 1.12.3) - http://johnmacfarlane.net/pandoc
License: GPL-3
4 changes: 0 additions & 4 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
S3method(print,html_output)
export(beamer_presentation)
export(default_output_format)
export(draft)
export(html_dependency)
export(html_document)
export(html_output)
export(includes)
export(ioslides_presentation)
export(knit_print.html_output)
export(knitr_options)
export(knitr_options_html)
export(knitr_options_pdf)
Expand Down
125 changes: 0 additions & 125 deletions R/html_output.R

This file was deleted.

8 changes: 5 additions & 3 deletions R/render.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,11 @@ render <- function(input,
"adding YAML params")
}

# attach to search path during the knit (so that the knit_print
# S3 method in rmarkdown is discovered during knitting)
require(rmarkdown)
# ensure that htmltools::knit_print.html_output is available on the
# search path if it exists. note that htmltools doesn't register
# this explicitly as an S3 method so that it doesn't need to depend
# on knitr via importFrom(knitr, knit_print)
suppressWarnings(require("htmltools", quietly = TRUE))

# perform the knit
input <- knitr::knit(knit_input,
Expand Down
45 changes: 0 additions & 45 deletions man/html_dependency.Rd

This file was deleted.

35 changes: 0 additions & 35 deletions man/html_output.Rd

This file was deleted.

2 changes: 1 addition & 1 deletion rmarkdown.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageRoxygenize: rd,collate
PackageRoxygenize: rd,collate,namespace

0 comments on commit bc5b01e

Please sign in to comment.