kebabCase: Kebab case

Description Usage Arguments Details Value Note Examples

Description

Format character strings to use kebab-style formatting, where word boundaries are defined by dashes/hyphens (e.g. this-is-kebab-case).

Usage

1
kebabCase(object, ...)

Arguments

object

Object.

...

Additional arguments.

Details

Kebab case is recommended for URL slugs and file names. However, they should not be used for names in R, since dashes are not valid, and should be substituted with underscores or periods instead.

Value

Modified object.

Note

We're not including the additional S4 methods that work on names() and/or dimnames() because dashes are not syntactically valid for names in R.

Examples

1
showMethods("kebabCase")

acidgenomics/AcidGenerics documentation built on Sept. 13, 2021, 1:03 p.m.