Debian Codegraph @

tests/indent/r.r

raw symbols SCIP
1 f <- function(x) {
2 total <- 0
3 for (v in x) {
4 if (v > 0) {
5 total <- total + v
6 } else {
7 total <- total - v
8 }
9 }
10 result <- lapply(
11 items,
12 process
13 )
14 total
15 }