Displaying 2 results from an estimated 2 matches for "vc_dir_names_re".
2018 Dec 06
0
Dealing with .git folder when using R CMD INSTALL
...t seems .metadata (eclipse) is in the same category.
.vc_dir_names <-
c("CVS", ".svn", ".arch-ids", ".bzr", ".git", ".hg", "_darcs", ".metadata")
## and RE version (beware of the need for escapes if amending)
.vc_dir_names_re <-
"/(CVS|\\.svn|\\.arch-ids|\\.bzr|\\.git|\\.hg|_darcs|\\.metadata)(/|$)"
(and many more similar places in the sources)
These have been auto-ignored by R CMD build for a loooooong time. Are you
maybe making the mistake of installing from a _directory_ as opposed to first
creati...
2018 Dec 06
5
Dealing with .git folder when using R CMD INSTALL
Dear all,
quite a few package tools depend on R CMD INSTALL today for rapid testing
of a package, eg:
- devtools::install()
- BiocCheck::BiocCheck()
I've noticed that at least BiocCheck() doesn't ignore version control
folders like .git. Trying to find out why this was, lead me to R CMD
INSTALL.
I know this R CMD build ignores these files and folders by default, but R
CMD INSTALL