Skip to content

Commit b592d80

Browse files
committed
Merge pull request #434 from RcppCore/feature/minor-not-seq-along
more verbose use of seq(along.with=
2 parents 622f189 + faee174 commit b592d80

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
2016-02-07 Dirk Eddelbuettel <[email protected]>
22

3+
* R/Attributes.R (sourceCppFunction): Use fully matched seq(along.with=...)
4+
35
* vignettes/Rcpp-FAQ.Rnw: Added a table of contents
46

57
2016-02-06 James J Balamuta <[email protected]>

R/Attributes.R

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

462462
body <- quote( CALL_PLACEHOLDER ( EXTERNALNAME, ARG ) )[ c(1:2, rep(3, length(args))) ]
463463

464-
for (i in seq(along = args))
464+
for (i in seq(along.with = args))
465465
body[[i+2]] <- as.symbol(args[i])
466466

467467
body[[1L]] <- .Call

0 commit comments

Comments
 (0)