[Stable]

status(x)

Arguments

x

An nm object.

Value

A character with the status of the run with values "non started", "running", "finished", or "error"

See also

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"))

status(m1)  ## not run
#> [1] "not_started"