View source: R/suggest_rules.R
| deduplicate_warnings_suggestions | R Documentation |
Identifies and removes redundant warnings where the warning message duplicates information already provided in suggestions. Helps clean up verbose output by preferring actionable suggestions over warnings.
deduplicate_warnings_suggestions(
warnings,
suggestions,
similarity_threshold = 0.7
)
warnings |
Character vector of warning messages |
suggestions |
Character vector of suggestion messages |
similarity_threshold |
Similarity threshold for detecting duplicates (0-1) |
List with cleaned warnings and suggestions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.