View source: R/find_pkg_functions.R
| find_pkg_functions | R Documentation |
This function lists R functions found in an R package. It can inspect the
loaded namespace for exported and non-exported functions and, if a package
source path is available, scan .R files in R/.
find_pkg_functions(pkg, include_namespace = TRUE, include_source = TRUE)
pkg |
[ |
include_namespace |
[ |
include_source |
[ |
include_namespace = TRUE inspects the package namespace with
asNamespace(). This works for installed packages and returns the R
functions that are actually available after the package is loaded, including
internal functions.
include_source = TRUE scans the package source files under R/. This is
useful when pkg points to a package source directory, for example while
developing a package before it is installed. If both options are TRUE, the
result is combined and duplicate function names are removed.
The title column is read from Rd documentation aliases. It is NA when no
matching Rd documentation entry is available for a function.
A tibble with one row per found R function and columns name,
title, exported, and signature.
Other package helpers:
Dictionary,
Storage,
check_missing(),
find_namespace_calls(),
identical_structure(),
input_check_response(),
match_arg(),
package_logo(),
print_data.frame(),
print_matrix(),
system_information(),
unexpected_error(),
user_confirm()
## Not run:
find_pkg_functions("R6")
find_pkg_functions(".")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.