Skip to content

Commit

Permalink
fix: map is not defined in the standalone file
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Oct 4, 2024
1 parent 4476cd8 commit 01a4913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/standalone-vctrs.R
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ vec_ptype_common <- function(xs, ptype = NULL) {
if (length(xs) == 1) {
out <- vec_ptype(xs[[1]])
} else {
xs <- map(xs, vec_ptype)
xs <- lapply(xs, vec_ptype)
out <- Reduce(vec_ptype2, xs)
}

Expand Down

0 comments on commit 01a4913

Please sign in to comment.