Skip to content

v1.13

Latest
Compare
Choose a tag to compare
@JanMarvin JanMarvin released this 15 Feb 17:36
· 3 commits to main since this release
8ec21d4

Release 1.13 is a particularly large update, bringing numerous improvements, fixes, and code cleanups.

Significant effort has gone into optimizing speed and memory usage, especially for larger workbooks. Several bottlenecks have been addressed, and internal file handling has been streamlined by skipping certain checks that previously triggered multiple interactions per cell with the R session. Through extensive benchmarking and profiling, we managed to reduce our internal cc data frame a few columns. Since this data frame contains information on all available cells in a worksheet, even entirely blank columns were consuming memory. Additionally, in the process of optimizing flexlsx, @pteridin reformatted the wb_add_border() function, preventing the creation of unnecessary borders.

On the Rcpp side, this release includes an updated version of the pugixml library and improvements to xlsb parsing. The Rcpp code has also undergone style cleanups, now loosely following a clang formatting style. Speaking of styles, many previously under-documented functions now include better descriptions of their arguments and provide guidance when unexpected input is detected. However, this also led to a breaking change: certain style objects now require wb_color() input, whereas earlier versions were more lenient. This change has affected the rempsyc and correlation packages, causing revdep issues that are not yet resolved in CRAN releases. Users of these packages may want to wait for the next correlation update on CRAN. (The affected code was originally written in 2022, and it’s impressive that it remained functional through nearly two years of openxlsx2 updates!)

Also, we now have a hex icon!

A lot of time was spent on various bug fixes, cleanups, and minor improvements here and there. A number of the fixes and features were developed based on user requests and needs. If you find a bug, please let us know!

The 1.13 release is the 25th openxlsx2 release available on CRAN. Even though the package is now semi-stable, it is always a good idea to make regular backups and check the output files. A look at the issue tracker and the NEWs is highly recommended.

What's Changed

New Contributors

Full Changelog: v1.12...v1.13