shortenPkg {r2shortcode} | R Documentation |
Shorten the package
Description
This will create shorthand functions for functions in a package. This function brings together most functions in this package.
Usage
shortenPkg(pkg, addPrefix = TRUE, silent = FALSE, num.prefix = 3)
Arguments
pkg |
package name |
addPrefix |
should prefix be added to the new names, TRUE or FALSE. Prefix will by default be first 3 letters of the package name |
silent |
return messages at the end of evaluation, TRUE or FALSE |
num.prefix |
if you specify to addPrefix, how many letters will you like to add? |
Value
short function names for all the functions in the package
Examples
pkg <- 'qpdf'
shortenPkg(pkg,FALSE,TRUE)
[Package r2shortcode version 0.2 Index]