Skip to content

Commit

Permalink
Move ellipsis checking
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Aug 28, 2023
1 parent 6ca46a8 commit 8334095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pin-read-write.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ pin_write <- function(board, x,
tags = NULL,
...,
force_identical_write = FALSE) {
ellipsis::check_dots_used()
check_board(board, "pin_write", "pin")

if (is.null(name)) {
Expand Down Expand Up @@ -126,6 +125,7 @@ pin_write <- function(board, x,
}
}

ellipsis::check_dots_used()
name <- pin_store(board, name, path, meta, versioned = versioned, x = x, ...)
pins_inform("Writing to pin '{name}'")
invisible(name)
Expand Down

0 comments on commit 8334095

Please sign in to comment.