Skip to contents

Formats the report without including local paths or environment values. Does not write files.

Usage

audit_markdown(report)

Arguments

report

A report from audit_python().

Value

A character vector of Markdown lines. Review before sharing.

Examples

lines <- audit_markdown(audit_python(tempdir()))
cat(paste(lines, collapse = "\n"))
#> # Python selection preflight
#> 
#> Intent: inspect
#> reticulate: 1.47.0
#> 
#> ## Environment hints
#> 
#> | Variable | Set | Mode |
#> | --- | --- | --- |
#> | RETICULATE_PYTHON | FALSE | unset |
#> | RETICULATE_PYTHON_ENV | FALSE | unset |
#> | RETICULATE_USE_MANAGED_VENV | FALSE | unset |
#> | VIRTUAL_ENV | FALSE | unset |
#> | RETICULATE_PYTHON_FALLBACK | FALSE | unset |
#> | WORKON_HOME | FALSE | unset |
#> 
#> ## Project markers
#> 
#> | Marker | Present |
#> | --- | --- |
#> | .venv | FALSE |
#> | venv | FALSE |
#> | .virtualenv | FALSE |
#> | virtualenv | FALSE |
#> | pyproject.toml | FALSE |
#> | Pipfile | FALSE |
#> | renv.lock | FALSE |
#> | .Rprofile | FALSE |
#> | .Renviron | FALSE |
#> | r-reticulate (virtualenv root) | FALSE |
#> 
#> ## Findings
#> 
#> No visible conflict detected. This does not establish that Python will work.
#> 
#> Visible hints only. No interpreter discovery, runtime selection proof, dependency validation, or automatic fixes.
#> 
#> Local paths, environment values, startup-file contents, and package requirements are omitted. Review before sharing.