find_fun: Finds the name of the package that a function is from.

Description Usage Arguments

Description

Uses Hadley's "where" from pryr, but gets just the name of the package and can handle passing in a function instead of just a character string. Also can handle a string that includes the function name (e.g., 'batbelt::find_fun' or 'batbelt/find_fun')

Usage

1
find_fun(fun)

Arguments

fun

function or character. The function to find the name of the package for.


robertzk/batbelt documentation built on May 27, 2019, 10:34 a.m.