View source: R/datashield.admin.R
dsadmin.install_package | R Documentation |
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
)
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. |
TRUE if installed
Other DataSHIELD functions:
dsadmin.get_method()
,
dsadmin.get_methods()
,
dsadmin.get_options()
,
dsadmin.install_github_package()
,
dsadmin.install_local_package()
,
dsadmin.installed_package()
,
dsadmin.package_description()
,
dsadmin.package_descriptions()
,
dsadmin.publish_package()
,
dsadmin.remove_package()
,
dsadmin.rm_method()
,
dsadmin.rm_methods()
,
dsadmin.rm_option()
,
dsadmin.rm_options()
,
dsadmin.rm_package_methods()
,
dsadmin.set_method()
,
dsadmin.set_option()
,
dsadmin.set_package_methods()
,
dsadmin.unpublish_package()
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
dsadmin.install_package(o, 'dsBase')
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.