Package: r2shortcode 0.2
r2shortcode: Shorten Function Names of Functions in Another Package and Create an Index to Make Them Accessible
When creating a package, authors may sometimes struggle with coming up with easy and straightforward function names, and at the same time hoping that other packages do not already have the same function names. In trying to meet this goal, sometimes, function names are not descriptive enough and may confuse the potential users. The purpose of this package is to serve as a package function short form generator and also provide shorthand names for other functions. Having this package will entice authors to create long function names without the fear of users not wanting to use their packages because of the long names. In a way, everyone wins - the authors can use long descriptive function names, and the users can use this package to make short functions names while still using the package in question.
Authors:
r2shortcode_0.2.tar.gz
r2shortcode_0.2.zip(r-4.5)r2shortcode_0.2.zip(r-4.4)r2shortcode_0.2.zip(r-4.3)
r2shortcode_0.2.tgz(r-4.4-any)r2shortcode_0.2.tgz(r-4.3-any)
r2shortcode_0.2.tar.gz(r-4.5-noble)r2shortcode_0.2.tar.gz(r-4.4-noble)
r2shortcode_0.2.tgz(r-4.4-emscripten)r2shortcode_0.2.tgz(r-4.3-emscripten)
r2shortcode.pdf |r2shortcode.html✨
r2shortcode/json (API)
# Install 'r2shortcode' in R: |
install.packages('r2shortcode', repos = c('https://oobianom.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/oobianom/r2shortcode/issues
Last updated 8 months agofrom:a1a2d3296a. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 01 2024 |
R-4.5-win | OK | Nov 01 2024 |
R-4.5-linux | OK | Nov 01 2024 |
R-4.4-win | OK | Nov 01 2024 |
R-4.4-mac | OK | Nov 01 2024 |
R-4.3-win | OK | Nov 01 2024 |
R-4.3-mac | OK | Nov 01 2024 |
Exports:chooseShortNameclearStoredNamesdiscardShortcodeshasSpecialCharactershasUpperCasehelpindexisUpperCasenameAlreadyExistssearchNameSaveNameshortenPkgstoreChosenNamewhatis
Dependencies:cligluelifecyclemagrittrrlangstringistringrvctrs
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Short algorithm to choose a short name based on a given long name | chooseShortName |
Clears previously stored names | clearStoredNames |
Discard shortcodes | discardShortcodes |
Does string have special characters? | hasSpecialCharacters |
Contains uppercase? | hasUpperCase |
Help for all functions | help |
Index a shortened package | index |
Is string uppercase? | isUpperCase |
Does name already exist in memory? | nameAlreadyExists |
Search for the existence of a name and save if unavailable | searchNameSaveName |
Shorten the package | shortenPkg |
Store chosen name in memory | storeChosenName |
Help for all functions | whatis |