get_existence_of_fun: Find out if a function is available

Description Usage Arguments Value Author(s)

View source: R/RTestCase.test-adapter.R

Description

This function checks if a function name or method name is available in the global namespace or the desired package namespace

Usage

1
get_existence_of_fun(function_name, package)

Arguments

function_name

(character) The name of the function to look up

package

(character) The name of the package where this function might be hidden (not exported)

Value

"global" if it is available, "package" if it's available within the package or an Error if it is not available at all.

Author(s)

Sebastian Wolf sebastian@mail-wolf.de


RTest documentation built on Dec. 4, 2019, 5:07 p.m.