knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
A collection of miscellaneous R functions for everyday life.
You can install the development version from GitHub with:
# install.packages("remotes") remotes::install_github("ahasverus/rtoolbox")
Then you can attach the package rtoolbox
:
library("rtoolbox")
Here is an overview of rtoolbox
content:
| Function | Description |
| :--------------------- | :------------------------------------------------------------------------------- |
| new_package()
| Creates a new package structure (derived from usethis::create_package()
) |
| new_compendium()
| Creates a new compendium structure (derived from rrtools::create_compendium()
) |
| add_dependencies()
| Adds automatically dependencies in DESCRIPTION file |
| add_github_actions()
| Sets up GitHub Actions (derived from usethis::use_github_action_*()
) |
| add_badges()
| Adds common badges in README.Rmd (derived from usethis::use_badge()
) |
| git_to_commit()
| Checks if all local git repositories need to be updated |
Please cite this package as:
Casajus N. (2021) rtoolbox: Utilitaries R Functions. R package version 1.0.0.
Please note that the rtoolbox
project is released with a
Contributor Code of Conduct.
By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.