lookup_fun: Lookup function from value you recipe column

View source: R/utilities.R

lookup_funR Documentation

Lookup function from value you recipe column

Description

This function is an internal utility exported for its usefulness when debugging recipes. Normal workflows will not involve calling it directly.

Usage

lookup_fun(str)

Arguments

str

ANY. A function (immediately returned) or a character(1) value of the form func, "pkg::func" or "pkg:::func". Any other value will result in an error.

Value

A function

Examples

lookup_fun(rnorm)
lookup_fun("rnorm")
lookup_fun("stats::rnorm")
lookup_fun("stats:::rnorm")

Roche/respectables documentation built on Oct. 2, 2024, 8:57 p.m.