ralpha_fold() / ralpha_unfold() - Added
delay for async executeCommand to fix timing issuesroot() - Now accepts ... as first
parameter for path building. Positional arguments are now
interpreted as path components, not as
includeFName. Use root(includeFName = TRUE)
explicitly to get the full file path.root() - Can now build paths relative to the source
file directory: root("data", "input.csv") returns the full
path to data/input.csv relative to the script
location.Rtimer - Removed intermediate columns
ct_proc and dt_proc for cleaner output. Only
diffTime and totalTime are now returned.Major effort to reduce and optimize package dependencies for improved stability and CI/CD reliability.
Dependencies removed from Imports: *
stringi and stringr - Replaced with base R
equivalents (gsub, grepl,
regmatches) * openxlsx - Replaced by
readxl (read) and writexl (write) for xlsx
handling * tidyr - replace_na() replaced by
dplyr::coalesce() (already imported) * diffr -
Replaced by diffobj (lighter alternative, 2 deps vs 21) *
jsonlite - No longer needed after diffr removal *
htmlwidgets - No longer needed after diffr removal
Dependencies moved to Suggests: * shiny
and shinyWidgets - For optional Shiny integration
Formats removed from importAll(): *
Parquet, Feather, and QS formats no longer supported (were depending on
arrow and qs)
Result: 25 → 12 direct imports (-52%), eliminating
problematic stringi dependency that caused CI/CD failures
on macOS runners.
show_diff() - Now uses diffobj for
comparison, with preserved dark theme CSSimportAll() - Simplified to support CSV, Excel, and RDS
formats onlyshiny_lum_0_100() - Added
requireNamespace() checks, function still works when shiny
packages are installedstringi ICU library dependenciessetOption() - Sets a global option from a named list
elementprintif() - Conditionally print an objectloadCheck() - Load and install package if
necessaryshow_diff() - Compare two texts or files with
diffrRtimer - New R6 class replacing the
timer() function : provides functionality to add timing
checkpoints, calculate time differences, and generate summary data
table.ralpha_fold() - Easily fold all code bracketsralpha_unfold() - Efficient way to unfold code
bracketsNewly deprecated * timer() - It is
recommended to use the new class RTimer *
foldAllBr() - It is recommended to use
ralpha_fold() and ralpha_unfold()
importAll() - Improved column type harmonization across
imported files.importAll() - Added renameTable parameter
for systematic column renaming across imported files.importAll() - Added excludePattern
parameter to exclude files from import based on pattern matching.importAll() - Fixed handling of all different
possibilities between path and fileList (relative/absolute/omitted path,
combined with fileList as absolute/relative paths, or a pattern)R.AlphA.Home provides a collection of personal functions designed to simplify and streamline common R programming tasks. This package offers reusable tools and shortcuts for frequently used calculations and workflows, making R programming more accessible and efficient.
Data Manipulation and Processing: *
cols_pad() - Add Variables to ease data usage in a Pivot
Table * compareVars() - Compare Table Variables *
countSwitches() - Create an incremented Counter, based on
Start/Stop Markers * importAll() - Function to Import and
Concatenate Multiple data files * left_join_checks() - Left
Join with Validation Checks
Date and Time Utilities: * rdate() -
Generate Random Dates, with a similar usage as the r* functions *
timer() - Allow organized tracking of R code execution
time
Data Output and Formatting: *
quickSave() - Save File in a Directory storing saves,
prefixing it with current date * sepThsd() - Quick number
formatting with customizable defaults * printif() -
Conditionally Print an Object
Graphics and Visual Utilities: *
lum_0_100() - Adjust the Brightness of the Graphics Window
for confortable viewing when using ggplot2 * ret_lum() -
Adjust the Brightness of a Hex Color * shiny_lum_0_100() -
Set Shiny Background and Sidebar Colors to a Chosen Shade of Grey
System and Environment: * root() - Get
Root Directory of Current Source File * setOption() - Sets
a global option from a named list element * foldAllBr() -
Easily Fold Code Parts