‘tinycodet’ adds some functions to help in your coding etiquette. It primarily focuses on 4 aspects:
- Safer decimal (in)equality testing, standard-evaluated alternatives
to
with()
andaes()
, and other functions for safer coding. - A new package import system, that attempts to combine the benefits of using a package without attaching, with the benefits of attaching a package.
- Extending the string manipulation capabilities of the ‘stringi’ R package.
- Reducing repetitive code.
‘tinycodet’ adheres to the tinyverse philosophy (not to be confused with the tidyverse). Besides linking to ‘Rcpp’, ‘tinycodet’ has only one other dependency: ‘stringi’. No other dependencies, thus avoiding “dependency hell”. Most functions in this R-package are vectorized and optimised.
Although this is a relatively small R package, I do understand you may not want to go through all the articles and help files of ‘tinycodet’ without knowing if the R package is even worth your time. Therefore, to get a quick glimpse of what ‘tinycodet’ provides, I humbly invite you to take a look at the Get Started page on the website (https://tony-aw.github.io/tinycodet/).
One can install ‘tinycodet’ from CRAN like so:
install.packages("tinycodet")
Or get the development version from GitHub like so:
remotes::install_github("https://github.com/tony-aw/tinycodet")
And attach the package - thus exposing its functions to the namespace - using:
library(tinycodet)
And one can open the introduction help page of the ‘tinycodet’ package using any of the following:
?tinycodet::tinycodet
?tinycodet::`tinycodet-package`
?tinycodet::tinycodet_help
When you coming across an issue with the ‘tinycodet’ R package, please report it in the “Issues” tab on the GitHub page (https://github.com/tony-aw/tinycodet/issues). If relevant, please provide reproducible R code, as that will make it easier to diagnose the issue. Please keep issue reports polite, professional, and to the point.
If you have questions or ideas, please submit them in the “Discussion” tab on the GitHub page (https://github.com/tony-aw/tinycodet/discussions).