get_file_paths: Return file paths of files matching a pattern in a directory

View source: R/helper_fun.R

get_file_pathsR Documentation

Return file paths of files matching a pattern in a directory

Description

File names are sorted using gtools::mixedsort().

Usage

get_file_paths(path, pattern, fn_name, fname, verbose = FALSE)

Arguments

path

The directory to search in

pattern

A pattern to match file names

fn_name

The vortexR function name for verbose messages

fname

Name of file name root

verbose

Progress messages, default: FALSE

Value

A character vector of fully qualified file paths


carlopacioni/vortexR documentation built on May 6, 2022, 12:07 p.m.