Install a package from DataSHIELD public package repository or (if Git reference and GitHub username is provided) from DataSHIELD source repository on GitHub.

dsadmin.install_package(
  opal,
  pkg,
  githubusername = NULL,
  ref = NULL,
  profile = NULL
)

Arguments

opal

Opal object or list of opal objects.

pkg

Package name.

githubusername

GitHub username of git repository. If NULL (default), try to install from DataSHIELD package repository.

ref

Desired git reference (could be a commit, tag, or branch name). If NULL (default), try to install from DataSHIELD package repository.

profile

The DataSHIELD profile name to which operation applies. See also dsadmin.profiles.

Value

TRUE if installed

Examples

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