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.

Getting started

Package details

AuthorMarek Deja [aut, cre, cph]
MaintainerMarek Deja <marek.deja@uj.edu.pl>
LicenseGPL (>= 3)
Version1.0.3
URL https://tok-lang-bpm.github.io/  https://github.com/tok-lang-bpm/tok 
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("tokr")

Try the tokr package in your browser

Any scripts or data that you put into this service are public.

tokr documentation built on Nov. 26, 2026, 5:08 p.m.