Learn R Programming

reproducible (version 1.1.1)

makeMemoisable: Generic method to make or unmake objects memoisable

Description

This is just a pass through for all classes in reproducible. This generic is here so that downstream methods can be created.

Usage

makeMemoisable(x)

# S3 method for default makeMemoisable(x)

unmakeMemoisable(x)

# S3 method for default unmakeMemoisable(x)

Arguments

x

An object to make memoisable. See individual methods in other packages.

Value

The same object, but with any modifications, especially dealing with saving of environments, which memoising doesn't handle correctly in some cases.