Skip to contents

This function builds on top of rstan::expose_stan_functions() in order to facilitate exposing package functions in R for internal use, testing, and exploration. Crucially it performs a conversion between the package cmdstan stan code and rstan compatible stan code. It is not generally recommended that users make use of this function apart from when exploring package functionality.

Usage

expose_stan_fns(files, target_dir, ...)

Arguments

files

A character vector of file names

target_dir

A character string giving the directory in which files can be found.

...

Arguments to pass to rstan::expose_stan_functions()

Value

NULL (indivisibly)