Skip to content

openxlsx

Read, Write and Edit xlsx Files

v4.2.8.1 · Oct 30, 2025 · MIT + file LICENSE

Description

Simplifies the creation of Excel .xlsx files by providing a high level interface to writing, styling and editing worksheets. Through the use of 'Rcpp', read/write times are comparable to the 'xlsx' and 'XLConnect' packages with the added benefit of removing the dependency on Java.

Downloads

CRAN

401.5K

Last 30 days

156th

1.3M

Last 90 days

5.1M

Last year

Trend: -14.4% (30d vs prior 30d)

r2u CRAN

826

Last 30 days

2.8K

Last 90 days

11.9K

Last year

Trend: -3.6% (30d vs prior 30d)

autoCRAN

22

Last 7 days

160

Last 30 days

7

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

conda-forge CRAN

6K

Last 30 days

18.9K

Last 90 days

79.9K

Last year

Trend: -0.9% (30d vs prior 30d)

bioconda CRAN

13

Last 30 days

249

Last 90 days

986

Last year

Trend: -85.1% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.5Mb
  sub-directories of 1Mb or more:
    extdata   1.2Mb
    libs      5.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.2Mb
  sub-directories of 1Mb or more:
    extdata   1.2Mb
    libs      4.8Mb
ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/openxlsx.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.5Mb
  sub-directories of 1Mb or more:
    extdata   1.2Mb
    libs      5.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.2Mb
  sub-directories of 1Mb or more:
    extdata   1.2Mb
    libs      4.8Mb
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is  7.5Mb
  sub-directories of 1Mb or more:
    extdata   1.2Mb
    libs      5.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is  7.2Mb
  sub-directories of 1Mb or more:
    extdata   1.2Mb
    libs      4.8Mb

Code

Structure

Lines of code

34,889

Files

241

Compiled share

10.3%

Has compiled src

Yes

Language breakdown

R 18,132 (52%)C/C++/src 3,586 (10.3%)Tests 7,368 (21.1%)Docs 4,964 (14.2%)Vignettes 839 (2.4%)

API

Exported functions

87

Internal functions

130

Recent export changes

v4.2.7+4 auto_heights, getWindowSize, get_worksheet_entries +1 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.41

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

29.1%

\dontrun example ratio

5.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

7.8%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

26

First release

2014-02-06

Latest release

2025-10-31

Avg cadence

134 days

Cold removal rate

100%

Dep drift

7

LOC over versions

v1.0.3: 8,989 LOCv2.0.1: 10,786 LOCv2.0.15: 11,868 LOCv2.2.1: 13,742 LOCv2.4.0: 17,680 LOCv3.0.0: 20,891 LOCv4.0.0: 24,300 LOCv4.0.17: 25,898 LOCv4.1.0: 27,313 LOCv4.1.0.1: 27,313 LOCv4.1.2: 28,297 LOCv4.1.3: 28,299 LOCv4.1.4: 43,378 LOCv4.1.5: 44,283 LOCv4.2.2: 45,261 LOCv4.2.3: 45,382 LOCv4.2.4: 32,408 LOCv4.2.5: 33,028 LOCv4.2.5.1: 33,028 LOCv4.2.5.2: 33,028 LOCv4.2.6: 33,584 LOCv4.2.6.1: 33,582 LOCv4.2.7: 34,648 LOCv4.2.7.1: 34,751 LOCv4.2.8: 34,889 LOCv4.2.8.1: 34,889 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (283)

imports

AHPWR AeroEvapR BLMEngineInR BayesianFitForecast BeeBDC BiostatsUHNplus CDSS CLME COINr CUFF CbKST CoTiMA CohortPlat ComBatFamQC D4TAlink.light DDESONN DIDmultiplegtDYN DIVINE DeSciDe DedooseR EvalTest FastRet GRShiny GTAPViz GWASinspector HARplus HadamardR Holomics IDEATools JDCruncheR KHQ KLINK LDAShiny LLSR LatSquare LifeInsureR LitFetchR MFO MHCtools MLMOI MLmorph MainExistingDatasets MetAlyzer MixStable NSMM NetSurvProx NormData ORFID OenoKPM One4All OpenRepGrid OpenRepGrid.ic OralOpioids PhenoSpectra PhotoGEA QTL.gCIMapping QTL.gCIMapping.GUI RALSA REDCapDM RGAP RJafroc Rtrack SEERaBomb SNPannotator SeroTrackR SimtablR Spectran StablePopulation TestAnaAPP TestGenerator aLBI act actfts aelab agena.ai agrobox anabel aoristic aquodom authordown autoGO baizer bibliometrix biodosetools blrm bulkreadr bursa cancerradarr cats compareDF condformat conmet dQTG.seq datadictionary dataframeexplorer datazoom.amazonia defineR deident do eCerto earthUI easysurv editData emdi episomer espadon estadistica export exvatools fasstr genekitr gerbil gmoTree htrSPRanalysis hybridEHR idcnrba ie2misc interca isoorbi ispdata istat izmir joinXL jsmodule jstager kidney.epi kmeRtone knitxl kutils lares leakr lessR libr lulab.utils macrocol mbX mcmsector mimsy mpindex netknitr odk openNCAI oreo presenter psidR pxmake qdap qualitycontrol rADA rCoreGage repana reproducer saeTrafo samr scaledescr sccca scimetr scorecard sdtmchecks searchAnalyzeR seasonalview sherlock shinypivottabler sistec sov splitr survout tabbitR tablespan tablexlsx tall tatoo tidyplate tigerhitteR tsg umx upstartr uteals varitas vaxineR vennDiagramLab wizaRdry xlr zoomGroupStats

Dependency Network

Dependencies Reverse dependencies Rcpp stringi zip AntibodyTiters BayesBP EpiSimR MacBehaviour coefa tablaxlsx uscoauditlog xlsx2dfs AHPWR AeroEvapR BLMEngineInR BayesianFitForecast BeeBDC BiostatsUHNplus CDSS +268 more reverse deps openxlsx

Version History

27 tracked
new 4.2.8.1 Mar 10, 2026
updated 4.2.8.1 ← 4.2.8 diff Oct 30, 2025
updated 4.2.8 ← 4.2.7.1 diff Jan 24, 2025
updated 4.2.7.1 ← 4.2.7 diff Sep 19, 2024
updated 4.2.7 ← 4.2.6.1 diff Aug 29, 2024
updated 4.2.6.1 ← 4.2.6 diff Jul 22, 2024
updated 4.2.6 ← 4.2.5.2 diff Jul 22, 2024
updated 4.2.5.2 ← 4.2.5.1 diff Feb 5, 2023
updated 4.2.5.1 ← 4.2.5 diff Oct 23, 2022
updated 4.2.5 ← 4.2.4 diff Dec 13, 2021
updated 4.2.4 ← 4.2.3 diff Jun 15, 2021
updated 4.2.3 ← 4.2.2 diff Oct 26, 2020
updated 4.2.2 ← 4.1.5 diff Sep 16, 2020
updated 4.1.5 ← 4.1.4 diff May 5, 2020
updated 4.1.4 ← 4.1.3 diff Dec 5, 2019