Skip to content

jinjar

Template Engine Inspired by 'Jinja'

v0.3.2 · Mar 12, 2025 · MIT + file LICENSE

Description

Template engine powered by the 'inja' C++ library. Users write a template document, using syntax inspired by the 'Jinja' Python package, and then render the final document by passing data from R. The template syntax supports features such as variables, loops, conditions and inheritance.

Downloads

CRAN

5.5K

Last 30 days

1565th

13.5K

Last 90 days

63.4K

Last year

Trend: +48.6% (30d vs prior 30d)

r2u CRAN

29

Last 30 days

140

Last 90 days

548

Last year

Trend: -34.1% (30d vs prior 30d)

autoCRAN

3

Last 7 days

20

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

37

Last 30 days

142

Last 90 days

964

Last year

Trend: -52.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

foreign function calls

Warning in file(open = "w+") :
  cannot open file '/tmp/Rtmp1704pW/Rf21628f158bca90': No space left on device
Error in file(open = "w+") : cannot open the connection
Calls: <Anonymous> -> .load_namespace_quietly -> .try_quietly -> file
Execution halted
See chapter ‘System and foreign language interfaces’ in the ‘Writing R
Extensions’ manual.
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.4Mb
  sub-directories of 1Mb or more:
    libs   7.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.6Mb
  sub-directories of 1Mb or more:
    libs   7.3Mb

Code

Structure

Lines of code

33,945

Files

60

Compiled share

92.3%

Has compiled src

Yes

Language breakdown

R 631 (1.9%)C/C++/src 31,348 (92.3%)Tests 969 (2.9%)Docs 296 (0.9%)Vignettes 701 (2.1%)

API

Exported functions

7

Internal functions

30

Recent export changes

v0.2.0+1 parse_template

Testing & CI

Has tests

Yes

Test-to-code ratio

1.54

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

25%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2021-10-28

Latest release

2025-03-13

Avg cadence

185 days

Cold removal rate

Dep drift

2

LOC over versions

v0.1.0: 32,704 LOCv0.1.1: 32,703 LOCv0.2.0: 32,971 LOCv0.3.0: 33,755 LOCv0.3.1: 33,945 LOCv0.3.2: 33,945 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (4)

imports

suggests

Dependency Network

Dependencies Reverse dependencies cli fs jsonlite rlang rbmi sqltargets arl emayili jinjar

Version History

7 tracked
new 0.3.2 Mar 10, 2026
updated 0.3.2 ← 0.3.1 diff Mar 12, 2025
updated 0.3.1 ← 0.3.0 diff Oct 31, 2023
updated 0.3.0 ← 0.2.0 diff Jul 22, 2022
updated 0.2.0 ← 0.1.1 diff Jun 24, 2022
updated 0.1.1 ← 0.1.0 diff Apr 30, 2022
new 0.1.0 Oct 27, 2021