fst | R Documentation |
Retrieves the style name in Word for a specified onbrand style name.
fst(obnd, osn = NULL, verbose = TRUE)
obnd |
onbrand report object |
osn |
onbrand Word style name to fetch |
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
wsn: Word style name that corresponds to the specified onbrand style name (osn
)
dff: Default font format for that style (the corresponding md_def
section of the yaml file for that style)
isgood: Boolean variable indicating success or failure
msgs: Vector of messages
# Creating an onbrand object:
obnd = read_template(
template = file.path(system.file(package="onbrand"), "templates", "report.docx"),
mapping = file.path(system.file(package="onbrand"), "templates", "report.yaml"))
# Pulling out the placeholder information:
st = fst(obnd, "Heading_3")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.