Learn R Programming

BERTopic (version 0.1.0)

.need_py: Check Python availability and required modules at runtime (lazy init)

Description

Tries to initialize reticulate to the configured env (Conda first, then virtualenv). Falls back to the default Python if the named env does not exist. Errors with a clear message if 'bertopic' is still not importable.

Usage

.need_py()

Arguments