This list might be reused for different calls, so let's not fail if function doesn't exist, just ignore.
promote is used to show functions in the chart is they were from the package, their own dependencies wouldn't be shown, except maybe if we implement promote = "{somepkg}" which would promote the full external package
demote treats a function from target package as a dependency
trim hides dependencies, but maybe it should also promote if relevant
hide : complete hides it whether it was treated as external or internal
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
We might have too many arguments and it gets confusing, maybe we should have an edit arg:
flow_view_deps(fun, edit = list(trim = "fun1", promote = "pkg::fun2", demote = "fun3", hide = "fun4"))
or if we switch it around:
Probably 1st one is better.
This list might be reused for different calls, so let's not fail if function doesn't exist, just ignore.
promote = "{somepkg}"
which would promote the full external package