Syntax Highlighting for R Source Code
Overview
Provides syntax highlighting for R source code. Currently it supports LaTeX and HTML output. Source code of other languages is supported via Andre Simon's highlight package (https://gitlab.com/saalen/highlight).
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-30
- ERROR12 OK, 1 ERROR2026-05-28
- OK14 OK2026-03-10
Documentation
- Help pages
- 2
- Examples that run
- 50%1 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- 90%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/yihui/highr on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
The repository owner accepts GitHub Sponsors
This repository shows signs of AI coding tools.
- GitHub Copilotfirst seen 2026-03-05Seen in the repository: .github/workflows/copilot-setup-steps.ymlPull request: opened by its own accountCommits: 1 by its own account · at least 1 crediting it in the message
Dependencies
Installing highr adds 1 package (1 with compiled code, 224 KB of source tarballs). Heaviest: xfun 224 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.12Latest
- RR 4.5.0 released · 2025-04-11
- 0.112024-05-26 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.102022-12-22 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.92021-04-16 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.82019-03-20 · diff ↗
- 0.72018-06-09 · diff ↗
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
Show 13 earlier eventsHide 13 earlier events
- 0.62016-05-09 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.5.12015-09-18 · diff ↗
- 0.52015-04-21 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.4.12015-03-29 · diff ↗
- 0.42014-10-23 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 0.32013-10-26 · diff ↗
- 0.2.12013-07-30 · diff ↗
- 0.22013-07-29 · diff ↗
- 0.12013-07-09
- RR 3.0.0 released · 2013-04-03
Package metadata
- First published
- 2013-07-09
- Total releases
- 15 / 13 yrs
- License
- GPL
- Minimum R
- ≥ 3.3.0
- Download size
- 13 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("highr")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.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.