Skip to contents

Check whether a function name exists in any CRAN packages

Usage

fn_names_on_cran(fn_name)

Arguments

fn_name

Character vector of one or more function names to check.

Value

A data.frame of three columns, "package", "version", and "fn_name", identifying any other packages matching specified function name(s). If no matches are found, the data.frame will have no rows.

Examples

fn_names_on_cran (c ("min", "max"))
#> Warning: URL https://github.com/ropensci-review-tools/pkgstats/releases/download/v0.1.2/pkgstats-fn-names.Rds: cannot open destfile '/github/home/.cache/R/pkgcheck/pkgstats-fn-names.Rds', reason 'No such file or directory'
#> Warning: download had nonzero exit status
#> Warning: cannot open compressed file '/github/home/.cache/R/pkgcheck/pkgstats-fn-names.Rds', probable reason 'No such file or directory'
#> NULL