Write copies of the .stan files of a Stan model and its #include files with all profiling statements removed.Source:
Write copies of the .stan files of a Stan model and its #include files with all profiling statements removed.
include_paths = NULL,
target_dir = tempdir()
The path to a .stan file containing a Stan program.
Paths to directories where Stan should look for files specified in #include directives in the Stan program.
The path to a directory in which the manipulated .stan files without profiling statements should be stored. To avoid overriding of the original .stan files, this should be different from the directory of the original model and the
list containing the path to the .stan file without profiling
statements and the include_paths for the included .stan files without