Delete a pin (or pins), removing it from the board

pin_delete(board, names, ...)

Arguments

board

A pin board, created by board_folder(), board_rsconnect(), board_url() or other other board_ function.

names

The names of one or more pins to delete

...

Additional arguments passed on to methods for a specific board.

Examples

board <- board_temp()
board %>% pin_write(1:5, "x")
#> Guessing `type = 'rds'`
#> Creating new version '20211004T114922Z-e4733'
#> Writing to pin 'x'
board %>% pin_write(mtcars)
#> Using `name = 'mtcars'`
#> Guessing `type = 'rds'`
#> Creating new version '20211004T114922Z-5a338'
#> Writing to pin 'mtcars'
board %>% pin_write(runif(1e6), "y")
#> Guessing `type = 'rds'`
#> Creating new version '20211004T114924Z-86f93'
#> Writing to pin 'y'
board %>% pin_list()
#> [1] "mtcars" "x"      "y"     

board %>% pin_delete(c("x", "y"))
board %>% pin_list()
#> [1] "mtcars"