run_dir_path: Get path to run_dir

View source: R/nm-gettersetters.R

run_dir_pathR Documentation

Get path to run_dir

Description

[Stable]

The function run_dir() gives the directory name, whereas this function gets the (relative) path of run_dir().

Usage

run_dir_path(m)

Arguments

m

An nm object.

Value

A path to the run_dir field of m.

See Also

nm_getsetters().

Examples


# create example object m1 from package demo files
exdir <- system.file("extdata", "examples", "theopp", package = "NMproject")
m1 <- new_nm(run_id = "m1", 
             based_on = file.path(exdir, "Models", "ADVAN2.mod"),
             data_path = file.path(exdir, "SourceData", "THEOPP.csv"))

run_dir_path(m1)
             

NMproject documentation built on Sept. 30, 2022, 1:06 a.m.