R/0_imports.R

Defines functions .onLoad

#' @importFrom parsnip set_new_model
#' @importFrom stats predict

# ------------------------------------------------------------------------------

# The function below defines the model information. This accesses the model
# environment inside of parsnip so it has to be executed once parsnip has
# been loaded.

.onLoad <- function(libname, pkgname) {
  # This defines mixture_model in the model database
  make_mixture_model()
}
hfrick/beetroot documentation built on April 13, 2020, 12:39 a.m.