Skip to content

highr

Syntax Highlighting for R Source Code

v0.12 · Mar 5, 2026 · GPL

Description

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>).

Downloads

1.1M

Last 30 days

44th

3.3M

Last 90 days

11.8M

Last year

Trend: +8.5% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (11)

Dependency Network

Dependencies Reverse dependencies xfun explor knitr questionr rainette rasciidoc shinyCohortBuilder usedthese irace manifestoR multiverse repr highr

Version History

new 0.12 Mar 10, 2026
updated 0.12 ← 0.11 diff Mar 5, 2026
updated 0.11 ← 0.10 diff May 25, 2024
updated 0.10 ← 0.9 diff Dec 21, 2022
updated 0.9 ← 0.8 diff Apr 15, 2021
updated 0.8 ← 0.7 diff Mar 19, 2019
updated 0.7 ← 0.6 diff Jun 8, 2018
updated 0.6 ← 0.5.1 diff May 8, 2016
updated 0.5.1 ← 0.5 diff Sep 17, 2015
updated 0.5 ← 0.4.1 diff Apr 20, 2015
updated 0.4.1 ← 0.4 diff Mar 28, 2015
updated 0.4 ← 0.3 diff Oct 22, 2014
updated 0.3 ← 0.2.1 diff Oct 25, 2013
updated 0.2.1 ← 0.2 diff Jul 29, 2013
updated 0.2 ← 0.1 diff Jul 28, 2013
new 0.1 Jul 8, 2013