Skip to content

Commit 82be09b

Browse files
Apply suggestions from code review
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3ef97ea commit 82be09b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

R/across.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ across <- function(.cols, .fns, ..., .names = NULL, .unpack = FALSE) {
236236
stop_input_type(.unpack, "`TRUE`, `FALSE`, or a single string")
237237
}
238238

239-
if (
240-
is_string(.unpack)) {
239+
if (is_string(.unpack)) {
241240
unpack_spec <- .unpack
242241
.unpack <- TRUE
243242
} else {

R/bind-cols.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ bind_cols <- function(
3131
dots <- list2(...)
3232

3333
dots <- list_flatten(
34-
dots, recursive = TRUE)
34+
dots,
35+
recursive = TRUE
36+
)
3537
dots <- discard(dots, is.null)
3638

3739
# Strip names off of data frame components so that vec_cbind() unpacks them

0 commit comments

Comments
 (0)