The goal of helpeR is to store the regular functions that I use.
You can install the development version of helpeR like so:
remotes::install_github("jonotuke/helpeR")- 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")
)All of the instructions are in the vignettes.
Set up with
usethis::use_data_raw("grading-data")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")To get the site, run
devtools::build_readme()
pkgdown::build_site()First we create the file with
use_vignette("grading", title = "Functions to finalise marks")Add notes and compile.