filenameify: Convert a string into a filename-friendly format.

Description Usage Arguments Value

View source: R/utilities.R

Description

Convert "+" to "pos" and "-" to "neg". Remove paranthesis. Convert any non-alphanumeric character to underscore.

Usage

1
filenameify(str, extension = NULL)

Arguments

str

A string.

extension

Optional: Filename extension.

Value

A filename-friendly format of that string.


astrolabediagnostics/orloj documentation built on May 20, 2021, 2:17 p.m.