Skip to contents

Adds a global .gitgnore file to the package. File based on default .gitignore provided by GitHub.

Usage

add_global_gitgnore(pkg = ".")

Arguments

pkg

Path to a (subdirectory of an) R package.

Value

Invisible, and writes a global .gitignore file

Examples

if (FALSE) { # \dontrun{
add_global_gitgnore()
} # }