rev_calls: Create a dataframe of all functions in a package with the...

View source: R/rev.R

rev_callsR Documentation

Create a dataframe of all functions in a package with the count of functions each one calls and called by

Description

Create a dataframe of all functions in a package with the count of functions each one calls and called by

Usage

rev_calls(path = ".", igraph_obj = NULL)

Arguments

path

Name of a source R package tar archive file, or path to the folder of an R package.

igraph_obj

igraph object for function calls dependencies returned by create_package_igraph()

Value

A dataframe with the following columns:

  • f_name: function name

  • called_by: number of functions that directly depend on the function

  • calls: number of functions directed called by the function

  • exported: logical TRUE if the package exports the function


ropenscilabs/pkginspector documentation built on May 15, 2022, 5:30 a.m.