Skip to content

downlit

0.4.5Package record

Syntax Highlighting and Automatic Linking

5packages dependsuggested by 8
2.1Mdownloads / year
81.1%test coverage
13/13flavors OK

Overview

About

Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pkgdown', 'hugodown', and 'bookdown'. It includes linking of function calls to their documentation on the web, and automatic translation of ANSI escapes in output to the equivalent HTML.

Changes in 0.4.5
  • Fix broken test

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-release-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-05
  • WARNING12 OK, 1 WARNING2026-07-04
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE13 OK, 1 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.4.5
READMEYes · 366 wordsVignettesNoNEWSYes · 100% structured · mentions 0.4.5Citation fileNoWebsiteYes · pkgdown
Help pages
8 (2 internal)includes a package overview page
Examples that run
100%6 run in a plain check (2 of them under a condition)
Exported functions with examples
86%
Documented parameters
64%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.1M
CRAN downloads in the past year
Rank #288 · ~5.8K/day · ~176.3K/mo
Daily download trend is not available in this view yet.
122.6K30 days
395.6K90 days
2.1M1 year
Compare downloads with other packages →
Also on119K r2u2 autocran229.6K conda_forge109 c2d4u

Repository

90Stars
27Forks
36Open issues
7Open PRs
9Releases
256Commits
16Commit identities
rsyntax-highlighting
256 commits · Last activity 2026-07-06 · Default branch at 0.4.5.9000, ahead of CRAN 0.4.5 (checked 2026-10-25)
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
16
Median days to close, 50 most recently updated closed PRs
1

Forks over time

2026-07-14 · 272026-08-20 · 27
PracticesBeta

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

Checks run against github.com/r-lib/downlit on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (1)
Code of conduct
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-07-06 · The repository has a site deploy workflow

pkgdown site last built 2025-11-14

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (4)
Lint workflowAirVS CodeRStudio 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 2026-07-06
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing downlit adds 16 packages (10 with compiled code, 3.9 MB of source tarballs). Heaviest: vctrs 1.0 MB, rlang 766 KB, fansi 670 KB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
5direct
82indirect
Imports 5
Suggested by 8
Show all 13 packagesHide all 13 packages
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (2)
Author, Maintainer since 0.1.0 (2020)
Copyright holder, Funder · added in 0.4.4
Listed in earlier versions (1)
RStudio
no longer listed · 0.1.0 to 0.4.3
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.5Latest
    record
    2025-11-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.4
    record
    2024-06-10 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.3
    record
    2023-06-30 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.2
    record
    2022-07-05 · diff ↗
  • 0.4.1
    record
    2022-06-24 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    record
    2021-10-29 · diff ↗ ·
    added 2 exports
    href_package, is_low_change
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.1
    record
    2020-11-04 · diff ↗
  • 0.2.0
    record
    2020-09-25 · diff ↗
  • 0.1.0
    record
    2020-09-01
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-09-01
Total releases
9 / 6 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.0.0
Download size
36 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("downlit")
Wickham, H., & Posit Software, PBC. (2025). downlit: Syntax Highlighting and Automatic Linking (Version 0.4.5) [Computer software]. https://doi.org/10.32614/CRAN.package.downlit

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 downlit version 0.4.5 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, 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