Skip to content

Commit 885c191

Browse files
committed
REVERT ME: Break for data frames for compatibility with codebook
rubenarslan/codebook#68, CC @rubenarslan
1 parent f02b7c3 commit 885c191

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/enframe.R

+2-1
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)