Resolves a path to a model-related file, treating x as a model name. By default (ext is NULL) the run directory is returned.
# S3 method for character
modelpath(x, ext = NULL, project = getOption("project",
getwd()), nested = getOption("nested", TRUE), ...)object
file extension, no leading dot
project directory
whether model files are nested in eponymous directories
passed arguments
character