strip: Make a function to return its own environment

View source: R/strip.R

stripR Documentation

Make a function to return its own environment

Description

Modifies a function so that it returns its own environment. The new function returns an environment with all intermediate variables calculated in the original function. The function's value is assigned to 'result..' Doesn't work with S3 generics and primitive.

Usage

strip(fun.)

Arguments

fun.

a function

Value

a modified function


lebatsnok/hammock documentation built on Dec. 2, 2022, 6:25 a.m.