FunctionReporter
currently only captures the functions in a package's exported namespace. Non-exported internal-functions are left out. This seems to be the case with the old mvbutils::foodweb
implementation and also with the new #120 implementation.
Why do we care about non-exported functions?
UseMethod
.An easy way to get all functions in a package, not use the exported functions:
pkg_env <- loadNamespace(pkg_name)
funs <- Filter(
f = function(x, p = pkg_env){is.function(get(x, p))}
, x = names(pkg_env)
)
This can be changed in the #120 implementation here.
I think when we implement this, we should also think about how to distinguish between exported and non-exported functions for the reporting and visualizations.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4