Skip to content

Commit 69150b6

Browse files
jasonad123claude
andauthored
fix: preserve newlines in multi-feed table display (#20)
cli::cli_inform() collapses embedded newlines, breaking the tibble table formatting when multiple feeds match. Switch to message() which is equally CRAN-compliant (routes to stderr/message stream) and faithfully preserves the preformatted table output. https://claude.ai/code/session_0198TAubxxGQdmyftSHnhy6s Co-authored-by: Claude <noreply@anthropic.com>
1 parent b264c59 commit 69150b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/integration-tidytransit.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ download_feed <- function(feed_id = NULL,
370370
# Display a clean table of options via message stream
371371
feed_summary <- feeds[, c("id", "provider", "feed_name", "status")]
372372
msg <- utils::capture.output(print(feed_summary))
373-
cli::cli_inform(paste(msg, collapse = "\n"))
373+
message(paste(msg, collapse = "\n"))
374374

375375
cli::cli_abort(c(
376376
"x" = "Multiple feeds found. Please specify which one to download.",

0 commit comments

Comments
 (0)