Skip to content

Commit 1381c4d

Browse files
committed
slightly improve unnest_tsibble() error msg
1 parent 4a39394 commit 1381c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/tidyr-verbs.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ unnest_tsibble <- function(data, cols, key = NULL, validate = TRUE) {
184184
abort("`data` contains no tsibble object.")
185185
}
186186
if (missing(cols)) {
187-
abort("Argument `cols` is required.")
187+
abort("Argument `cols` for columns to unnest is required.")
188188
}
189189
if (utils::packageVersion("tidyr") > "0.8.3") {
190190
unnested_data <- unnest(as_tibble(data), cols = !! enquo(cols))

0 commit comments

Comments
 (0)