Package: leanknit 0.0.0.9000

leanknit: A 'knitr' Engine for Lean 4 Proof Chunks

Provides a 'knitr' language engine that compiles and checks Lean 4 code chunks against a 'lake' project, capturing proof output (including the result of '#print axioms') into rendered documents. Modeled on the 'duckknit' engine. Because a failing Lean check fails the render, a generated document cannot claim a proof that does not actually check. Also provides install_lean() to provision a Lean toolchain through 'elan', in the spirit of torch::install_torch().

Authors:Sounkou Mahamane Toure [aut, cre]

leanknit_0.0.0.9000.tar.gz
leanknit_0.0.0.9000.zip(r-4.7)leanknit_0.0.0.9000.zip(r-4.6)leanknit_0.0.0.9000.zip(r-4.5)
leanknit_0.0.0.9000.tgz(r-4.6-any)leanknit_0.0.0.9000.tgz(r-4.5-any)
leanknit_0.0.0.9000.tar.gz(r-4.7-any)leanknit_0.0.0.9000.tar.gz(r-4.6-any)
leanknit_0.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
leanknit/json (API)
NEWS

# Install 'leanknit' in R:
install.packages('leanknit', repos = c('https://sounkou-bioinfo.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sounkou-bioinfo/leanknit/issues

On CRAN:

Conda:

2.70 score 6 scripts 11 exports 8 dependencies

Last updated from:0fc77e836c. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK97
source / vignettesOK170
linux-release-x86_64OK112
macos-release-arm64OK94
macos-oldrel-arm64OK96
windows-develOK67
windows-releaseOK76
windows-oldrelOK68
wasm-releaseOK113

Exports:eng_leanfind_lakeinstall_leanlean_sitreplean_versionleanknit_availableleanknit_example_projectleanknit_execleanknit_get_sessionleanknit_list_sessionsleanknit_start_session

Dependencies:evaluatehighrknitrprocessxpsR6xfunyaml

Checking Lean proofs in knitr documents

Rendered fromleanknit.Rmdusingknitr::rmarkdownon Jun 11 2026.

Last update: 2026-06-10
Started: 2026-06-10