0

Partly related to this issue but I do not have Rstudio open. I run R CMD build in terminal on macOS 11.6.8 and R version 4.2.1 (2022-06-23). Then I run R CMD check --as-cran on that source file and get:

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

I have not had this issue before and have tried all of the following in .Rbuildignore:

[.]DS_Store$
\\.DS_Store$
^.*\.DS_Store$
^\.DS_Store$

With no avail. I suppose the issue is because there is a .DS_Store file in one of the subdirectories but grep("^.*\\.DS_Store$", dir(all.files = TRUE, recursive = TRUE), value = TRUE) does find the .DS_Store files.

Before I had only ^\.DS_Store$ in .Rbuildignore and it worked fine.

What am I doing wrong? Has anyone else experienced similar problems lately?

Mikko
  • 7,530
  • 8
  • 55
  • 92
  • The note went a away even though I did not update anything. Not entirely sure, but possible that this was caused my git cache. `git rm -r --cached .` possibly solved the issue. – Mikko Sep 21 '22 at 06:10

0 Answers0