request: Request object from session or cache

Description Usage Arguments Value

View source: R/request.R

Description

This function is a wrapper around thaw, that checks if an object is currently defined in the workspace. If not, it tries to load the object from the project's cache.

Usage

1
request(.name, .else = NULL)

Arguments

.name

String giving the name of the requested object

.else

Expression: what to do if requesting fails

Value

Silently return TRUE if object could be reloaded from cache or was already present in workspace, or FALSE otherwise. Mainly invoked for side effects (requesting an object).


cszang/fridge documentation built on May 14, 2019, 12:26 p.m.