Skip to contents

Get roxygen2 tags (@importFrom)

Usage

get_importFrom(pkg, fun = NULL)

Arguments

pkg

package (must be installed)

fun

string of function names

Value

tags for roxygen2

Examples

require(bs4Dash)
#> Loading required package: bs4Dash
#> Warning: there is no package called ‘bs4Dash’
get_importFrom(pkg = 'bs4Dash', fun = 'valueBox')
#> Error in as.environment(pos): no item called "package:bs4Dash" on the search list