Skip to content

Commit

Permalink
fixing "invalid argument to unary operator"
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilHvitfeldt committed Apr 7, 2018
1 parent 0766d5a commit a07d2b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion R/nest_paragraphs.R
Expand Up @@ -21,7 +21,7 @@ nest_paragraphs <- function(data, input, ...) {
bind_rows(
replicate(
length(sections[[.x]]),
dplyr::select(data, -quo_input)[.x, ],
dplyr::select(data, -which(names(data) == quo_input))[.x, ],
simplify = FALSE)
)
)
Expand Down
5 changes: 0 additions & 5 deletions vignettes/different-features.Rmd
Expand Up @@ -122,8 +122,3 @@ nest_paragraphs(data = tinderbox_paragraph, input = text) %>%
nest_paragraphs(tinderbox_paragraph, text, width = 40) %>%
head()
```





0 comments on commit a07d2b5

Please sign in to comment.