check_model_object: Private helper to check if an object inherits a model class...

check_model_objectR Documentation

Private helper to check if an object inherits a model class and error if not

Description

Private helper to check if an object inherits a model class and error if not

Usage

check_model_object(.mod, .mod_types = BBI_BASE_MODEL_CLASS)

Arguments

.mod

The object to check

.mod_types

Character vector of acceptable classes, defaulting to BBI_BASE_MODEL_CLASS


metrumresearchgroup/rbabylon documentation built on Aug. 8, 2024, 11:18 p.m.