Learn R Programming

gitdown (version 0.1.6)

present_files: 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

Run this code
# NOT RUN {
repo <- fake_repo(as.package = TRUE)
cat(present_files(repo))
# }

Run the code above in your browser using DataLab