Skip to contents

Main functions

pkgmatch_similar_fns()
Identify R functions best matching a given input string
pkgmatch_similar_pkgs()
Find R packages matching an input of either text or another package

BM25 functions

pkgmatch_bm25()
The "Best Matching 25" (BM25) ranking function.
pkgmatch_bm25_fn_calls()
The "Best Matching 25" (BM25) ranking function for function calls

Treesitter functions

pkgmatch_treesitter_fn_tags()
Identify all function calls made within a package.

Utility functions

generate_pkgmatch_example_data()
Generate example data to use with pkgmatch
head(<pkgmatch>)
Head method for 'pkgmatch' objects
pkgmatch_browse()
Open web pages for pkgmatch results
pkgmatch_load_data()
Load 'pkgmatch' data for specified corpus.
pkgmatch_update_cache()
Update all locally-cached pkgmatch data to latest versions.
print(<pkgmatch>)
Print method for 'pkgmatch' objects

Data update functions

pkgmatch_update_data()
Update pkgmatch corpus data on GitHub