get_repo_dep_mat: Get Install Order of Repositories

Description Usage Arguments Value Examples

View source: R/get_repo_install_order.R

Description

Get

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
get_repo_dep_mat(
  repos,
  dep_type = c("Depends", "Imports", "Suggests"),
  force = FALSE,
  url = "https://api.github.com",
  ...
)

install_order(dep_mat)

get_repo_install_order(repos, dep_type = c("Depends", "Imports", "Suggests"))

Arguments

repos

Repositories to find the install order

dep_type

Dependency types to check against

force

should this stop (FALSE) on missing DESCRIPTION files?

url

URL to use to get DESCRIPTION file, passed to get_remote_package_dcf.

...

not used

dep_mat

Logial Dependency matrix

Value

List of dependency order

Examples

1
2
3
4
5
6
7
8
## Not run: 
repos = get_repo_names(username = "neuroconductor")
repos = paste0("neuroconductor/", repos)
dep_mat = get_repo_dep_mat(repos)
ord1 = install_order(dep_mat)
order = get_repo_install_order(repos)

## End(Not run)

muschellij2/neuroc.deps documentation built on May 23, 2021, 12:21 a.m.