Skip to contents

For internal use

Usage

get_model_path(model.name, file.name, dir.name = "models", local = FALSE)

Arguments

model.name

name of the model (see list_models() for options)

file.name

Optional. File name; if NULL, return path to model directory

dir.name

Directory name for files (for local files, must be in main project directory)

local

logical. if TRUE, use local model definition (in models subdirectory of main project repo). if FALSE, use package models.

Value

A file name complete with file path