collect_decorator: Wrap a function with 'collect_all'

View source: R/future_walk.R

collect_decoratorR Documentation

Wrap a function with collect_all

Description

This takes a function, and returns a new one, but makes it so that it goes from f(x) to collect_all(f(x)(x)). Ehhh... look at the code.

Usage

collect_decorator(f, indices = 1:4, asStrings = TRUE)

Arguments

f

a function


burchill/cs documentation built on May 28, 2023, 1:29 p.m.