powered by
This will create shorthand functions for functions in a package. This function brings together most functions in this package.
shortenPkg(pkg, addPrefix = TRUE, silent = FALSE, num.prefix = 3)
short function names for all the functions in the package
package name
should prefix be added to the new names, TRUE or FALSE. Prefix will by default be first 3 letters of the package name
return messages at the end of evaluation, TRUE or FALSE
if you specify to addPrefix, how many letters will you like to add?
# \donttest{ pkg <- 'qpdf' shortenPkg(pkg,FALSE,TRUE) # }
Run the code above in your browser using DataLab