github_update: Find, report and optionally update packages installed from or...

Description Usage Arguments Details Value Note

Description

Finds local packages that [may] have github versions, then informs & optionally updates them to the newest versions. It is recommended that you still selectively perform the updates since you may want to double-check the repo for any gotchas or incompatibilities with other installed packages.

Usage

1
2
github_update(auto.install = FALSE, ask = TRUE, widget = FALSE,
  dependencies = TRUE, libpath = .libPaths()[1])

Arguments

auto.install

Should it try to auto-install newer packages [not recommended] (bool, initially FALSE)

ask

If this and auto.install==TRUE a pkg install select list will be shown (graphical or text widget dependent upon widget)

widget

If this and auto.install==TRUE and ask==TRUE then a GUI select widget will

Details

Added code from Thomas J Leeper's (@thosjleeper) #spiffy gist: https://gist.github.com/leeper/9123584

Value

data.frame of installed packages with information on owner & whether an update is available (optionally includes installed library path)

Note

Package installation exceptions are caught with try, but are not reported out in any other way but console errors


hrbrmstr/dtupdate documentation built on May 17, 2019, 4:56 p.m.