Skip to contents

Collapse the input to a PATH string.

Usage

collapseToPathString(x)

Arguments

x

character. Elements to combine into a path string.

Value

character(1).

Note

Updated 2021-08-23.

Examples

collapseToPathString(c("/usr/local/bin", "/usr/bin"))
#> [1] "/usr/local/bin:/usr/bin"