opalr (version 1.4.1)

dsadmin.install_package: Install a DataSHIELD package

Description

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

Usage

dsadmin.install_package(opal, pkg, githubusername = NULL, ref = 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.

Value

TRUE if installed

See Also

Other DataSHIELD functions: dsadmin.get_methods(), dsadmin.get_method(), dsadmin.get_options(), dsadmin.installed_package(), dsadmin.package_descriptions(), dsadmin.package_description(), dsadmin.remove_package(), dsadmin.rm_methods(), dsadmin.rm_method(), dsadmin.rm_option(), dsadmin.rm_package_methods(), dsadmin.set_method(), dsadmin.set_option(), dsadmin.set_package_methods()

Examples

Run this code
# NOT RUN {
o <- opal.login('administrator','password','https://opal-demo.obiba.org')
dsadmin.install_package(o, 'dsBase')
opal.logout(o)
# }

Run the code above in your browser using DataLab