Syntax Highlighter
Overview
Syntax highlighter for R code based on the results of the R parser. Rendering in HTML and latex markup. Custom Sweave driver performing syntax highlighting of R code chunks.
- Remove C++11 requirement
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 21includes a package overview page
- Examples that run
- 33%3 run in a plain check · 6 never run
- Exported functions with examples
- 42%
- Documented parameters
- 94%
- Return-value docs
- 89%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/hadley/highlight on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing highlight adds no packages beyond those that come with R.
Code & Tests
People & History
Maintainer since 0.1-3 (2009)
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.5.2Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.5.12023-01-18 · diff ↗
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2019-12-15
- 0.5.02019-12-15 · diff ↗
- 0.4.7.42019-12-14 · diff ↗
- 0.4.7.32019-12-01 · diff ↗
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.4.7.22017-10-04 · diff ↗
Show 32 earlier eventsHide 32 earlier events
- RR 3.4.0 released · 2017-04-21
- orphanedOrphaned by its maintainer2017-03-21long-standing errors were not corrected. NMU by CRAN team. Further NMUs 2017-10-04 and 2019-12-01
- 0.4.7.12017-03-21 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 0.4.72015-04-20 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 0.4.52015-04-15 · diff ↗ ·
removed 6 exports
dummy_detective, getStyleFile, pattern:_latex$, pattern:_html$, pattern:_verbatim$, highlight.httpd.handleradded 16 exports
boxes_latex, footer_html, footer_latex, formatter_html, formatter_latex, header_html, header_latex, newline_html, newline_latex, renderer_html, renderer_latex, space_html, space_latex, styler_assistant_latex, translator_html, translator_latex - RR 3.1.0 released · 2014-04-10
- 0.4.42013-12-16 · diff ↗
- 0.4.32013-06-20 · diff ↗
- 0.4.2
- 0.4.12013-04-09 · diff ↗
- 0.4.02013-04-08 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 0.3.22012-06-22 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 0.3.12011-12-05 · diff ↗
- 0.3.0
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- 0.2-52010-12-07 · diff ↗
- 0.2-32010-11-19 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 0.2-22010-08-01 · diff ↗
- 0.2-12010-06-04 · diff ↗
- 0.2-02010-06-01 · diff ↗
- 0.1-92010-05-28 · diff ↗
- 0.1-8
- RR 2.11.0 released · 2010-04-22
- 0.1-72010-02-15 · diff ↗
- 0.1-32009-11-22
- RR 2.10.0 released · 2009-10-26
Package metadata
- First published
- 2009-11-22
- Total releases
- 26 / 17 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.2
- Download size
- 347 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("highlight")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-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.