R/zzz.R

Defines functions .onAttach

#' @importFrom utils head combn
#' @importFrom stats cor median var relevel contr.treatment
#' @import checkmate
"_PACKAGE"

.onAttach = function(libname, pkgname) { # nolint
  packageStartupMessage(paste(
    "In order to avoid name clashes, do not attach 'mlr3measures'.",
    "Instead, only load the namespace with `requireNamespace(\"mlrmeasures\")`",
    "and access the measures directly via `::`, e.g. `mlr3measures::auc()`."
  ))
}

Try the mlr3measures package in your browser

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

mlr3measures documentation built on Aug. 5, 2022, 5:22 p.m.