scriptTests/AnnotateOnOff/AnnotateOnOff.R

ddg.annotate.on("f")
ddg.annotate.off("g")

f <- function() {
  x <- 1
  return(x)
}

y <- f()
f()

ddg.annotate.off("f")
f()

g <- function() {
  x <- 2
  return(x)
}

g()

ddg.annotate.on(c("f","g"))
f()
g()
End-to-end-provenance/rdt documentation built on Aug. 11, 2022, 12:55 p.m.