_build_module
Surface module for brms._build() context (internal tooling).
This module is intended to be imported safely in the main process (no top-level rpy2 imports). Heavy work should be performed in the worker when these functions are called via ModuleProxy.
Only names listed in all will be exposed by the _build() context proxy.
Attributes¶
__all__ = ['BuildModule']
module-attribute
¶
Classes¶
BuildModule
¶
Source code in brmspy/brms/_build_module.py
Functions¶
is_package_installed(name)
staticmethod
¶
collect_runtime_metadata()
staticmethod
¶
Collect comprehensive R environment metadata for runtime bundle.
Executed in worker.
Source code in brmspy/brms/_build_module.py
stage_runtime_tree(base_dir, metadata, runtime_version)
staticmethod
¶
Stage runtime tree structure for packing.
Executed in worker.
Source code in brmspy/brms/_build_module.py
pack_runtime(runtime_root, out_dir, runtime_version)
staticmethod
¶
Pack staged runtime into distributable archive.
Executed in worker.