Skip to content

Commit

Permalink
restore next() in dindex initialization
Browse files Browse the repository at this point in the history
while dealing with R CMD check for travis-CI, we removed calls to next and next() to shut up travis.

It appears that this one was one too many.

Restoring.

fixes #88
  • Loading branch information
braverock committed Jun 28, 2018
1 parent a5e271c commit 7b3a46f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/rules.R
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ applyRules <- function(portfolio,
assign.dindex(dindex)
#pre-process for dimension reduction here
for ( type in names(strategy$rules)){
if(type=='rebalance') #next()
if(type=='rebalance') next()
# check if there's anything to do
if(length(strategy$rules[[type]])>=1){
for (rule in strategy$rules[[type]]){
Expand Down

0 comments on commit 7b3a46f

Please sign in to comment.