Dear Dr. Schwartz, Yes, I have done the R CMD check pkgName_X.1.tar.gz. (after exactly pointed out by Prof. Dalgaard) Now, everything is ok. Thank you very much for the explanation about the .DS_Store files. I learned many new things from asking this in to the mailing list. Since I am new in using Mac terminal. Many thanks ...
With kind regards, Ema ________________________________ From: Marc Schwartz <[email protected]> Cc: peter dalgaard <[email protected]>; Prof Brian Ripley <[email protected]>; "[email protected]" <[email protected]> Sent: Wednesday, August 7, 2013 3:17 PM Subject: Re: [R-SIG-Mac] hidden files and directories You should be running R CMD check on the package *tarball*, not on the source folder tree. So: Â R CMD check pkgName_X.1.tar.gz or perhaps: Â R CMD check --as-cran pkgName_X.1.tar.gz after running: Â R CMD build pkgName to create the source tarball. The output regarding the .DS_Store files is a NOTE regarding the package folder tree, not on the tarball contents and is not a warning or an error. Don't worry about .DS_Store or other version control system files (eg. for SVN or Git) as they will be ignored when building the package tarball, as R excludes them by default. Other hidden files however, may be problematic, so you should avoid explicitly creating them, just as you should remove other non-essential files that may have been created by editors, GUIs, etc. that should not be part of the source package content. More generally, don't worry about the .DS_Store files on OSX. They contain metadata that is useful for Finder and are arguably an annoyance, but that's about it. There are parallel files on other OS's as well. Regards, Marc Schwartz > > > Dear All, > > Apologise for late reply. I tried to clean some files from my laptop and it > took time. > > Prof. Ripley: I already checked it and untarbut it still produces the > .DS_Store > Dr. Hansen: I did it as follows: R CMD build pkgName, then R CMD install > pkgName_X.1.tar.gz and R CMD check pkgName. > After the last step, the results was >Â > NOTE: There was 1 note. > See >Â â/Users/rfajriyah/Desktop/pkgName.Rcheck/00check.logâ > for details. > > It because of this : > * checking for hidden files and directories ... NOTE > Found the following hidden files and directories: >Â .DS_Store >Â man/.DS_Store > These were most likely included in error. See section âPackage > structureâ in the âWriting R Extensionsâ manual. > > The man/Rapp.history is gone now, after I deleted it manually. > > I suppose, I need to know how to clean the .DS_Store from my laptop. > > Prof. Dalgaard Prof. Winsemius: if I type defaults write com.apple.Finder > AppleShowAllFiles TRUE in terminal session, yes, I can see the .DS_Store by > using ls or Finder.app. > > But still don't know how to clear/remove it. > > Many thanks for all your respond and suggestion. > > With kind regards, > Ema > > > ________________________________ > From: peter dalgaard <[email protected]> > To: Prof Brian Ripley <[email protected]> > Cc: David Winsemius <[email protected]>; "[email protected]" <r- > Sent: Tuesday, August 6, 2013 2:55 PM > Subject: Re: [R-SIG-Mac] hidden files and directories > > > > On Aug 6, 2013, at 08:06 , Prof Brian Ripley wrote: > >>> >>> Those files would both be invisible when using the Finder.app unless you >>> used ls in a terminal session, but I guess you figured that out >> >> invisible *by default*: it is a Finder setting. >> > > They're trying their damndest to hide it, though. It's only settable by > "defaults write ..." in a Terminal. (And if you know how to do that, you > might as well be using "ls".) > > -- > Peter Dalgaard, Professor > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 2000 Frederiksberg, Denmark > Phone: (+45)38153501 > Email: [email protected]Â Priv: [email protected] > Â Â Â [[alternative HTML version deleted]] > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
