flow
flow copied to clipboard
flow_view_source_calls() only looks at the top level
So below it will only detect the first call:
source("a.R")
if (TRUE) {
source("b.R")
}
I was probably too lazy to implement the recursion for my use case at the time.
Also is considering 1st arg as the path, which is probably right 99.5 % oof the time but we should use match.call and consider path
Indeed I have some suppressWarnings(source("a.R")) that are ignored.