Skip to content

Commit

Permalink
Replace deprecated dots_splice() by list2()
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Mar 11, 2024
1 parent 6538fb2 commit 59113f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ unstructure <- function(x) {
}

compose <- function(...) {
fs <- lapply(dots_splice(...), match.fun)
fs <- lapply(list2(...), match.fun)
n <- length(fs)

last <- fs[[n]]
Expand Down

0 comments on commit 59113f0

Please sign in to comment.