pkgstats_fns_from_archive
Trawl a local CRAN archive to extract function names only from all packages
Description
Trawl a local CRAN archive to extract function names only from all packages
Usage
pkgstats_fns_from_archive(
path,
archive = FALSE,
prev_results = NULL,
results_file = NULL,
chunk_size = 1000L,
num_cores = 1L,
results_path = tempdir()
)
Arguments
Argument |
Description |
---|---|
|
Path to local archive of R packages, either as source directories, or ‘.tar.gz’ files such as in a CRAN mirror. |
|
If |
|
Result of previous call to this function, if available. Submitting previous results will ensure that only newer packages not present in previous result will be analysed, with new results simply appended to previous results. This parameter can also specify a file to be read with |
|
Can be used to specify the name or full path of a |
|
Divide large archive trawl into chunks of this size, and save intermediate results to local files. These intermediate files can be combined to generate a single |
|
Number of machine cores to use in parallel, defaulting to single-core processing. |
|
Path to save intermediate files generated by the |
Value
A data.frame
object with one row for each function in each package
and the following columns:
Package name
Package version
Function name
Seealso
Other archive:
dl_pkgstats_data
,
pkgstats_from_archive