Learn R Programming

giftwrap (version 0.0.4)

wrap_commands: To convert shell commands into giftwrapped functions

Description

To convert shell commands into giftwrapped functions

Usage

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