basename2 {reproducible} | R Documentation |
A version of base::basename
that is NULL
resistant
Description
A version of base::basename
that is NULL
resistant
Usage
basename2(x)
Arguments
x |
A character vector of paths |
Value
NULL
if x is NULL
, otherwise, as basename
.
Same as base::basename()
[Package reproducible version 2.1.0 Index]