Skip to contents

Get tibble with roxygen2 fields for a specific function of interest

Usage

forgot_fx(pkg, function_name, field = NULL, print = TRUE)

Arguments

pkg

string installed R package name

function_name

string function name in R package

field

string roxygen2 field of interest, NULL by default

print

logical on if you should print data frame, TRUE by default

Value

forgot tibble with roxygen2 field info for pkg or function

Examples

forgot_fx("dplyr", "count", "usage", print = FALSE)
forgot_fx(dplyr, "count", "usage", print = TRUE)
#> # A tibble: 1 × 1
#>   usage                                                                         
#>   <chr>                                                                         
#> 1 "\ncount(x, ..., wt = NULL, sort = FALSE, name = NULL)\n\n\\method{countdata.…
forgot_fx("dplyr", "count", "usage", print = TRUE)
#> # A tibble: 1 × 1
#>   usage                                                                         
#>   <chr>                                                                         
#> 1 "\ncount(x, ..., wt = NULL, sort = FALSE, name = NULL)\n\n\\method{countdata.…