pin_browse() navigates you to the home of a pin, either on the internet or on your local file system.

pin_browse(board, name, version = NULL, local = FALSE)

Arguments

board

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

name

Pin name.

version

Retrieve a specific version of a pin. Use pin_versions() to find out which versions are available and when they were created.

local

If TRUE, will open the local copy of the pin; otherwise will show you the home of the pin on the internet.

Examples

board <- board_temp(versioned = TRUE)
board %>% pin_write(1:10, "x")
#> Guessing `type = 'rds'`
#> Creating new version '20211004T114922Z-f06bf'
#> Writing to pin 'x'
board %>% pin_write(1:11, "x")
#> Guessing `type = 'rds'`
#> Creating new version '20211004T114922Z-b509c'
#> Writing to pin 'x'
board %>% pin_write(1:12, "x")
#> Guessing `type = 'rds'`
#> Creating new version '20211004T114922Z-b2908'
#> Writing to pin 'x'

board %>% pin_browse("x", local = TRUE)
#>  Pin at </tmp/RtmpOFHnBR/pins-346b5aa953c3/x/20211004T114922Z-f06bf>