prep_expressions: Extract all closures from a package

View source: R/prep_expressions.R

prep_expressionsR Documentation

Extract all closures from a package

Description

The package must be extracted into the working directory, as usual.

Usage

prep_expressions(state, version = NULL, quiet)

Arguments

state

GP state.

version

Currently ignored.

Details

We can use lintr to extract the functions, but need to use our own code (based on similar code in functionMap) to get the right collation order.

Value

The modified state, with the closures in a named list.


goodpractice documentation built on Aug. 31, 2022, 1:05 a.m.