Define the icon for a function.

Usage

sd_icon(expr = NULL, func = NULL, inherits = NULL)

Arguments

expr, func
Either a bare expression or a function with no arguments that uses grid to create a icon that represents the function.
inherits
Alternatively, use an existing icon specified by a function name

Description

Define the icon for a function.