do: Make a cached function call and assignment

Description Usage Examples

View source: R/core_public.R

Description

This is a convenience wrapper around cachedCall.

Usage

1
do(..fun.., ...)

Examples

1
2
3
do(mean, x=1:10)
# is an equivalent of
.mean <- cachedCall(mean, x=1:10)

alekrutkowski/cacheflow documentation built on Sept. 3, 2021, 7:10 p.m.