Delete a pin (or pins), removing it from the board
pin_delete(board, names, ...)
A pin board, created by board_folder()
, board_connect()
,
board_url()
or another board_
function.
The names of one or more pins to delete
Additional arguments passed on to methods for a specific board.
board <- board_temp()
board %>% pin_write(1:5, "x")
#> Guessing `type = 'rds'`
#> Creating new version '20250514T201647Z-87646'
#> Writing to pin 'x'
board %>% pin_write(mtcars)
#> Using `name = 'mtcars'`
#> Guessing `type = 'rds'`
#> Creating new version '20250514T201647Z-b9134'
#> Writing to pin 'mtcars'
board %>% pin_write(runif(1e6), "y")
#> Guessing `type = 'rds'`
#> Creating new version '20250514T201648Z-4dcab'
#> Writing to pin 'y'
board %>% pin_list()
#> [1] "mtcars" "x" "y"
board %>% pin_delete(c("x", "y"))
board %>% pin_list()
#> [1] "mtcars"