tokr: Process Models in the Plain-Text Language 'tok'

Reads, checks, formats and exports process models written in 'tok', a plain-text language for Business Process Model and Notation (BPMN) 2.0 processes with their Decision Model and Notation (DMN) decisions, 'Camunda' forms and simulation parameters. Models are checked against the rules of BPMN 2.0, with diagnostics in English or Polish, and exported to BPMN files with a diagram layout, Scalable Vector Graphics (SVG) pictures, DMN and form files; they are drawn in the viewer and in 'R Markdown' and 'Quarto' documents through a 'knitr' engine. Processes are simulated as discrete-event models, giving indicators, an event log for process mining and a table of cases. The work is done by the 'Rust' engine of 'tok', shared with its 'Python' package and command line tool.

Version: 1.0.3
Depends: R (≥ 4.2)
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-11-26
DOI: 10.32614/CRAN.package.tokr
Author: Marek Deja [aut, cre, cph]
tokr author details
Maintainer: Marek Deja <marek.deja at uj.edu.pl>
BugReports: https://github.com/tok-lang-bpm/tok/issues
License: GPL (≥ 3)
Copyright: Marek Deja; the authors of the bundled Rust crates listed in inst/AUTHORS.
URL: https://tok-lang-bpm.github.io/, https://github.com/tok-lang-bpm/tok
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc >= 1.88
Materials: README, NEWS
CRAN checks: tokr results

Documentation:

Reference manual: tokr.html , tokr.pdf

Downloads:

Package source: tokr_1.0.3.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: tokr_1.0.3.zip
macOS binaries: r-release (arm64): tokr_1.0.3.tgz, r-oldrel (arm64): tokr_1.0.3.tgz, r-release (x86_64): tokr_1.0.3.tgz, r-oldrel (x86_64): tokr_1.0.3.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=tokr to link to this page.