tests/SourceFuncTest/source4.r

# This script does not assume the existance of any variables and is supposed to 
# execute locally using ddg.source. It also uses ddg.return and ddg.procedure.
x <- 5
f <- function(w){
  return(w+1)
}

# just random testing
y <- 4
z <- f(x) + y

# parameter with the same name??
w <- f(x)
ProvTools/provR documentation built on May 6, 2019, 3:27 p.m.