validate_python_shinylive_installed: Validate the Python shinylive package CLI is usable

View source: R/validate-python.R

validate_python_shinylive_installedR Documentation

Validate the Python shinylive package CLI is usable

Description

Mirrors the command preference used by convert_py_to_shinylive(): first the shinylive console script on PATH, then ⁠python -m shinylive⁠ as a fallback. Runs --version to confirm the CLI actually executes (an import check is not enough – shinylive ships no ⁠__main__.py⁠, so a package that imports fine can still fail at export time).

Usage

validate_python_shinylive_installed()

Value

Invisible character string with the detected shinylive version.


shinyelectron documentation built on Dec. 3, 2026, 9:07 a.m.