## Create a new workbook
wb <- wb_load(file = system.file("extdata", "loadExample.xlsx", package = "openxlsx2"))
## remove any custom row heights in rows 1 to 10
wb$remove_row_heights(1, rows = 1:10)
Run the code above in your browser using DataLab