[R-SIG-Mac] hidden files and directories

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Aug 6 09:43:22 CEST 2013


On 06/08/2013 08:41, Rohmatul Fajriyah wrote:
> Dear Prof. Ripley and Prof. Winsemius,
>
> I have deleted the .Rapp.history (hope, it was all of them), but still
> got the same message when run the R CMD check PkgName.
> I'll shutdown the laptop, start a fresh session and will rename the R
> functions for the package and the package itself differently.
> Then I will see what happened and report it here.

You are supposed to check the tarball produced by R CMD build ....
>
> Many thanks for the respond and thoughts.
>
> With kind regards,
> Ema
>
>
> ------------------------------------------------------------------------
> *From:* Prof Brian Ripley <ripley at stats.ox.ac.uk>
> *To:* David Winsemius <dwinsemius at comcast.net>
> *Cc:* Rohmatul Fajriyah <rfajriyah at yahoo.com>; "r-sig-mac at r-project.org"
> <r-sig-mac at r-project.org>
> *Sent:* Tuesday, August 6, 2013 8:06 AM
> *Subject:* Re: [R-SIG-Mac] hidden files and directories
>
> On 06/08/2013 01:16, David Winsemius wrote:
>  >
>  > On Aug 5, 2013, at 5:00 PM, Rohmatul Fajriyah wrote:
>  >
>  >> Dear All,
>  >>
>  >> I tried to build an R package (from the terminal) and everything was
> ok until R CMD check PackageName and I got this message:
>  >> ......
>  >> * checking for hidden files and directories ... NOTE
>  >> Found the following hidden files and directories:
>  >>    .DS_Store
>  >>    man/.Rapp.history
>  >
>  > 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.
>
>  >
>  >> These were most likely included in error. See section ‘Package
>  >> structure’ in the ‘Writing R Extensions’ manual.
>  >> ......
>  >>
>  >> I, then:
>  >> a. went through the archives of this mailing list (until January
> 2011) and I could not find a similar problem.
>  >> (apologise, if I missed it)
>  >
>  > In 2008 it was reported in the NEWS for R 2.7.1 that:
>  >
>  >
> http://markmail.org/search/?q=list%3Aorg.r-project.r-help+DS_Store#query:list%3Aorg.r-project.r-help%20DS_Store+page:1+mid:cx3hryqssis2slx7+state:results
>  >
>  > o R CMD build tries harder to clean up the inst/doc directory from
> the remnants of earlier builds.
>  >
>  > It also removes any directories with extension .Rcheck, and files
> .DS_Store and ._* (created by tar on Mac OS X under some circumstances:
> it now sets environment variables to ask for such files not to be
> created by that tar.)
>  >
>  > So we need to ask if this was just a warning message. It appears that
> there are mechanisms in place to remove those files.
>  >
>  > (It's arguably an R-devel topic.)
>
> It seems the OP did not use R CMD build, rather R CMD check.
>
> But files like man/.Rapp.history will need to be removed manually.
>
>
>
>
> --
> Brian D. Ripley, ripley at stats.ox.ac.uk <mailto:ripley at stats.ox.ac.uk>
> Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,   Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                    +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list