Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-05 Thread Jose Barrera
Dear Jeff, I am aware I don't need to be worried about those two warnings but many thanks anyway. Jose Barrera Statistician, Associate Lecturer *IS**Global* Barcelona Institute for Global Health - Campus MAR Barcelona Biomedical Research Park (PRBB) (Room Hypatia) Doctor Aiguader, 88 08003 Barc

Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-05 Thread Jose Barrera
Dear Duncan, .Rbuildignore is spelled correctly, and no non-ASCII characters in. All tools:::inRbuildignore(list.files(), ".") were FALSE, so I decided to rewrite .Rbuildignore from scratch, just in case there was any extra space. I think that was the problem because now tools:::inRbuildignore(li

Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-04 Thread Henrik Bengtsson
FYI, and in case others wonder or search for this later, the warnings: Warning: invalid uid value replaced by that for user 'nobody' Warning: invalid gid value replaced by that for user 'nobody' are harmless and has nothing to do with your problem reported here. It happens because on the system y

Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-04 Thread Duncan Murdoch
I don't have any strong suggestions. Things I'd look for: - is the .Rbuildignore filename spelled correctly? It was in your message, but maybe there's something different in the actual file on disk. Running file.exists(".Rbuildignore") should return TRUE if your working directory is the mai

Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-04 Thread Jose Barrera
Dear Duncan and Jeff, Yes, I see those files when tar xvf miclust_1.2.6.tar.gz. As usual, I am both building and checking in a terminal (outside RStudio): $ R CMD build miclust --resave-data * checking for file ‘miclust/DESCRIPTION’ ... OK * preparing ‘miclust’: * checking DESCRIPTION meta-infor

Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-04 Thread Jeff Newmiller
Don't run check against your development directory. Run it against the tar.gz file. On March 4, 2021 5:09:07 AM PST, Jose Barrera wrote: >Dear all, > >devtools::check() gives me the following NOTE: > >* Non-standard files/directories found at top level: > ‘README.Rmd’ ‘miclust.Rproj’ > >I ge

Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-04 Thread Duncan Murdoch
On 04/03/2021 8:09 a.m., Jose Barrera wrote: Dear all, devtools::check() gives me the following NOTE: * Non-standard files/directories found at top level: ‘README.Rmd’ ‘miclust.Rproj’ I get the same result with R CMD check --as-cran and R CMD check in a terminal. My .Rbuildignore includ

[R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-04 Thread Jose Barrera
Dear all, devtools::check() gives me the following NOTE: * Non-standard files/directories found at top level: ‘README.Rmd’ ‘miclust.Rproj’ I get the same result with R CMD check --as-cran and R CMD check in a terminal. My .Rbuildignore includes both ^.*\.Rproj$ and ^README\.Rmd$. I haven'