← Back to all sparks
H

huito

INFRA · APIS
Velocity0.0

Reproducible and Flexible Label Design

A label designer for field research keeps chasing the gap between screen and printed page.

label-designfield-researchpdf-outputggplot2reproducible-tools
Current state
huito builds printable labels and tags from R, aimed at field research where every plot and sample needs one. Version 0.2.6 tracks the current ggplot2 release, lets image options be passed as a list, and extends include_text() with a prefix argument and font face control. Releases are infrequent and each is small.
Where it's heading
Almost every change in the feed is about the physical output rather than the API: printing exactly one page when the label set is short, avoiding quality loss when an image is rotated into the PDF, real-size hexagons for stickers, borders suppressed with width zero. That is the right preoccupation for a package whose result is measured with a ruler, and it is why the notes read as small even when the fix matters. The remaining work tracks ggplot2, which the package renders through.
Prediction
Expect continued ggplot2 compatibility releases and more control over element placement and typography. Nothing suggests a change in what the package is for.

Recent moves

  1. 10mo ago

    Tracks current ggplot2; text gains prefix and font face

    A compatibility and typography release: the package moves to the current ggplot2, image options can be passed as a list, and include_text() takes a prefix plus plain, bold or italic font faces. Published within two minutes of GerminaR 2.1.6 from the same maintainer, so the two are one maintenance push.

    View source ↗
  2. 2y ago

    Fixes quality loss when rotating images into PDF

    A single fix, and a characteristic one for this package: rotating an image no longer degrades it in the PDF output. Narrow, but it is the difference between a label that scans and one that does not.

    View source ↗
  3. 3y ago

    CRAN submission housekeeping and Zenodo link

    A combined body covering 0.2.2 and 0.2.1: vignette updates, a package title change, a new logo, a Zenodo connection and CRAN comment fixes. Housekeeping around a CRAN submission with no functional change.

    View source ↗
  4. 4y ago

    Real-size hexagon stickers and column-driven arguments

    Two changes that matter for the printed result: include_shape() produces hexagons at true size for stickers, and label_print() accepts width zero to suppress borders. Arguments can also be driven dynamically from data columns, which is what makes a label sheet generated per row rather than per design.

    View source ↗
  5. 4y ago

    Short label sets now print a single page

    Internal improvements to label_print() plus a fix so short label sets produce a single page rather than more. Small output-fidelity work of the kind that fills this feed.

    View source ↗
  6. 4y ago

    No font loaded by default; fieldbook dataset bundled

    Mostly defaults and examples: no font is loaded automatically any more, label_layout() returns a tibble, a fieldbook dataset is bundled, and label_print() stops writing into tempdir(). The font change is the one users would notice.

    View source ↗