sanitize_excel_sheet_names: Sanitize excel sheet names

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Convert a vector to valid excel sheet names by:

[ ]: R:

Usage

1

Arguments

x

a vector (or anything that can be coerced to one via as.character()).

replace

a scalar character to replace illegal characters with

Value

a character vector of valid excel sheet names

Examples

1
2
3
4
5
6
sanitize_excel_sheet_names(
  c("a very: long : vector? containing some illegal characters",
    "a very: long : vector? containing some illegal characters")
)

  # [1] "a very_ long  vector_ containi0" "a very_ long  vector_ containi1"

tatoo documentation built on May 1, 2019, 9:52 p.m.