Skip to content

Commit

Permalink
Resolve tidyverse#140.
Browse files Browse the repository at this point in the history
- Test for frame_matrix() basic functionalities
- Extract the code that parses tribble(...) arguments. Re-use that code for both tribble and frame_matrix
  • Loading branch information
Anh Le committed Oct 9, 2016
1 parent 00a63e7 commit ee23b5f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/tribble.R
Expand Up @@ -77,9 +77,7 @@ extract_data <- function(...) {
i <- 1
while (TRUE) {
if (i > length(dots)) {
out <- rep(list(logical()), length(frame_names))
names(out) <- frame_names
return(as_tibble(out))
return(list(frame_names = frame_names, frame_rest = NULL))
}

el <- dots[[i]]
Expand Down

0 comments on commit ee23b5f

Please sign in to comment.