Skip to content

Commit

Permalink
REVERT ME: Break for data frames for compatibility with codebook
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jul 23, 2021
1 parent f02b7c3 commit 885c191
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/enframe.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ enframe <- function(x, name = "name", value = "value") {
x <- logical()
}

if (!vec_is(x)) {
# FIXME: Enable again for data frames, add test
if (!vec_is(x) || is.data.frame(x)) {
cnd_signal(error_enframe_must_be_vector(x))
}

Expand Down

0 comments on commit 885c191

Please sign in to comment.