list_sigs

0th

Percentile

List the signatures of all functions

Lists the signatures of all functions in an environment or file.

Usage
list_sigs(x, pattern = NULL, ...)
"list_sigs"(x, ...)
"list_sigs"(x, pattern = NULL, ...)
"list_sigs"(x, ...)
Arguments
x
An environment or the the path to a file.
pattern
An optional regular expression. Only names matching pattern are returned.
...
Currently ignored
Value

An object of class siglist, which is a list of sig obejcts.

Aliases
  • list_sigs
  • list_sigs.character
  • list_sigs.default
  • list_sigs.environment
Examples
#From a package
list_sigs(pkg2env(graphics))
#Just functions beginning with 'a'.
list_sigs(pkg2env(graphics), pattern = "^a")
#From a file
list_sigs(system.file("extdata", "sample.R", package = "sig"))
Documentation reproduced from package sig, version 0.0-5, License: Unlimited

Community examples

Looks like there are no examples yet.