reporter_previewer | R Documentation |
Module offers functionalities to visualize, manipulate, and interact with report cards that have been added to a report. It includes a previewer interface to see the cards and options to modify the report before downloading.
Cards are saved by the shiny
bookmarking mechanism.
For more details see the vignette: vignette("previewerReporter", "teal.reporter")
.
reporter_previewer_ui(id)
reporter_previewer_srv(
id,
reporter,
global_knitr = getOption("teal.reporter.global_knitr"),
rmd_output = c(html = "html_document", pdf = "pdf_document", powerpoint =
"powerpoint_presentation", word = "word_document"),
rmd_yaml_args = list(author = "NEST", title = "Report", date =
as.character(Sys.Date()), output = "html_document", toc = FALSE),
previewer_buttons = c("download", "load", "reset")
)
id |
( |
reporter |
( |
global_knitr |
( |
rmd_output |
( |
rmd_yaml_args |
( |
previewer_buttons |
( |
To access the default values for the global_knitr
parameter,
use getOption('teal.reporter.global_knitr')
. These defaults include:
echo = TRUE
tidy.opts = list(width.cutoff = 60)
tidy = TRUE
if formatR
package is installed, FALSE
otherwise
NULL
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.