Skip to contents

Returns the R code that would recreate the board when re-run on another computer. Goal is to capture the location of the board, but not the authorisation, since (a) that would leak credentials and (b) in most deployment scenarios board auth will be read from env vars.

Usage

board_deparse(board, ...)

# S3 method for pins_board_azure
board_deparse(board, ...)

# S3 method for pins_board_folder
board_deparse(board, ...)

# S3 method for pins_board_kaggle_competition
board_deparse(board, ...)

# S3 method for pins_board_kaggle_dataset
board_deparse(board, ...)

# S3 method for pins_board_rsconnect
board_deparse(board, ...)

# S3 method for pins_board_s3
board_deparse(board, ...)

Arguments

board

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

...

Additional arguments passed on to methods for a specific board.

Value

A call.

Examples

if (FALSE) {
board <- board_rsconnect()
# Generate code to access this board from elsewhere
board_deparse(board)
}