powered by
Create directory and helper files for a Stan package using CmdStanR
setup_stan_package(loc = NULL, use_all = TRUE)
invisible null
a file.path indicating package root.
a logical indicating if each section of Stan code should have it's own directory with a default of TRUE
TRUE
# Create Temporary Directory temp_dir <- tempdir() # Now setup the structur setup_stan_package(loc = temp_dir) # Examine output list.files(temp_dir, recursive = TRUE)
Run the code above in your browser using DataLab