This function adds files/folders to the .rdepsignore file. The
.rdepsignore file is used by rdeps to ignore files or folders when
detecting dependencies. This plain text file contains a list of files/folders
to be ignored.
This file will be created if it does not exist and will be added to the
.Rbuildignore file.
