add_to_buildignore function

Add to the .Rbuildignore file