[Rd] overriding built in Rbuildignore values
Dr Gregory Jefferis
je||er|@ @end|ng |rom mrc-|mb@c@m@@c@uk
Thu Aug 7 20:23:34 CEST 2025
Dear All,
Is there a way to override the default entries in
tools::get_exclude_patterns()
When checking an R package.
R 4.5.1 now has an entry
"\\.sw.$"
Instead of
"\\.swp$"
In earlier versions. This was associated with https://github.com/wch/r-source/commit/7bc89c8ab13003238d4b2e6f732a8a537255031d / SVN commit 87718 which hoped to exclude private emacs/vim files.
Unfortunately the change also catches *.swc files – the standard format for representing the shape of neurons in neuroscience which are used for tests in my package https://cran.r-project.org/package=nat.
Many thanks for any pointers,
Greg.
PS @Dirk Eddelbuettel if you'll forgive me, I am ccing directly as looks like the patch was yours.
--
Gregory Jefferis
Division of Neurobiology
MRC Laboratory of Molecular Biology
Francis Crick Avenue
Cambridge Biomedical Campus
Cambridge, CB2 OQH, UK
http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis
http://jefferislab.org
https://www.zoo.cam.ac.uk/research/groups/connectomics
More information about the R-devel
mailing list