From 01a49133c7f214d8714c741dc97ed566a326f56a Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Fri, 4 Oct 2024 21:00:13 +0900 Subject: [PATCH 1/2] fix: `map` is not defined in the standalone file --- R/standalone-vctrs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/standalone-vctrs.R b/R/standalone-vctrs.R index 70b2e43ff..662cea3d3 100644 --- a/R/standalone-vctrs.R +++ b/R/standalone-vctrs.R @@ -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) } From 6fb02706ccf3bd957544c87bc4f4a2e9eaee2054 Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Fri, 4 Oct 2024 21:04:56 +0900 Subject: [PATCH 2/2] docs: update the last-updated field --- R/standalone-vctrs.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/standalone-vctrs.R b/R/standalone-vctrs.R index 662cea3d3..7bf89dc54 100644 --- a/R/standalone-vctrs.R +++ b/R/standalone-vctrs.R @@ -1,7 +1,7 @@ # --- # repo: r-lib/rlang # file: standalone-vctrs.R -# last-updated: 2021-08-27 +# last-updated: 2024-10-04 # license: https://unlicense.org # ---