Skip to content

[Deprecated]

Usage

pin_remove(name, board = NULL)

Arguments

name

The name for the pin.

board

The board from where this pin will be removed.

Details

Deletes pins from a legacy board.

Examples

# old API
board_register_local(cache = tempfile())
pin(mtcars)
pin_remove("mtcars")
#> Warning: `pin_remove()` was deprecated in pins 1.4.0.
#>  Please use `pin_delete()` instead.

# 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")