Skip to content

Commit

Permalink
remove branch (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand authored Oct 21, 2024
1 parent 05f519b commit bea228a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,7 @@ recycle_common <- function(..., size = NULL, call = caller_env()) {
n <- setdiff(n, 1L)
ns <- length(n)

if (ns == 0) { # All have length 1
if (is.null(size)) {
return(xs)
}
} else if (ns == 1) {
if (ns == 1) {
if (is.null(size)) {
size <- n
} else if (n != size) {
Expand Down

0 comments on commit bea228a

Please sign in to comment.