This package exists to make my personal convenience functions portable and easy to share.
You can install the development version of aleksandeR from GitHub with:
# install.packages("devtools")
# devtools::install_github("aleksanderbl29/aleksandeR")
install.packages("aleksandeR", repos = c('https://aleksanderbl29.r-universe.dev', 'https://cloud.r-project.org'))
library(aleksandeR)
The functions of this package all belong to one of the following types:
I currently have format_num() that formats numbers in a way that
conforms to nothern european number presentation standards.
All my custom themes are very close to either ggplot2::theme_minimal()
or cowplot::theme_cowplot() but have my own twists and personal
defaults integrated. The themes are created for each type of plot and
can be called individually or through the aptly named
theme_aleksander().
This includes pkg_bib().
This package is built with the instructions from the great package-book R Packages (2e).
For the themes I try to do test-driven development. It was first introduced to me in the great video series by Pat Schloss. Take a look if you’re interested. Video link