Skip to content

❗ This is a read-only mirror of the CRAN R package repository. r2shortcode — Shorten Function Names of Functions in Another Package and Create an Index to Make Them Accessible. Homepage: https://github.com/oobianom/r2shortcode Report bugs for this package: https://github.com/oobianom/r2shortcode

License

Notifications You must be signed in to change notification settings

cran/r2shortcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

r2shortcode: An R Package that Helps Shorten Other R Package Functions

CRAN_Status_Badge

Have you come across packages with function names that are either too long or too similar to another frequently used function? Well, what if you can change those function names and still use the package?

Shorten function names of packages. Make it easier to use. Write long descriptive functions in your R package. Users have the choice to use the long form of the function name or shorten the functions using the r2shortcode package.

Quick example in R

install.packages("r2shortcode")

library("r2shortcode")

Use this package to shorten the functions in the package "r2shortcode"

shortenPkg("r2shortcode",addPrefix = T)

Index all the short forms of the functions for the package

index("r2shortcode")

help("r2.gP") #OR whatis("r2.gP")

How to use function - In this case is the "define" function

r2d.d("hello") instead of r2shortcode::define("hello")

About

❗ This is a read-only mirror of the CRAN R package repository. r2shortcode — Shorten Function Names of Functions in Another Package and Create an Index to Make Them Accessible. Homepage: https://github.com/oobianom/r2shortcode Report bugs for this package: https://github.com/oobianom/r2shortcode

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages