Skip to content

Commit

Permalink
Add "write" to warning about using full name when referencing pin (#787)
Browse files Browse the repository at this point in the history
* Add "write" to warning about using full name when referencing pin

* Update R/board_connect.R

---------

Co-authored-by: Julia Silge <[email protected]>
  • Loading branch information
rkb965 and juliasilge authored Sep 25, 2023
1 parent 1a1e450 commit b853504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/board_connect.R
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ rsc_content_find_live <- function(board, name, version = NULL, warn = TRUE) {
name$full <- paste0(owner, "/", name$name)

if (warn) {
cli::cli_alert_warning("Please use full name when reading a pin: {.val {name$full}}, not {.val {name$name}}.")
cli::cli_alert_warning("Use a fully specified name including user name: {.val {name$full}}, not {.val {name$name}}.")
}
selected <- json[[1]]
} else {
Expand Down

0 comments on commit b853504

Please sign in to comment.