[R-SIG-Mac] Does R CMD check create invisible files?

Kasper Daniel Hansen kasperdanielhansen at gmail.com
Fri Dec 16 15:38:59 CET 2016


I am using a mac and I have never seen these files.  My best bet is that it
is hidden files from your text editor, and that - for example -
._DESCRIPTION is an autosave of DESCRIPTION.  Emacs does that, but would
name it DESCRIPTION~.  So I would like into your editor.  R removes certain
files automatically (like the Emacs autosave) when it runs R CMD build, but
it seems you need to start using .Rbuildignore.

Best,
Kasper

On Fri, Dec 16, 2016 at 6:44 AM, cstrato <cstrato at aon.at> wrote:

> Dear all,
>
> On my Mac running Yosemite I zip my package:
>
>    $ tar czf xps_1.35.1.tar.gz xps
>
> The directoy 'xps' does not contain any hidden files!
>
> However, when I run:
>
>    $ R CMD check xps_1.35.1.tar.gz
>
> I get:
> ...
> * checking for hidden files and directories ... NOTE
> Found the following hidden files and directories:
>   .BBSoptions
>   ._.BBSoptions
>   ._ACKNOWLEDGMENT
>   ._DESCRIPTION
> ...
> etc
>
> When I unzip my package using:
>
>    $ tar xvfz xps_1.35.1.tar.gz xps
>
> there are still no hidden files!
>
>
> However, the src directory created by R CMD check, i.e.
>
> CS-iMac:CRAN cstrato$ cd xps.Rcheck/00_pkg_src/xps/
> CS-iMac:xps cstrato$ ls -al
> total 504
> drwxr-xr-x   40 cstrato  staff   1360 Dec 16 10:30 .
> drwxr-xr-x    4 cstrato  staff    136 Dec 16 10:29 ..
> -rw-r--r--    1 cstrato  staff     26 Sep 30 23:33 .BBSoptions
> -rw-r--r--    1 cstrato  staff    181 Sep 30 23:33 ._.BBSoptions
> -rw-r--r--    1 cstrato  staff    181 Sep 30 23:33 ._ACKNOWLEDGMENT
> -rw-r--r--    1 cstrato  staff    181 Dec 16 10:20 ._DESCRIPTION
> -rw-r--r--    1 cstrato  staff    181 Dec 16 10:26 ._NAMESPACE
>
> does indeed contain hidden files from all my files!
>
>
> Can anybody explain this behavior and tell me how to avoid this behavior?
>
>
> Here are my infos:
>
> > Sys.info()
> sysname
> "Darwin"
> release
> "14.5.0"
> version
> "Darwin Kernel Version 14.5.0: Sun Sep 25 22:07:15 PDT 2016;
> root:xnu-2782.50.9~1/RELEASE_X86_64"
> nodename
> "CS-iMac.local"
> machine
> "x86_64"
> login
> "_spotlight"
> user
> "cstrato"
> effective_user
> "cstrato"
>
> > sessionInfo()
> R version 3.3.2 (2016-10-31)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> Running under: OS X Yosemite 10.10.5
>
> locale:
> [1] C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
>
> Thank you in advance
> Best regards,
> Christian
> _._._._._._._._._._._._._._._._._._
> C.h.r.i.s.t.i.a.n   S.t.r.a.t.o.w.a
> V.i.e.n.n.a           A.u.s.t.r.i.a
> e.m.a.i.l:        cstrato at aon.at
> _._._._._._._._._._._._._._._._._._
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list