Skip to content

Commit 3e2205f

Browse files
committed
Use placeholder for .Call to avoid warning
1 parent b61ec7b commit 3e2205f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2014-02-02 JJ Allaire <jj@rstudio.org>
2+
3+
* R/Attributes.R: Use placeholder for .Call to avoid warning
4+
15
2014-02-01 Dirk Eddelbuettel <edd@debian.org>
26

37
* tests/doRUnit.R: Simplified following pattern in RProtoBuf

R/Attributes.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ sourceCppFunction <- function(func, isVoid, dll, symbol) {
412412

413413
args <- names(formals(func))
414414

415-
body <- quote( .Call( EXTERNALNAME, ARG ) )[ c(1:2, rep(3, length(args))) ]
415+
body <- quote( CALL_PLACEHOLDER ( EXTERNALNAME, ARG ) )[ c(1:2, rep(3, length(args))) ]
416416

417417
for (i in seq(along = args))
418418
body[[i+2]] <- as.symbol(args[i])

0 commit comments

Comments
 (0)