opal_project_create: Create a project in an Opal environment

View source: R/09-opal_functions.R

opal_project_createR 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)


mlstrOpalr documentation built on Oct. 11, 2023, 5:15 p.m.