Skip to content

Commit 1986ded

Browse files
jackwaseyeddelbuettel
authored andcommitted
sort case-insensitive to make RcppExports more deterministic across platforms (#878)
1 parent 64290a7 commit 1986ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/Attributes.R

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

424424
# get a list of all source files
425-
cppFiles <- list.files(srcDir, pattern = "\\.((c(c|pp)?)|(h(pp)?))$")
425+
cppFiles <- list.files(srcDir, pattern = "\\.((c(c|pp)?)|(h(pp)?))$", ignore.case = TRUE)
426426

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

0 commit comments

Comments
 (0)