Skip to content

Commit

Permalink
remove branch
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Oct 21, 2024
1 parent a7038fc commit a6707c9
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 a6707c9

Please sign in to comment.