Skip to content

Commit 3ba62b6

Browse files
committed
fix any_of
1 parent a6f095f commit 3ba62b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/tidyr_methods.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ unnest_summarized_experiment <- function(data, cols, ...,
130130

131131
# Attach back the columns used for nesting
132132
.data_ %>%
133-
select(-!!cols, -suppressWarnings( any_of(s_(my_se)$name, f_(my_se)$name))) %>%
133+
select(-!!cols, - any_of(c(s_(my_se)$name, f_(my_se)$name))) %>%
134134
slice(rep(as.integer(.y), ncol(.x) * nrow(.x))),
135135

136136
# Column sample-wise or feature-wise
137137
column_belonging =
138138
source_column[
139139
.data_ %>%
140-
select(-!!cols, -suppressWarnings( any_of(s_(my_se)$name, f_(my_se)$name))) %>%
140+
select(-!!cols, - any_of(c(s_(my_se)$name, f_(my_se)$name))) %>%
141141
colnames()
142142
]
143143
)

man/bind_rows.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)