Skip to content

Commit

Permalink
Remove dead code in df_list_propagate_missing() (#375)
Browse files Browse the repository at this point in the history
* remove redundant code

* remove redundant n
  • Loading branch information
martaalcalde authored Aug 15, 2024
1 parent e89fb18 commit 7bc0367
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,6 @@ df_list_propagate_missing <- function(x, ..., size = NULL) {
return(vec_unstructure(x))
}

n <- length(x)
out <- vector("list", length = n)
out <- set_names(out, names(x))

# Propagate missings
x <- vec_assign(x, incomplete, NA)

Expand Down

0 comments on commit 7bc0367

Please sign in to comment.