View source: R/fetch_rpttype.R
fetch_rpttype | R Documentation |
Based on the file extension for a template
fetch_rpttype(template = NULL, verbose = TRUE)
template |
Name of PowerPoint or Word file |
verbose |
Boolean variable when set to TRUE (default) messages will be displayed on the terminal; Messages will be included in the returned list. |
List with the following elements
rpttype: Either Word, PowerPoint or Unknown
rptext: Either docx, pptx, or Unknown
rptobj: Either rdocx, rpptx, or Unknown
isgood: Boolean variable indicating success or failure
msgs: Vector of messages
rpttype = fetch_rpttype(template=
file.path(system.file(package="onbrand"), "templates", "report.pptx"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.