wrap_commands: To convert shell commands into giftwrapped functions

Description Usage Arguments Value

View source: R/giftwrap.R

Description

To convert shell commands into giftwrapped functions

Usage

1
2
3
4
5
6
wrap_commands(
  ...,
  env = parent.frame(),
  base_remove = NULL,
  use_namespace = NULL
)

Arguments

...

shell commands to be turned into giftwrapped functions

env

the environment in which the function should be created

base_remove

remove the base from the function name by adding the base name here

use_namespace

a character string of a namespace to use for the resulting functions

Value

A function or functions exported to the specified environment


giftwrap documentation built on Dec. 15, 2020, 5:39 p.m.