This function extracts the Stan Code from a Package and then copies it to your user cache locally.
copy_models(pkgname = "staninside", local_location = NULL)
a string, the name of the package
a file path representing the desired location of the local copy. If "default" is provided, the function will use the user cache directory for the package.
file path of newly created files
local_location <- tempdir()
copy_models(pkgname = "staninside", local_location = local_location)
#> ✔ All models have been copied to your specified location