R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  # Make `fuzzy_naive_bayes()` available to tidymodels: register it now if
  # parsnip is already loaded, or as soon as parsnip gets loaded.
  if (isNamespaceLoaded("parsnip")) {
    register_fuzzy_naive_bayes()
  }
  setHook(packageEvent("parsnip", "onLoad"), function(...) register_fuzzy_naive_bayes())
  invisible()
}

Try the FuzzyClass package in your browser

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

FuzzyClass documentation built on Oct. 22, 2026, 1:07 a.m.