Skip to contents

Enumerations

A scalar value drawn from a fixed set of variants.

Enum()
Create an Enum(eration)
new_enum()
Create a new enum class
property_enum()
Enum(eration) property
enum_roclet() use_roxygen()
roxygen2 integration

Scalar properties

Properties constrained to a single atomic value.

Range properties

Scalar properties bound to an inclusive numeric range.

Array properties

Lists of values that share one class.

property_array()
Array property

Combinators

Combine classes and properties with OR/AND semantics.

property_union() `|`(<S7_property>)
Create Property from a Union of Properties
property_intersection() `&`(<S7_property>)
Create a property from an intersection of properties

Coercion

Coerce S7 objects to plain R vectors or JSON.

as_vector() from_vector()
Convert S7 objects to and from vectors
to_json() from_json()
Convert S7 objects to and from JSON