powered by
Provides migration guidance for legacy code patterns.
migrate_pattern(pattern)
A list with old_pattern, new_pattern, and example.
The legacy pattern to migrate from.
# \donttest{ if (interactive()) { # Get migration guidance for ChatSession guidance <- migrate_pattern("ChatSession") cat(guidance$example) } # }
Run the code above in your browser using DataLab