is_successful: Test if NONMEM ran without errors

View source: R/monitoring.R

is_successfulR Documentation

Test if NONMEM ran without errors

Description

[Experimental]

Usage

is_successful(r)

Arguments

r

An nm object.

Value

TRUE if run was successful, FALSE otherwise.

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_successful(m1) ## FALSE


tsahota/NMproject documentation built on Oct. 1, 2022, 11:51 a.m.