| migrate_pattern | R Documentation |
Provides migration guidance for legacy code patterns.
migrate_pattern(pattern)
pattern |
The legacy pattern to migrate from. |
A list with old_pattern, new_pattern, and example.
if (interactive()) {
# Get migration guidance for ChatSession
guidance <- migrate_pattern("ChatSession")
cat(guidance$example)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.