Defines functions .onAttach

# Check if conda is present. If not, warning will be raised.

.onAttach <- function(libname, pkgname) {
  is_conda <- try(reticulate::conda_binary(), silent = TRUE)
  if(inherits(is_conda, "try-error")) {
    packageStartupMessage("Anaconda not found on your computer. Conda related functionality such as create_env.R and condaenv and yml parameters from explain_scikitlearn will not be available")


Try the DALEXtra package in your browser

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

DALEXtra documentation built on June 14, 2022, 9:07 a.m.