proj_dir_info: Local directory information

View source: R/directories.R

proj_dir_infoR Documentation

Local directory information

Description

This provides a different take on fs::dir_info(), by default returning only a (hopefully useful) subset of the information.

Usage

proj_dir_info(
  path = ".",
  tz = "UTC",
  cols = c("path", "type", "size", "modification_time"),
  ...
)

Arguments

path

character path for directory listing.

tz

character Olson time-zone to use for datetimes; specify NULL to use system time-zone.

cols

character vector of column-names to return from fs::dir_info(); specify NULL to return all columns.

...

additional arguments passed to fs::dir_info().

Value

data.frame with S3 classes "tbl_df" and "tbl", aka a "tibble".

Examples

  proj_dir_info()

ijlyttle/projthis documentation built on Aug. 18, 2022, 11:25 a.m.