This function is a wrapper for openxlsx2::wb_workbook(), but also sets the base font and adds an info sheet including e.g. the time it was created.

create_wb(
  font_size = 10,
  font_name = "Arial",
  infosheet = TRUE,
  infosheet_label = "BioMath GmbH",
  ...,
  fontSize = deprecated(),
  fontName = deprecated(),
  infosheetlabel = deprecated()
)

Arguments

font_size

font size

font_name

Name of a font

infosheet

Should an info sheet be created?

infosheet_label

Label for the info sheet

...

Other arguments passed to openxlsx2::wb_workbook()

fontSize

[Deprecated] Use font_size.

fontName

[Deprecated] Use font_name.

infosheetlabel

[Deprecated] Use infosheet_label.

Value

Workbook object (see {openxlsx2})

Examples

wb1 <- create_wb()

wb2 <- create_wb(infosheet = FALSE)