_metadata
Build manifest metadata collection from R environment.
Functions¶
_run_r_json(code)
¶
Execute R code and parse JSON output to Python dictionary.
collect_runtime_metadata()
¶
Collect comprehensive R environment metadata for runtime bundle.
Queries R via rpy2 to gather complete information about the current R installation, including R version, CmdStan installation, and full dependency closure of brms + cmdstanr with all package details.
Returns:
| Type | Description |
|---|---|
dict
|
Metadata dictionary containing: - r_version : str - R version (e.g., "4.3.1") - cmdstan_path : str - Path to CmdStan installation - cmdstan_version : str - CmdStan version - packages : list of dict - Package information |