R/wb.R

wb_initialise <- function(tab, wb, ws_name) {

  tab$wb <- wb

  if (!(sheetExists(tab$wb, ws_name))) {
    openxlsx::addWorksheet(tab$wb, ws_name, gridLines = FALSE)
  }

  tab
}

Try the xltabr package in your browser

Any scripts or data that you put into this service are public.

xltabr documentation built on May 2, 2019, 9:11 a.m.