Learn R Programming

r2shortcode (version 0.2)

discardShortcodes: Discard shortcodes

Description

This will discard all shorthand functions created and delete them from stores as well. Good if you inadvertently shorthand a package.

Usage

discardShortcodes(
  pkg,
  reflib = options()$.funCNamesPkgReference,
  response = TRUE
)

Value

unloads short function names

Arguments

pkg

package name

reflib

reference library, preferrably leave unentered

response

TRUE or FALSE, return a response upon completion

Examples

Run this code
# \donttest{
pkgName = 'quickcode'
shortenPkg(pkgName)
discardShortcodes(pkgName)
# }

Run the code above in your browser using DataLab