R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  ggplot2::theme_set(ggplot2::theme_minimal())
  ggplot2::update_geom_defaults("bar", list(fill = "red"))

  invisible()
}

## Declaring globals
utils::globalVariables(c("category", "category_name", "courseid", "created", "gender", "hist", "maxtime",
                         "mintime",
                         "name", "normalized_grade", "rawgrade", "rawgrademax", "thread_name", "userid", "word"))

Try the moodleR package in your browser

Any scripts or data that you put into this service are public.

moodleR documentation built on Aug. 15, 2022, 5:09 p.m.