Load a functions from a lexicon into an environment
wrap_lexicon(
lexicon,
commands = NULL,
subcommands = NULL,
drop_base = FALSE,
env = parent.frame(),
use_namespace = NULL
)
a dataframe containing columns for base, command, subcommand, and giftwrap_command (the full command)
regex filtering for any commands in the lexicon
regex filtering for any subcommands in the lexicon
drop the base-level command from the caller function
the environment into which the giftwrap functions should be exported
a character string of a namespace for giftwrap to create and export the lexicon functions into
Functions exported to the specified environment