dependency_table.Rd
Create dependency structure of your package collection
dependency_table( project = ".", project_type = c("local", "repo@host")[1], ref = NULL, local_repos = if ((project_type) == "local") get_local_pkgs_from_config() else NULL, direction = "all", fallback_branch = "main", verbose = 1 )
project | ( |
---|---|
project_type | ( |
ref | ( |
local_repos | ( |
direction | ( |
fallback_branch | ( |
verbose | ( |
dependency_structure
An S3 object with the following items:
project
argument used to create
the object (absolute path if project_type
is local
project_type
used to create object
The R package name of code in the project
directory
data.frame
contain one row per r package discovered, with the
following rows package_name
, type
(current
, upstream
, downstream
or other
),
distance
(minimum number of steps from current_pkg
), ref
, repo
, host
, sha
cache_dir
, accessible
, installable
and install_index
(the order to install the packages).
Note some items are are suppressed when printing the object
list
with three elements, upstream_deps
is the graph where edges point from a package
to its upstream dependencies. They are ordered in installation order. The
downstream_deps
list is the graph with the edge direction flipped,
and is ordered in reverse installation order. external
contains the external
R packages found in the description files of the internal packages. It is a dataframe
of the form returned by desc::desc_get_deps
direction
argument used to create object