Install a package from a source repository on GitHub.

oadmin.install_github_package(
  opal,
  pkg,
  username = getOption("github.user"),
  ref = "master",
  profile = NULL
)

Arguments

opal

Opal object or list of opal objects.

pkg

Package name.

username

GitHub user or organization name.

ref

Desired git reference. Could be a commit, tag, or branch name. Defaults to "master".

profile

The R servers profile name to which operation applies. See also opal.profiles.

Examples

if (FALSE) {
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
oadmin.install_github_package(o, 'opalr', 'obiba')
opal.logout(o)
}