This function is deprecated. Please use write_stan_file() instead.

write_stan_tempfile(code, dir = tempdir())

Arguments

code

A single string containing a Stan program or a character vector containing the individual lines of a Stan program. See Examples.

dir

An optional path to the directory where the file will be written. If omitted, a temporary directory is used by default.