optional_pos_integer_scalar: Optional positive integer scalar S7 property

optional_pos_integer_scalarR Documentation

Optional positive integer scalar S7 property

Description

S7 property accepting NULL or a single non-NA integer value strictly greater than zero.

Usage

optional_pos_integer_scalar

Value

An S7 property object.

Author(s)

EDG

Examples

Resample <- S7::new_class(
  "Resample",
  properties = list(n_workers = optional_pos_integer_scalar)
)
Resample()@n_workers
Resample(n_workers = 4L)@n_workers
try(Resample(n_workers = 0L))

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