Learn R Programming

reproducible (version 1.1.1)

basename2: A version of base::basename that is NULL resistant

Description

Returns NULL if x is NULL, otherwise, as basename.

Usage

basename2(x)

Arguments

x

A character vector of paths

Value

Same as basename