prep_expressions {goodpractice} | R 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.
[Package goodpractice version 1.0.5 Index]