Skip to content

Commit a0baf9f

Browse files
committed
- enframe() no longer works for data frames."
This reverts commit 3f6f9da.
1 parent 559fb5a commit a0baf9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/enframe.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ enframe <- function(x, name = "name", value = "value") {
2828
x <- logical()
2929
}
3030

31-
if (!vec_is(x)) {
31+
# FIXME: Enable again for data frames, add test
32+
if (!vec_is(x) || is.data.frame(x)) {
3233
cnd_signal(error_enframe_must_be_vector(x))
3334
}
3435

0 commit comments

Comments
 (0)