is_finished: Tests if job is finished

View source: R/monitoring.R

is_finishedR Documentation

Tests if job is finished

Description

[Stable]

Usage

is_finished(r, initial_timeout = NA)

Arguments

r

An nm object.

initial_timeout

Deprecated. See wait_finish().

Value

A logical vector with TRUE or FALSE values.

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

is_finished(m1) # FALSE


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