Learn R Programming

RSuite (version 0.37-253)

pkg_inst_order: Detects order of installation of packages as a permutation of the input vector

Description

Detects order of installation of packages as a permutation of the input vector

Usage

pkg_inst_order(pkgs, db)

Arguments

pkgs

vector of package names to permute

db

data frame of available packages as returned by available.packages

Value

numeric vector which is defining permutation of packages ta align them in order of installation (less dependent to more dependent).