Skip to content

Commit 1cfc7fc

Browse files
committed
feat: Improve deprecation message
1 parent 1c4db18 commit 1cfc7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/deprecated.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#' @keywords internal
1010
#' @name deprecated
1111
data_frame <- function(...) {
12-
deprecate_stop("3.3.0", "data_frame()", "tibble()")
12+
deprecate_stop("3.3.0", "data_frame()", details = 'Please use `tibble()` to create a tibble and `vctrs::data_frame()` to create a data frame.')
1313

1414
# Unquote-splice to avoid argument matching
1515
tibble(!!!quos(...))

0 commit comments

Comments
 (0)