Ignore specific files by git and R build.
Examples
datapackage_skeleton(name="test",path = tempdir())
#> ✔ Creating '/tmp/Rtmp91YS0s/test/'
#> ✔ Setting active project to '/tmp/Rtmp91YS0s/test'
#> ✔ Creating 'R/'
#> ✔ Writing 'DESCRIPTION'
#> Package: test
#> Title: What the Package Does (One Line, Title Case)
#> Version: 0.0.0.9000
#> [email protected] (parsed):
#> * First Last <[email protected]> [aut, cre] (YOUR-ORCID-ID)
#> Description: What the package does (one paragraph).
#> License: `use_mit_license()`, `use_gpl3_license()` or friends to
#> pick a license
#> Encoding: UTF-8
#> Roxygen: list(markdown = TRUE)
#> RoxygenNote: 7.2.3
#> ✔ Writing 'NAMESPACE'
#> ✔ Setting active project to '/tmp/Rtmp91YS0s/datatest'
#> ✔ Setting active project to '/tmp/Rtmp91YS0s/test'
#> ✔ Added DataVersion string to 'DESCRIPTION'
#> ✔ Creating 'data-raw/'
#> ✔ Creating 'data/'
#> ✔ Creating 'inst/extdata/'
#> ✔ configured 'datapackager.yml' file
use_ignore("foo", ".")
#> ✔ Adding '^\\./foo$' to '.Rbuildignore'
#> ✔ Adding 'foo' to '.gitignore'