Learn R Programming

aisdk (version 1.1.0)

check_sdk_compatibility: Check SDK Version Compatibility

Description

Check if code is compatible with the current SDK version and suggest migration steps if needed.

Usage

check_sdk_compatibility(code_version)

Value

A list with compatible (logical) and suggestions (character vector).

Arguments

code_version

Version string the code was written for.

Examples

Run this code
# \donttest{
if (interactive()) {
result <- check_sdk_compatibility("0.8.0")
if (!result$compatible) {
  cat("Migration needed:\n")
  cat(paste(result$suggestions, collapse = "\n"))
}
}
# }

Run the code above in your browser using DataLab