get_functions: get_functions

Description Usage Arguments

View source: R/get_functions.R

Description

If call_counts_hash_table is NULL, then it will use a default value. Otherwise it needs an environment which is created like this new.env( hash = TRUE, parent = emptyenv())

Usage

1
2
3
get_functions(expression, call_counts_hash_table = NULL,
  needs_substitute = TRUE, libraries = NULL,
  calling_environment = NULL, throw_errors = FALSE)

Arguments

expression

an R expression. This will be not be evaluated; but it will be parsed and the methods found will be returned in the result

call_counts_hash_table

A call_counts_hash_table environment; this is where results get written to.

needs_substitute

( TODO NOT SURE)

libraries

( TODO NOT SURE )

calling_environment

The calling environment for the expression. get_functions will try to use the calling_environment to figure out which package is being referenced. Defaults to parent.frame()

throw_errors

If TRUE this will throw an error if it cannot parse the expression; otherwise it will print a message


djacobs7/remembr documentation built on June 17, 2020, 3:35 p.m.