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)

Arguments

pkgname

a string, the name of the package

local_location

a file path representing the desired location of the local copy.

Examples

local_location <- tempdir() copy_models(pkgname = "staninside", local_location = local_location)
#> All models have been copied to your specified location