A collection of personal functions designed to simplify and streamline common R programming tasks. This package provides reusable tools and shortcuts for frequently used calculations and workflows.

Feel at Home using R, Thanks to Shortcuts Functions Making it Simple
R.AlphA.Home is a collection of personal functions designed to simplify and streamline common R programming tasks. This package provides reusable tools and shortcuts for frequently used calculations and workflows, making R programming more accessible and efficient.
You can install the released version of R.AlphA.Home from CRAN with:
install.packages("R.AlphA.Home")
Or install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("R-alpha-act/R.AlphA.Home")
cols_pad() - Add variables to ease data usage in pivot tablescompareVars() - Compare table variablescountSwitches() - Create incremented counters based on start/stop markersimportAll() - Import and concatenate multiple data files efficiently (enhanced v1.1.0)left_join_checks() - Left join operations with built-in validation checksrdate() - Generate random dates with similar usage as r* functionsRtimer - Class R6, allow organized tracking of R code execution time (new in v1.1.0)quickSave() - Save files with automatic date prefixing in designated directorysepThsd() - Quick number formatting with customizable defaultsprintif() - Conditionally print objects based (new in v1.1.0)lum_0_100() - Adjust graphics window brightness for comfortable ggplot2 viewingret_lum() - Adjust brightness of hex colorsshiny_lum_0_100() - Set Shiny background and sidebar colors to chosen grey shadesshow_diff() - Compare two texts or files with diffobjroot() - Get root directory of current source filesetOption() - Set global options from named list elements (new in v1.1.0)loadCheck() - Load and install package if necessary (new in v1.1.0)ralpha_fold() / ralpha_unfold() - Enhanced code folding functionality (new in v1.1.0)timer() → Use the class Rtimer insteadfoldAllBr() → Use ralpha_fold() and ralpha_unfold() insteadThe package imports 12 essential R packages:
data.table, dplyr, tibblelubridateggplot2, diffobjreadxl, writexl, R.utilsrstudioapi, magrittr, R6Optional (in Suggests): shiny, shinyWidgets for Shiny integration.
We welcome contributions! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
?function_name or help(package = "R.AlphA.Home")This package is licensed under GPL-3.
Making R programming feel like home, one function at a time. 🏠