dhmisc

dhmisc is a collection of functions/tools I like to use but are either not present in any R packages I know of or their implementation in existing R packages don’t fulfill my needs.

Installation

Development version:

install.packages("dhmisc", repos = "https://dhersz.r-universe.dev")

# or
# install.packages("remotes")
remotes::install_github("dhersz/dhmisc")

Utilities

Functions

Pre-commit hooks

To use pre-commit hooks in R packages please see {precommit} R package installation and usage instructions. To use the hooks made available here you will need to run precommit::use_precommit() and configure .pre-commit-config.yaml as shown below (please remove any hooks you don’t want to use from the list):

repos:
-   repo: https://github.com/dhersz/dhmisc
    rev: v0.0.0.9014
    hooks:
    -   id: mod-codemeta-description-updated
    -   id: mod-readme-rmd-rendered
    -   id: version-bumped

Acknowledgement

Credits for mod-codemeta-description-updated and mod-readme-rmd-rendered pre-commit hooks go to Lorenz Walthert, {precommit} maintainer.