From d0bcd8febd833ce2ce32cec82b264339676acd31 Mon Sep 17 00:00:00 2001 From: Trang Le Date: Mon, 22 Dec 2025 11:04:46 -0500 Subject: [PATCH] closes #220 --- R/utils.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/utils.R b/R/utils.R index da79a07..c155580 100644 --- a/R/utils.R +++ b/R/utils.R @@ -195,7 +195,7 @@ process_paper_authors <- function(authorships) { } authors_ls <- lapply(authorships, function(l) { l_author <- if (length(l$author)) { - replace_w_na(l$author) + replace_w_na(l$author, NA_character_) } else { empty_list(names(l$author)) }