Skip to content

Commit b8bb3b6

Browse files
committed
Fix regex used in compileAttributes
1 parent 968c12b commit b8bb3b6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2014-11-08 Kevin Ushey <kevinushey@gmail.com>
2+
3+
* R/Attributes.R: Fix regular expression used to find source files for
4+
compileAttributes
5+
16
2014-11-02 Dirk Eddelbuettel <edd@debian.org>
27

38
* inst/unitTests/RcppTestA: Rename to inst/unitTests/testRcppPackage

R/Attributes.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ compileAttributes <- function(pkgdir = ".", verbose = getOption("verbose")) {
366366
dir.create(rDir)
367367

368368
# get a list of all source files
369-
cppFiles <- list.files(srcDir, pattern = "\\.(c(c|pp))|(h(pp)?)$")
369+
cppFiles <- list.files(srcDir, pattern = "\\.((c(c|pp))|(h(pp)?))$")
370370

371371
# derive base names (will be used for modules)
372372
cppFileBasenames <- tools::file_path_sans_ext(cppFiles)

0 commit comments

Comments
 (0)