Skip to contents

Maximum of 72 characters wide.

Usage

separator(
  sep = "=",
  times = min(c(getOption(x = "width", default = 72L), 72L))
)

Arguments

sep

character(1). Separator character.

times

integer(1). Number of times to repeat.

Value

character(1).

Details

Bioconductor HTML vignettes don't render correctly when printing > 76 characters, even though the default width is set at 80.

Note

Updated 2021-02-02.

Examples

separator(sep = "=", times = 10L)
#> [1] "=========="