identifyRisk | R Documentation |
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"))
repo |
The name of a GRAN repository to use. Assumes that a a package named GRAN<repo> is available to load. |
to_update |
vector of package names which may be updated, or a matrix
output from |
liblocs |
the library locations to look for installed packages |
important_pkgs |
list of packages to check for risk of change cascades
from updating the packages in |
repo_urls |
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).
Gabriel Becker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.