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

View source: R/helpers.R

basename2R 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()


PredictiveEcology/reproducible documentation built on April 14, 2024, 3:14 p.m.