Skip to content

liteformats

0.2.0Package record

Lightweight Output Formats for 'litedown'

0packages depend
657downloads / year
80.7%test coverage
13/13flavors OK

Overview

About

A collection of lightweight, minimalist output formats and templates for 'litedown' by Xie (2026) doi:10.32614/CRAN.package.litedown, including resumes, cover letters, and other common document types. Documents are rendered with HTML and CSS and can be printed to PDF with a 'Chromium'-based browser, without requiring 'Pandoc' or a 'LaTeX' installation.

Changes in 0.2.0

New features

  • Added liteformats::include_graphics() to embed local images as base64 data URIs in raw HTML that can be emitted directly from litedown code chunks. Added a bundled signature image to the cover letter starter (#20).

Bug fixes

  • Fixed overly aggressive resume pagination that treated complete experiences and list-based sections as indivisible, leaving large gaps at page bottoms. Resume entries now fill the available page and continue across pages at normal paragraph and list boundaries while retaining compact list indentation (#8).

Improvements

  • Simplified resume() and cover_letter() to four primary arguments. Secondary metadata, typography, pagination, and PDF controls now live in classed resume_options() and cover_letter_options() objects. The same internal option schema can be reused by future document formats, and the canonical YAML configuration is now checked for unknown names (#12).
Show all changes in 0.2.0Hide the rest of the changes in 0.2.0
  • Refactored opt-in Google Fonts loading to use bundled font metadata. Font family names now request the available weights and styles needed for regular, bold, italic, and bold-italic text, prefer variable weight and slant ranges, and omit unsupported combinations. Full CSS v2 URLs remain supported for custom axes and newer families. A maintainer script was added to refresh the catalog without Google API credentials (#10).
  • Matched resume section divider rules to LaTeX's 0.4 TeX point rule thickness, using a scaled rule to avoid Chromium's 1px minimum for CSS borders in PDF output (#21).

Documentation

  • Qualified the namespaces in code examples of the README so they become self-contained. Removed configuration, typography, and automation details and redirect to the vignette to reduce duplication (#14).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.2 min · r-release-macos-x86_64
Status changes
  • OK13 OKNow
  • OK8 OK2026-08-06
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 149 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsiteYes · pkgdown
Help pages
7 (1 internal)includes a package overview page
Examples that run
100%6 run in a plain check
Exported functions with examples
100%
Documented parameters
86%
Return-value docs
100%
Help pages citing references
0%

Downloads

657
CRAN downloads in the past year
Rank #20,300 · ~2/day · ~55/mo
Daily download trend is not available in this view yet.
18930 days
65790 days
6571 year
Compare downloads with other packages →
Also on24 r2u

Repository

1Stars
0Forks
2Open issues
0Open PRs
2Releases
65Commits
1Commit identities
litedownmarkdownrr-markdownreproducible-research
65 commits · Last activity 2026-09-14 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-08-05 · 02026-09-11 · 1
PracticesBeta

6 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/nanxstats/liteformats on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

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

pkgdown site last built 2026-09-14

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing liteformats adds 3 packages (2 with compiled code, 478 KB of source tarballs). Heaviest: xfun 224 KB, commonmark 144 KB, litedown 110 KB.

Depends (0)
none
Imports (2)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.1.0 (2026), Copyright holder
Contributor, Copyright holder · added in 0.2.0
google-font-metadata catalog
Contributor, Copyright holder
pages.js and pages.css libraries
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.0Latest
    record
    2026-08-05 · current release · diff ↗ ·
    added 3 exports
    cover_letter_options, include_graphics, resume_options
  • 0.1.0
    record
    first seen 2026-08-05
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First seen
2026-08-05
Total releases
2 / 1 yrs
License
MIT + file LICENSE OSI
Download size
68 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("liteformats")
Xiao, N., Ayuhito, & Xie, Y. (2026). liteformats: Lightweight Output Formats for 'litedown' (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.liteformats

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 liteformats version 0.2.0 [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