The goal of helpeR is to store the regular functions that I use.
Installation
You can install the development version of helpeR like so:
remotes::install_github("jonotuke/helpeR")Adding a function
- Use
use_r("new_function")to add function.
2. Add in code and driver run until working.
3. Add Roxygen.
4. Run
document()to update document.
5. Run
check()to check package is fine.
6. Run
build()to install.
If using dplyr, you may get a no visible binding error. Add this to file
utils::globalVariables(
c("missing var")
)Adding extra files
These all go into inst, so we create this
fs::dir_create("inst")We can then get files with
fs::path_package("helpeR", "inst", "grading", "sc2024-gradebook.csv")