make_fn_portable {databraryr}R Documentation

Make Portable File Names

Description

Make Portable File Names

Usage

make_fn_portable(
  fn,
  vb = FALSE,
  replace_regex = "[ &\\!\\)\\(\\}\\{\\[\\]\\+\\=@#\\$%\\^\\*]",
  replacement_char = "_"
)

Arguments

fn

Databrary party ID

vb

A boolean value. If TRUE provides verbose output.

replace_regex

A character string. A regular expression to capture the "non-portable" characters in fn.

replacement_char

A character string. The character(s) that will replace the non-portable characters.

Value

A "cleaned" portable file name


[Package databraryr version 0.6.4 Index]