Skip to content

Commit a0589ba

Browse files
committed
feat: Improve deprecation message
1 parent 59cc32f commit a0589ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/deprecated.R

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
#' @keywords internal
1010
#' @name deprecated
1111
data_frame <- function(...) {
12-
deprecate_stop("3.2.2", "data_frame()", "tibble()")
12+
deprecate_stop("3.2.2", "data_frame()",
13+
details = 'Please use `tibble()` to create a tibble and `vctrs::data_frame()` to create a data frame.'
14+
)
1315

1416
# Unquote-splice to avoid argument matching
1517
tibble(!!!quos(...))

0 commit comments

Comments
 (0)