where_is_foreign_function_from: Which foreign package is a function being loaded from?

Description Usage Arguments Value

Description

Figure out which, if any, namespace a function is being loaded from (and if it is private or public) and return the information.

Usage

1
where_is_foreign_function_from(current_function, package_name, cache_this)

Arguments

current_function

Name of the function we care about

package_name

Package it is being called from

cache_this

An environment – used to handle the memoisation

Value

A character vector containing the namespaced function call or the namespace INVALID for cases where we've failed.


aaronrudkin/werner documentation built on May 23, 2019, 6:03 a.m.