Skip to content

Commit 566832a

Browse files
committed
get cache varible w/o direct reference (R CMD check)
1 parent 4bd5104 commit 566832a

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
@@ -1033,7 +1033,7 @@ sourceCppFunction <- function(func, isVoid, dll, symbol) {
10331033
index_file <- file.path(cacheDir, "cache.rds")
10341034
if (file.exists(index_file)) {
10351035
load(file = index_file)
1036-
cache
1036+
get("cache")
10371037
} else {
10381038
list()
10391039
}

0 commit comments

Comments
 (0)