.extract_stan_functions: Extract function names or content from Stan code
Description
Extract function names or content from Stan code
Usage
.extract_stan_functions(content, names_only = FALSE, functions = NULL)
Value
Character vector of function names or content
Arguments
- content
Character vector containing Stan code
- names_only
Logical, if TRUE extract function names, otherwise
extract function content.
- functions
Optional, character vector of function names to extract
content for.