try_memoize: Attempt to memoize a function using the memoise package.

Description Usage Arguments Details Value

View source: R/utils.r

Description

This function will load the memoise package if it is available, or do nothing otherwise.

Usage

1

Arguments

fn

function. The function to memoize.

Details

(Blame Hadley for the spelling of memoise.)

Value

nothing, but try_memoize will use non-standard evaluation to memoize in the calling environment.


robertzk/syberiaStructure documentation built on May 27, 2019, 11:38 a.m.