Learn R Programming

staninside (version 0.0.4)

copy_models: Copy Stan Models

Description

This function extracts the Stan Code from a Package and then copies it to your user cache locally.

Usage

copy_models(pkgname = "staninside", local_location = NULL)

Value

file path of newly created files

Arguments

pkgname

a string, the name of the package

local_location

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.

Examples

Run this code
local_location <- tempdir()
copy_models(pkgname = "staninside", local_location = local_location)

Run the code above in your browser using DataLab