Skip to content

pikchr

R Wrapper for 'pikchr' (PIC) Diagram Language

v1.1.1 · Jun 14, 2026 · GPL (>= 2)

Description

An 'R' interface to 'pikchr' (<https://pikchr.org>, pronounced "picture"), a 'PIC'-like markup language for creating diagrams within technical documentation. Originally developed by Brian Kernighan, 'PIC' has been adapted into 'pikchr' by D. Richard Hipp, the creator of 'SQLite'. 'pikchr' is designed to be embedded in fenced code blocks of Markdown or other documentation markup languages, making it ideal for generating diagrams in text-based formats. This package allows R users to seamlessly integrate the descriptive syntax of 'pikchr' for diagram creation directly within the 'R' environment.

Downloads

CRAN

578

Last 30 days

6290th

1.9K

Last 90 days

7.2K

Last year

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

r2u CRAN

30

Last 30 days

131

Last 90 days

434

Last year

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

autoCRAN

8

Last 7 days

21

Last 30 days

1

All-time

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

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

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘Examples.Rmd’ using rmarkdown
Warning in file(con, "w") :
  cannot open file '/tmp/Rtmpfid0uG/rmarkdown-stra6ad51082dca1.html': No space left on device
Error: processing vignette 'Examples.Rmd
...[truncated]...
nection
--- failed re-building ‘Examples.Rmd’

--- re-building ‘userman.Rmd’ using rmarkdown
--- finished re-building ‘userman.Rmd’

SUMMARY: processing the following file failed:
  ‘Examples.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 10, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 9, 2026
WARNING r-devel-linux-x86_64-debian-gcc

PDF version of manual

LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

11,517

Files

35

Compiled share

72.2%

Has compiled src

Yes

Language breakdown

R 449 (3.9%)C/C++/src 8,316 (72.2%)Docs 255 (2.2%)Vignettes 2,497 (21.7%)

API

Exported functions

1

Internal functions

8

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

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

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2024-09-30

Latest release

2026-06-14

Avg cadence

119 days

Cold removal rate

Dep drift

5

LOC over versions

v0.97: 9,375 LOCv1.0: 11,085 LOCv1.0.1: 11,275 LOCv1.0.3: 11,347 LOCv1.1.0: 11,514 LOCv1.1.1: 11,517 LOC

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

Dependency Network

Dependencies Reverse dependencies cli knitr brio htmltools stringr rsvg pikchr

Version History

7 tracked
updated 1.1.1 ← 1.1.0 diff Jun 14, 2026
updated 1.1.0 ← 1.0.3 diff Apr 7, 2026
new 1.0.3 Mar 10, 2026
updated 1.0.3 ← 1.0.1 diff Sep 18, 2025
updated 1.0.1 ← 1.0 diff Mar 30, 2025
updated 1.0 ← 0.97 diff Dec 1, 2024
new 0.97 Sep 29, 2024