R: Remove a style

drop_style {crayon} | R Documentation

## Remove a style

### Description

Remove a style

### Usage

    drop_style(style)

### Arguments

`style` | The name of the style to remove. No error is given for non-existing names.

### Value

Nothing.

### See Also

Other styles: `make_style`

### Examples

    make_style(new_style = "maroon", bg = TRUE)
    cat(style("I am maroon", "new_style"), "\n")
    drop_style("new_style")
    "new_style" %in% names(styles())

[Package crayon version 1.3.2 Index]