list_of_paths_to_basenames: Extracts and concatenates (possibly multiple) basenames from...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Basenames are concatenated if there are multiple paths per input.

Usage

1

Arguments

paths

A list of character vectors representing file or url paths.

Value

The basenames as a flattened character vector.

Examples

1
2
paths <- list('a/b.w', c('c/d.x', 'e/f.y'), 'g/h.z')
list_of_paths_to_basenames(paths)

charlieccarey/monarchr documentation built on May 11, 2018, 3:15 a.m.