Henrik Bengtsson
2010-Nov-02 22:53 UTC
[Rd] inst/ and hidden files/directories, especially inst/.svn/?
In Section 'Package subdirectories' of 'Writing R Extensions', it says about the inst/ directory that: "The contents of the inst subdirectory will be copied recursively to the installation directory (except perhaps hidden files with names starting with ?.?)." Indeed, on Windows with R v2.12.0 patched (2010-11-01 r53513) and R v2.13.0 devel (2010-11-01 r53513), if you have: foo/inst/bar/.bar/foo.txt that subdirectory .bar/ will be included in the *.tar.gz and *.zip builds. However, .svn/ is as in: foo/inst/bar/.svn/foo.txt is only included in the *.zip file, not the *.tar.gz file. Is this expected? The "perhaps" in the documentation indicates that. /Henrik
Uwe Ligges
2010-Nov-03 16:50 UTC
[Rd] inst/ and hidden files/directories, especially inst/.svn/?
Yes, ".svn" is special cased. Uwe Ligges On 02.11.2010 23:53, Henrik Bengtsson wrote:> In Section 'Package subdirectories' of 'Writing R Extensions', it > says about the inst/ directory that: > > "The contents of the inst subdirectory will be copied recursively to > the installation directory (except perhaps hidden files with names > starting with ?.?)." > > Indeed, on Windows with R v2.12.0 patched (2010-11-01 r53513) and R > v2.13.0 devel (2010-11-01 r53513), if you have: > > foo/inst/bar/.bar/foo.txt > > that subdirectory .bar/ will be included in the *.tar.gz and *.zip > builds. However, .svn/ is as in: > > foo/inst/bar/.svn/foo.txt > > is only included in the *.zip file, not the *.tar.gz file. > > Is this expected? The "perhaps" in the documentation indicates that. > > /Henrik > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
Maybe Matching Threads
- Possibility for memory improvement: x <- as.vector(x) always(?) duplicates
- R CMD build processes inst/doc/Makefile only if there are vignette files?
- R for Windows FAQ: Minor comment on "32- and 64-bit" installation paths
- Help with RGL package problem
- Cases of TAB-completion that hang Rterm