fun_status: Function status, exported or internal.

Description Usage Arguments Value

View source: R/fun_status.R

Description

A little helper to investigate if a given function from a given package belongs to the part that has been exported or imported. Note that this function assumes that the namespace of the package has been loaded, and that the function is known to exist inside of it. The reason for this simplifying assumptions is due to the way this function is used at the moment of writing.

Usage

1
fun_status(.fun, .package)

Arguments

.fun

The name of the function to investigate, given as a character-string.

.package

The name of the package .fun originates from.

Value

Eiter "exported" or "internal", to reveal the status of the package.


LAJordanger/leanRcoding documentation built on Feb. 27, 2020, 4:42 p.m.