list_file_details_cleanly: List file information in a "tidy" fashion

Description Usage Arguments Details Value

View source: R/files.R

Description

Custom wrapper for list.files().

Usage

1
2
list_file_details_cleanly(dir = getwd(), rgx = ".", recursive = FALSE,
  ..., reorder = TRUE, keep_all = FALSE, cols_exclude = c("mode", "exe"))

Arguments

dir

character. Direct paramater to pass to path argument of list.files().

rgx

charager. (Regular expression.) Direct paramater to pass to pattern argument of list.files().

recursive

logical. Direct paramater to pass to list.files().

...

dots. Additional parameters to pass to list.files(). (Not actually implement.)

reorder

logical. Indicates whether to move path column to last column (for more optimal printing).

keep_all

logical. Indicates whether to keep all of the list.files() columns.

cols_exclude

character (vector). Columns to exclude.

Details

Columns are renamed to replicate those output bye fs::file_info function.

Value

data.frame


aelhabr/teutils documentation built on May 7, 2019, 7:59 a.m.