Description Usage Arguments Value
Read in a macro file
1 2 | read_macro(file, macro_code = readLines(file),
.glue_control = list(.open = "{|", .close = "|}"))
|
file |
file name to read in; ignored if 'macro_code' is used |
macro_code |
text representation of the macro; |
.glue_control |
list of control arguments to pass to 'glue::glue_data' |
a stan_macro object, which is a function that returns parsed macro code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.