ensure_aigra_python: Ensure 'AIGRA' 'Python' Environment

View source: R/aigra-python.R

ensure_aigra_pythonR Documentation

Ensure 'AIGRA' 'Python' Environment

Description

Creates or repairs the 'Python' virtual environment used by the 'AIGRA' backend.

Usage

ensure_aigra_python(
  backend_path = NULL,
  python_version = "3.11",
  force = FALSE,
  install_providers = TRUE,
  verbose = FALSE
)

Arguments

backend_path

Path to the 'AIGRA' backend folder. If NULL, the AIGRA_BACKEND_PATH environment variable is used.

python_version

'Python' version to use with 'uv'.

force

If TRUE, recreate the virtual environment.

install_providers

If TRUE, install provider packages.

verbose

If TRUE, show progress messages.

Value

A list with 'Python' environment information.

Examples

# This function creates or repairs a backend environment,
# so the example only inspects the function interface.
names(formals(ensure_aigra_python))

AIGRA documentation built on July 10, 2026, 5:06 p.m.