goodpractice (version 1.0.4)

prep_expressions: 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)

Value

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

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.