R/zzz.R

Defines functions .onLoad

.onLoad <- function(...) {
  if (requireNamespace("ggplot2", quietly = TRUE)) {
    vctrs::s3_register("ggplot2::autoplot", "pairwise")
    vctrs::s3_register("ggplot2::scale_type", "supernova_number")
  }
}

Try the supernova package in your browser

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

supernova documentation built on May 29, 2024, 4:47 a.m.