opal_project_create {mlstrOpalr} | R Documentation |
Create a project in an Opal environment
Description
Creates an empty project in an Opal environment. This is a wrapper function
for opalr::opal.project_create()
.
Usage
opal_project_create(opal, project, tag = NULL)
Arguments
opal |
Opal login attributes. |
project |
A character string to name the project in Opal. |
tag |
A character string to provide a tag for the Opal project. |
Details
Opal is the OBiBa application for data management, and Opal environments can
be integrated with RStudio environments using the package opalr
.
The user must have adequate credentials to interact with a specific Opal
environment. Some function errors produced may be associated with the
handler or Opal read/write permissions.
Value
A project in an Opal environment. If the project already exists, it will remain as it is, and no new project is created. The user must have adequate credentials to interact with their Opal environment.
See Also
Please see Opal documentation for complete documentation.
Examples
## Not run:
library(opalr)
opal <-
opal.login('administrator','password',
url ='https://opal-demo.obiba.org/')
tempdir <- basename(tempdir())
try(opal_project_create(opal, tempdir))
## End(Not run)