config_log_make_entry: Prepare a model-specific config log entry

View source: R/config-log.R

config_log_make_entryR Documentation

Prepare a model-specific config log entry

Description

config_log() relies on config_log_entry() to create a entry. config_log_entry() reads in configuration and relies on this method to prepare and tailor the config object for a given model type.

Usage

config_log_make_entry(.mod, config, fields = NULL)

## Default S3 method:
config_log_make_entry(.mod, config, fields = NULL)

## S3 method for class 'bbi_nonmem_model'
config_log_make_entry(.mod, config, fields = NULL)

Arguments

.mod

A model object.

config

The raw configuration read from bbi_config.json.

fields

Requested fields to include in the config. If NULL, a default set of fields for the particular model type should be used.

Value

A two element list. The first element is named "config" and contains the prepared config object. The second is named "fields" and is a character vector of fields that includes those specified via the fields parameter as well as any additional fields that were automatically tacked on.


metrumresearchgroup/rbabylon documentation built on April 21, 2024, 3:26 a.m.