make_fn_portable: Make Portable File Names

View source: R/utils.R

make_fn_portableR 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


PLAY-behaviorome/databraryapi documentation built on April 29, 2024, 2:16 a.m.