Skip to content

Deletes pins from a legacy board.

Usage

pin_remove(name, board = NULL)

Arguments

name

The name for the pin.

board

The board from where this pin will be removed.

Examples

# old API
board_register_local(cache = tempfile())
pin(mtcars)
pin_remove("mtcars")

# new API
board <- board_local()
board %>% pin_write(mtcars)
#> Using `name = 'mtcars'`
#> Guessing `type = 'rds'`
#> ! The hash of pin "mtcars" has not changed.
#>  Your pin will not be stored.
board %>% pin_delete("mtcars")