tera: Generate Text and Documents with the Tera Templating Engine

The 'tera' package uses 'extendr' to provide access to Vincent Prouillet's 'Tera' templating engine in Rust. Users mainly interact with a Tera R6 object, which serves as a template library with encapsulated methods for rendering templates with a given context. Template syntax supports additional logic, including built-in filters, tests, and functions, as well as loops, conditions, and inheritance. Documentation for Tera's templating syntax can be found at <https://keats.github.io/tera/>.

Version: 0.1.0
Depends: R (≥ 4.2)
Imports: cli, R6, rlang (≥ 1.1.0), yyjsonr
Suggests: knitr, quarto, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-09-28
DOI: 10.32614/CRAN.package.tera (may not be active yet)
Author: Kenneth Blake Vernon ORCID iD [aut, cre, cph]
Maintainer: Kenneth Blake Vernon <kenneth.b.vernon at gmail.com>
License: MIT + file LICENSE
URL: https://github.com/kbvernon/tera-r, https://kbvernon.github.io/tera-r/
NeedsCompilation: yes
SystemRequirements: Cargo (Rust's package manager), rustc
Materials: README, NEWS
CRAN checks: tera results

Documentation:

Reference manual: tera.html , tera.pdf
Vignettes: tera (source, R code)

Downloads:

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

Linking:

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