Identify packages which could possibly be effected by updating the specified list of packages to their latest versions.
identifyRisk(repo, to_update = old.packages(repos = repo_urls),
liblocs = .libPaths(), important_pkgs = installed.packages(lib.loc =
liblocs)[, "Package"], repo_urls = getOption("repos"))
The name of a GRAN repository to use. Assumes that a a package named GRAN<repo> is available to load.
vector of package names which may be updated, or a matrix
output from old.packages
. Defaults to all packages which are out of date
the library locations to look for installed packages
list of packages to check for risk of change cascades
from updating the packages in to_update
. Defaults to all installed packages
The repositories to check for new versions of packages
A list containing two named lists: splash_damage and in_danger.
splash_damage lists the packages potentially affected by updating each
package in to_update
. in_danger lists the packages from
to_update
that affect each package in important_pkgs
(packages which are unaffected are omitted).