From 01d50decbdfc021a220caa45d8d06419e8108abe Mon Sep 17 00:00:00 2001 From: Eli Pousson Date: Fri, 25 Aug 2023 21:27:04 -0400 Subject: [PATCH] fix: correct issue w/ integer nm for new_sf_list --- R/sf_list.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/R/sf_list.R b/R/sf_list.R index 13228e7..7803af8 100644 --- a/R/sf_list.R +++ b/R/sf_list.R @@ -104,7 +104,11 @@ new_sf_list <- function(x, .name_repair <- janitor::make_clean_names } - x <- set_names_repair(x, nm = nm, .name_repair = .name_repair) + x <- set_names_repair( + x, + nm = as.character(nm), + .name_repair = .name_repair + ) vctrs::new_list_of( x,