pin_delete: Delete a pin

Description Usage Arguments Examples

View source: R/pin-delete.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
8
board <- board_temp()
board %>% pin_write(1:5, "x")
board %>% pin_write(mtcars)
board %>% pin_write(runif(1e6), "y")
board %>% pin_list()

board %>% pin_delete(c("x", "y"))
board %>% pin_list()

pins documentation built on Oct. 2, 2021, 5:06 p.m.