check_ast_safety: Check AST Safety

View source: R/utils_ast.R

check_ast_safetyR Documentation

Check AST Safety

Description

Analyze R code for unsafe function calls or operations before execution.

Usage

check_ast_safety(code_str)

Arguments

code_str

Character string containing R code.

Value

The parsed AST if safe. Throws an error if unsafe.


aisdk documentation built on May 29, 2026, 9:07 a.m.