File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 571571
572572 \i tem Error messages produced by \c ode{tools::parseLatex()} are
573573 now more readable (\P R{18855}).
574+
575+ \i tem \c ommand{R CMD build <pkg>} excludes more file patterns
576+ when it tars the <pkg> directory, fixing both \P R{18432} and
577+ \P R{18434}, for \c ommand{vim} and \c ommand{GNU Global}
578+ \c ommand{emacs} users, thanks to \I {Dirk Eddelbuettel}' s patch.
574579 }
575580 }
576581}
Original file line number Diff line number Diff line change 11# File src/library/tools/R/build.R
22# Part of the R package, https://www.R-project.org
33#
4- # Copyright (C) 1995-2024 The R Core Team
4+ # Copyright (C) 1995-2025 The R Core Team
55#
66# This program is free software; you can redistribute it and/or modify
77# it under the terms of the GNU General Public License as published by
@@ -54,7 +54,7 @@ get_exclude_patterns <- function()
5454 c(" ^\\ .Rbuildignore$" ,
5555 " (^|/)\\ .DS_Store$" ,
5656 " ^\\ .(RData|Rhistory)$" ,
57- " ~$" , " \\ .bak$" , " \\ .swp $" ,
57+ " ~$" , " \\ .bak$" , " \\ .sw. $" ,
5858 " (^|/)\\ .#[^/]*$" , " (^|/)#[^/]*#$" ,
5959 # # Outdated ...
6060 " ^TITLE$" , " ^data/00Index$" ,
@@ -68,6 +68,8 @@ get_exclude_patterns <- function()
6868 " ^src/so_locations$" ,
6969 # # Sweave detrius
7070 " ^inst/doc/Rplots\\ .(ps|pdf)$"
71+ # # GNU Global
72+ , " ^(GPATH|GRTAGS|GTAGS)$"
7173 )
7274
7375
You can’t perform that action at this time.
0 commit comments