R/zzz.R

Defines functions .onAttach

.onAttach <- function(lib, pkg) {
  if(interactive()) {
    packageStartupMessage(
      "Note:\n",
      "  The 'colorspace' package provides better functions for simulating\n",
      "  color vision deficiency: simulate_cvd(), deutan(), protan(), tritan().\n",
      "  More modern robust color palettes are available in hcl.colors() and\n",
      "  palette.colors() in base R as well as further tools in 'colorspace'.\n",
      "References:\n",
      "  https://doi.org/10.18637/jss.v096.i01\n",
      "  https://doi.org/10.32614/RJ-2023-071")
  }
}

Try the dichromat package in your browser

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

dichromat documentation built on July 22, 2026, 9:06 a.m.