Closed barrettk closed 1 month ago
> devtools::test(filter = "model-status")
ℹ Testing bbr
✔ | F W S OK | Context
✔ | 26 | Model status functions [2.0s]
══ Results ══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
Duration: 2.0 s
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 26 ]
Addressed comments:
Defines "source of truth" function, that all other status checks depend on. All related functions determine the status based on the presence of a
bbi_config.json
file, migrating away from checking for"Stop Time"
in a.lst
file.get_model_status
,check_nonmem_finished
, andwait_for_nonmem
were all adjusted based on the above refactor. The exported methods and documentation are now much cleaner.Groups all exported status related functions into the same documentation. Adds examples and additional details for certain model types.
Test adjustments.
closes https://github.com/metrumresearchgroup/bbr/issues/685