prop_bag: Opaque named list S7 property

View source: R/02_S7_prop_factories.R

prop_bagR Documentation

Opaque named list S7 property

Description

A pass-through for values with no per-key contract of our own – extra request headers, backend-specific options – carried as one value however many keys it holds. The keys are required: the value becomes a JSON object, so every element must carry a name, and the names must be distinct. Use NULL, not list(), for no value.

Usage

prop_bag(default = NULL, nullable = TRUE, description = "")

Arguments

default

List: Default value (NULL for none, or if nullable).

nullable

Logical: If TRUE, NULL is a valid value.

description

Character: Human-readable description.

Value

S7 property.

Author(s)

EDG

Examples

extra_headers <- prop_bag(nullable = TRUE, description = "Extra headers")

rtemis.core documentation built on Sept. 20, 2026, 9:06 a.m.