git_ignore_outputs {rsf} | R Documentation |
Git ignore generated outputs
Description
Add generated reports, figures, and HTML libraries to .gitignore
Usage
git_ignore_outputs(path = ".", figs_only = TRUE)
Arguments
path |
path of the directory containing the input files |
figs_only |
logical; if |
Examples
wd <- tempdir()
savedir <- setwd(wd)
file.copy(list.files(system.file("extdata", package = "rsf"),
full.names = TRUE, all.files = TRUE, no.. = TRUE), ".")
file.rename("gitignore", ".gitignore")
git_ignore_outputs(figs_only = FALSE)
setwd(savedir)
[Package rsf version 0.3.0 Index]