Learn R Programming

BERTopic (version 0.1.0)

bertopic_self_check: Quick self-check for the BERTopic R interface

Description

Runs a quick end-to-end smoke test:

  • Report Python path/version.

  • Verify that bertopic is importable and report its version.

  • Minimal round trip: fit -> transform -> save -> load.

Usage

bertopic_self_check()

Arguments

Value

A named list with fields:

python_ok

Logical.

bertopic_ok

Logical.

roundtrip_ok

Logical.

details

Character vector of diagnostic messages.

Examples

Run this code
if (FALSE) {
bertopic_self_check()
}

Run the code above in your browser using DataLab