resurrected: Create a "resurrected" object

Description Usage Arguments

View source: R/resurrected.R

Description

'resurrected()' is the standard constructor for resurrected-objects and 'is.resurrected()' tests.

Usage

1
2
3

Arguments

subclass

name of subclass. "resurrected" is an abstract base class, so you must supply this value. 'resurrected_' is automatically prepended to the class name.

finalizer

function to call on finalization or NULL. Function must accept a single argument, which will be the object to finanlise.

...

fields used by object.

x

object to test for "resurrected"-ness.


james-atkins/resurrectr documentation built on Feb. 16, 2021, 12:06 a.m.