Skip to content

Commit

Permalink
new indentation case '32 c)'
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaechler committed Nov 16, 2015
1 parent b6486f6 commit 1f4f885
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions etc/R-ESS-bugs.R
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,8 @@ glmmTMB <- function (formula, data = NULL)
### --- 32 --- 2015-11-07 --- indentation again! --------
{
yl <- if(strictlim) {
ylim
}
ylim
}
else {
range(y, ylim)
}
Expand All @@ -838,12 +838,20 @@ glmmTMB <- function (formula, data = NULL)
## -- 32 b)
{
yl <- if(strictlim) {
ylim
}
ylim
}
else
range(y, ylim)
## continue
}
## -- 32 c)
{
U <- if(is.matrix(x))
apply(x, 2, foo) / (nrow(x) + 1)
else
foo(x) / (length(x) + 1)
}
## 'else' should align with 'if' (and their code too

### --- 33 -- Treat `<<-` as `<-`
{
Expand Down

0 comments on commit 1f4f885

Please sign in to comment.