Skip to content

pikchr

1.1.1Package record

R Wrapper for 'pikchr' (PIC) Diagram Language

0packages depend
6.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.1.1

Bug fixes

  • Fixed a memory leak in the C interface (pikchr_c): the SVG buffer returned by pikchr() was never freed, leaking on every diagram render.
  • Guarded the C interface against a possible NULL return from pikchr() that could crash the R session.
  • Fixed the height argument default in pikchr(), which never fell back to the SVG viewBox height and produced an empty height: CSS rule.
  • Aligned the documented argument defaults of pikchr() (width, height, fontSize, fontFamily, align) with the actual function defaults.

Other

  • Regenerated the package logo with a geometrically regular hexagon (the previous SVG was horizontally squished) and fixed an invalid <def> element (now <defs>) in the logo source.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-10
Show 2 earlier changesHide 2 earlier changes
  • WARNING12 OK, 1 WARNING2026-05-09
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.1
READMEYes · 741 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 1.1.1Citation fileNoWebsiteYes · pkgdown
Help pages
9 (7 internal)
Examples that run
100%1 run in a plain check (under a condition)
Exported functions with examples
100%
Documented parameters
89%
Return-value docs
100%
Help pages citing references
0%

Downloads

6.1K
CRAN downloads in the past year
Rank #15,357 · ~17/day · ~505/mo
Daily download trend is not available in this view yet.
27330 days
80190 days
6.1K1 year
Compare downloads with other packages →
Also on378 r2u5 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
59Commits
1Commit identities
59 commits · Last activity 2026-09-29
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-10-01 · 12026-07-07 · 1
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/strategicprojects/pikchr on 2026-10-21.

Continuous integration (1)
GitHub Actions
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-29 · The repository has a site deploy workflow

pkgdown site last built 2026-09-29

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-06-14
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude, CLAUDE.md
    Commits: at least 13 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 6 from outside contributors, first on 2026-06-14
Models named in its commits
  • Claude Opus 4.810 commits · Jun 2026
  • Claude Opus 5.53 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing pikchr adds 19 packages (14 with compiled code, 16 MB of source tarballs). Heaviest: stringi 11 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (1)
R >= 4.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (7)
Author, Maintainer since 0.97 (2024)
Author · added in 1.1.0
Author · added in 1.1.0
Author · added in 1.1.0
Contributor
Contributor
Releases (6)

Pick two releases to compare their code metrics.

Package metadata

First published
2024-09-30
Total releases
6 / 2 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.0
Bundled data
12 KB / 1 file
Download size
1.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pikchr")
Leite, A., Amorin, C., Bezerra, D., Hipp, R., Kernighan, B., Vaconcelos, H., & Wasilew, M. (2026). pikchr: R Wrapper for 'pikchr' (PIC) Diagram Language (Version 1.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.pikchr

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for pikchr version 1.1.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy