Skip to content

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

Usage

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

Arguments

board

A pin board, created by board_folder(), board_connect(), board_url() or another 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 '20231109T175518Z-709c5'
#> Writing to pin 'x'
board %>% pin_write(1:11, "x")
#> Guessing `type = 'rds'`
#> Creating new version '20231109T175518Z-f6f8c'
#> Writing to pin 'x'
board %>% pin_write(1:12, "x")
#> Guessing `type = 'rds'`
#> Creating new version '20231109T175518Z-94347'
#> Writing to pin 'x'

board %>% pin_browse("x", local = TRUE)
#>  Pin at </tmp/RtmpJovgB0/pins-18965855e55d/x/20231109T175518Z-f6f8c>