Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how can I stop r devtools::check() from noting .DS_Store

Tags:

r

devtools

Every time I run devtools::check() on my package it throws a note about:

> checking for non-standard things in the check directory ... NOTE
  Found the following files/directories:
    ‘.DS_Store’

My .Rbuildignore includes:

^.*\.Rproj$
^\.Rproj\.user$
^\.DS_Store$

How can I tell the check() to ignore the file?

like image 712
itsMeInMiami Avatar asked Nov 26 '25 07:11

itsMeInMiami


1 Answers

I restarted RStudio and it fixed itself. I have no idea why it didn't notice the changes in .Rbuildignore after the file was saved. I had saved and restarted the R session.

like image 188
itsMeInMiami Avatar answered Nov 28 '25 20:11

itsMeInMiami