trim_code: Remove trailing white space from each code line

Description Usage Arguments Value See Also

View source: R/code_formatting.R

Description

Remove trailing white space from each code line

Usage

1
trim_code(code)

Arguments

code

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

Value

trimmed code

See Also

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


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