Skip to content

Commit 1d7ce1b

Browse files
committed
avoid invoking wrong 'get'
1 parent c8c3a5c commit 1d7ce1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/tinytest/test_rcpp_package_skeleton.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ for (file in grep("RcppExports.R", R_files, invert=TRUE, value=TRUE)) {
6969
code <- readLines(file)
7070
fn <- eval(parse(text=paste(code, collapse="\n")))
7171
fn_name <- gsub(".*/(.*)\\.R$", "\\1", file)
72-
checkIdentical(fn, get(fn_name),
72+
checkIdentical(fn, base::get(fn_name),
7373
sprintf("we parsed the function '%s' correctly", fn_name)
7474
)
7575
}

0 commit comments

Comments
 (0)