Fixed a devtools check() issue

This commit is contained in:
bwilliams committed 2026-01-27 14:48:48 +00:00
1 parent b03c2691cd
commit 4db4efabae
1 file changed
+4 -4
+4 -4
View File
@@ -80,17 +80,17 @@ printDebug <- function(fn_name, table, key, tbl, rows, query_only = FALSE) {
return_keys <- NULL
if (key %in% colnames(rows)) {
return_keys <- rows %>%
return_keys <- rows |>
dplyr::select(key)
} else {
return_keys <- rows %>%
dplyr::bind_rows(tibble::tibble(!!key := character(0))) %>%
return_keys <- rows |>
dplyr::bind_rows(tibble::tibble(!!key := character(0))) |>
dplyr::mutate(
!!key := dplyr::coalesce(
!!!dplyr::sym(key),
paste0("<<NEW_ID::", round(stats::runif(1, 1, 100000)), ">>")
)
) %>%
) |>
dplyr::select(key)
}
return(invisible(return_keys))