R/zzz.R

Defines functions .onAttach .onLoad

.onLoad <- function(libname, pkgname) {
  # Update icon details
  update_icon()

  # `pillar` is a Suggests dependency, only used for tibble printing of an
  # `icons` column, so it's registered conditionally rather than exported.
  vctrs::s3_register("pillar::pillar_shaft", "icons")

  invisible()
}

.onAttach <- function(...) {
  icon_attach()
}

Try the icons package in your browser

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

icons documentation built on Sept. 3, 2026, 5:10 p.m.