Skip to content

Commit 1561237

Browse files
committed
#108 error message update
1 parent f34cc5f commit 1561237

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/spec_builder.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ create_tbl <- function(doc, cols) {
764764
}) %>%
765765
paste0(collapse = "\n") %>%
766766
paste0("Unable to identify a sheet with all columns.\n", .) %>%
767-
(call. <- FALSE)
767+
cli_abort(call. = FALSE)
768768
} else if (length(matches) == 1) {
769769
# Check names and write a better warning message if names don't work
770770
ds_nm <- matches[[1]] %>% names()

0 commit comments

Comments
 (0)