Description Usage Arguments Value
Load a functions from a lexicon into an environment
1 2 3 4 5 6 7 8  | wrap_lexicon(
  lexicon,
  commands = NULL,
  subcommands = NULL,
  drop_base = FALSE,
  env = parent.frame(),
  use_namespace = NULL
)
 | 
lexicon | 
 a dataframe containing columns for base, command, subcommand, and giftwrap_command (the full command)  | 
commands | 
 regex filtering for any commands in the lexicon  | 
subcommands | 
 regex filtering for any subcommands in the lexicon  | 
drop_base | 
 drop the base-level command from the caller function  | 
env | 
 the environment into which the giftwrap functions should be exported  | 
use_namespace | 
 a character string of a namespace for giftwrap to create and export the lexicon functions into  | 
Functions exported to the specified environment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.