By default, renv will read your project's .gitignores (if any) to
determine whether certain files or folders should be included when traversing
directories. If preferred, you can also create a .renvignore file (with
entries of the same format as a standard .gitignore file) to tell renv
which files to ignore within a directory. If both .renvignore and
.gitignore exist within a folder, the .renvignore will be used in lieu of
the .gitignore.
See https://git-scm.com/docs/gitignore for documentation on the
.gitignore format. Some simple examples here:
# ignore all R Markdown files
*.Rmd# ignore all data folders
data/
# ignore only data folders from the root of the project
/data/