Skip to contents

Provides migration guidance for legacy code patterns.

Usage

migrate_pattern(pattern)

Arguments

pattern

The legacy pattern to migrate from.

Value

A list with old_pattern, new_pattern, and example.

Examples

if (FALSE) { # \dontrun{
# Get migration guidance for ChatSession
guidance <- migrate_pattern("ChatSession")
cat(guidance$example)
} # }