Skip to contents

List exported symbols from a package (via its NAMESPACE). Optionally filter by a case-insensitive keyword. Results are sorted alphabetically.

Usage

pkg_functions(pkg, key = NULL)

Arguments

pkg

Character scalar. Package name.

key

Optional character scalar. Keyword to filter function names (case-insensitive).

Value

Character vector of exported names (invisibly).

Examples

pkg_functions("evanverse")
#> 
#> ── Package: evanverse ──
#> 
#>  Matched exported names: 53
#> %is%
#> %map%
#> %match%
#> %nin%
#> %p%
#> any_void
#> bio_palette_gallery
#> check_pkg
#> cols_with_void
#> comb
#> combine_logic
#> compile_palettes
#> convert_gene_id
#> create_palette
#> df2list
#> download_batch
#> download_gene_ref
#> download_geo_data
#> download_url
#> drop_void
#> file_info
#> file_tree
#> get_ext
#> get_palette
#> gmt2df
#> gmt2list
#> hex2rgb
#> inst_pkg
#> is_void
#> list_palettes
#> map_column
#> perm
#> pkg_functions
#> pkg_version
#> plot_bar
#> plot_density
#> plot_forest
#> plot_pie
#> plot_venn
#> preview_palette
#> read_excel_flex
#> read_table_flex
#> remind
#> remove_palette
#> replace_void
#> rgb2hex
#> rows_with_void
#> safe_execute
#> set_mirror
#> update_pkg
#> view
#> with_timer
#> write_xlsx_flex
pkg_functions("evanverse", key = "plot")
#> 
#> ── Package: evanverse ──
#> 
#>  Matched exported names: 5
#> plot_bar
#> plot_density
#> plot_forest
#> plot_pie
#> plot_venn