present_files: Presenting results of files and last modification time in a...

View source: R/get_info_files.R

present_filesR Documentation

Presenting results of files and last modification time in a printed table using 'kable()'

Description

Presenting results of files and last modification time in a printed table using 'kable()'

Usage

present_files(repo = ".", path = "R", recursive = TRUE, untracked = TRUE)

Arguments

repo

git repository

path

Default to R folder. Use "" for the complete directory

recursive

Logical. Should the listing recurse into directories?

untracked

Logical. Should the not tracked files be included?

Value

A 'kable()' output to be included in a markdown file

Examples

repo <- fake_repo(as.package = TRUE)
cat(present_files(repo))

gitdown documentation built on March 18, 2022, 6:01 p.m.