Skip to content

Commit 04acb79

Browse files
committed
include sourceCpp preface in cache dir
1 parent a06980d commit 04acb79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/Attributes.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,8 @@ sourceCppFunction <- function(func, isVoid, dll, symbol) {
10891089
.sourceCppPlatformCacheDir <- function(cacheDir) {
10901090

10911091
dir <- file.path(cacheDir,
1092-
paste(R.version$platform,
1092+
paste("sourceCpp",
1093+
R.version$platform,
10931094
utils::packageVersion("Rcpp"),
10941095
sep = "-"))
10951096
if (!dir.exists(dir))

0 commit comments

Comments
 (0)