Added get_model_metadata() to retrieve model metadata (description, tags, and based_on) directly from a model object.
Updated documentation for model metadata retrieval and NONMEM comment parsing formats.
hyperion 0.3.1
New features
updated pharos dependency. When submitting a previously run model, the output directory will be deleted before submission to the grid.
if NMTRAN is available on head nodes/where models are submitted to the grid from, check_model will be run before submission.
Bug fixes
fixed issue with error message showing when ext/grd files were attempted to be read for summary(mod) for a running model before ext/grd files existed
hyperion 0.3.0
New Features
Running Model Status Detection
get_run_status() now returns "running" in addition to "run" and "not_run". Detects active NONMEM execution by checking whether the .ext file contains final estimates.
Summary Support for All Model States
summary() on NONMEM models now produces distinct output for three states:
Completed ("run"): Full parameter table, heuristics, OFV (unchanged).
Running ("running"): Recent iterations and gradients from .ext/.grd files. New n_iterations parameter controls how many to show (default 10).
Not run ("not_run"): Model metadata (problem statement, dataset path) with submission hints.
Console and R Markdown/Quarto rendering for running and not-run summaries via print() and knit_print() S3 methods.
New Exported Function: from_config_relative()
Resolves config-relative paths (stored relative to pharos.toml directory) to absolute paths.
get_model_dir() Gains absolute Parameter
get_model_dir(mod, absolute = TRUE) returns the absolute path instead of the config-relative path.
hyperion 0.2.0
New Features
Parameter Comment System
Add a structured parameter metadata system built on S7 classes:
ThetaComment, OmegaComment, SigmaComment store per-parameter fields like name, display, description, unit, parameterization, and associated_theta (OMEGA only).
ModelComments is a container for all parameters and validates cross-links (e.g., OMEGA associated_theta names).
New entry point get_model_parameter_info() reads comments from a model or run output and returns a ModelComments object for inspection and reporting.