list_files: list files, including hidden ones, in a directory

Description Usage Arguments Value

Description

list files, including hidden ones, in a directory

Usage

1
2
list_files(path = ".", all.files = TRUE, recursive = TRUE,
  no.. = TRUE, ..., normalize = FALSE, must_work = TRUE)

Arguments

path

a character vector of full path names; the default corresponds to the working directory, Default: '.'

all.files

a logical value. If FALSE, only the names of visible files are returned. If TRUE, all file names will be returned., Default: TRUE

recursive

logical. Should the listing recurse into directories?, Default: TRUE

no..

logical. Should both "." and ".." be excluded also from non-recursive listings?, Default: TRUE

...

args to pass to dir()

normalize

whether to convert file paths to canonical form for the platform, Default: FALSE

must_work

logical: if TRUE then an error is given if the result cannot be determined; if NA then a warning., Default: TRUE

Value

vector of file paths


dpastoor/devutils documentation built on May 15, 2019, 1:21 p.m.