place_includes: Place possible #includes into Stan code

Description Usage Arguments Value See Also

View source: R/code_formatting.R

Description

Place possible #includes into Stan code

Usage

1
place_includes(code, include_dir = getwd(), spaces = 2, verbose = FALSE)

Arguments

code

Stan code as a string. Ignored if file is not NULL.

include_dir

Parent directory for possible #included files.

spaces

Number of spaces to use for indenting (has no effect if use_stanc is TRUE).

verbose

Should some informational messages be printed?

Value

the full program code as a string, not formatted or indented

See Also

Other code formatting functions: indent_code(), trim_code()


jtimonen/stanbreaker documentation built on Jan. 20, 2021, 12:34 a.m.