From 35f5e3ab5a8b647aab85f8e449bd60b393aceea7 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Thu, 28 May 2026 22:47:14 -0700 Subject: [PATCH] Use base NA sentinels to avoid undeclared rlang dependency --- R/broom_utils.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/broom_utils.R b/R/broom_utils.R index 7903a45..dd4d8be 100644 --- a/R/broom_utils.R +++ b/R/broom_utils.R @@ -68,9 +68,9 @@ as_tidy_tibble <- function(x, new_names = NULL, new_column = "term") { } na_types_dict <- list("r" = NA_real_, - "i" = rlang::na_int, + "i" = NA_integer_, "c" = NA_character_, - "l" = rlang::na_lgl) + "l" = NA) # a function that converts a string to a vector of NA types. # e.g. "rri" -> c(NA_real_, NA_real_, rlang::na_int)