Skip to contents

Check the optional warm-start feature environment

Usage

warm_start_python_status(schema = "writing_features_v1", python = NULL)

Arguments

schema

The frozen schema identifier, currently "writing_features_v1".

python

Optional path to an existing Python interpreter. With NULL, use an existing environment selected through reticulate. Automatic environment creation is disabled. Conflicting interpreter selections require correction or a fresh R session; this function never switches an initialized interpreter.

Value

A list with available, python, expected, observed, and problems. Availability requires the pinned versions, resource contents, and pipeline capabilities. Missing prerequisites are reported without throwing an error; malformed arguments or missing installed metadata are errors.

Details

This explicitly invoked check may initialize reticulate's Python interpreter and load the spaCy model to verify its capabilities. It never installs software or downloads resources. Once Python is initialized, selecting a different interpreter requires restarting R. Use reticulate::use_virtualenv() or reticulate::use_condaenv() with required = TRUE before this call, or supply python directly. See the installed python/README.md for explicit setup.

Examples

if (FALSE) { # \dontrun{
warm_start_python_status(python = "/path/to/venv/bin/python")
} # }