Skip to content

condformat

Conditional Formatting in Data Frames

v0.10.1 · Oct 8, 2023 · BSD_3_clause + file LICENSE

Description

Apply and visualize conditional formatting to data frames in R. It renders a data frame with cells formatted according to criteria defined by rules, using a tidy evaluation syntax. The table is printed either opening a web browser or within the 'RStudio' viewer if available. The conditional formatting rules allow to highlight cells matching a condition or add a gradient background to a given column. This package supports both 'HTML' and 'LaTeX' outputs in 'knitr' reports, and exporting to an 'xlsx' file.

Downloads

905

Last 30 days

4034th

2.7K

Last 90 days

10.8K

Last year

Trend: -0.1% (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

Dependency Network

Dependencies Reverse dependencies dplyr gridExtra gtable (>= 0.2.0) htmlTable htmltools knitr (>= 1.20) magrittr openxlsx rmarkdown (>= 1.10) rlang scales tibble tidyselect condformat

Version History

new 0.10.1 Mar 10, 2026
updated 0.10.1 ← 0.10.0 diff Oct 7, 2023
updated 0.10.0 ← 0.9.0 diff Nov 25, 2022
updated 0.9.0 ← 0.8.0 diff May 13, 2020
updated 0.8.0 ← 0.7.0 diff Oct 28, 2018
updated 0.7.0 ← 0.6.0 diff Oct 18, 2017
updated 0.6.0 ← 0.5.0 diff May 17, 2017
updated 0.5.0 ← 0.4.0 diff Jan 22, 2017
updated 0.4.0 ← 0.2.0 diff Jul 24, 2016
new 0.2.0 Mar 6, 2016