Project-accessors: 'Project' class get and set methods

projectNameR Documentation

Project class get and set methods

Description

Get and set methods for the Project S4 class.

Usage

projectName(x)

## S4 method for signature 'Project'
projectName(x)

projectName(x) <- value

## S4 replacement method for signature 'Project'
projectName(x) <- value

path(x)

## S4 method for signature 'Project'
path(x)

path(x) <- value

## S4 replacement method for signature 'Project'
path(x) <- value

renv(x)

## S4 method for signature 'Project'
renv(x)

renv(x) <- value

## S4 replacement method for signature 'Project'
renv(x) <- value

docker(x)

## S4 method for signature 'Project'
docker(x)

docker(x) <- value

## S4 replacement method for signature 'Project'
docker(x) <- value

github(x)

## S4 method for signature 'Project'
github(x)

github(x) <- value

## S4 replacement method for signature 'Project'
github(x) <- value

private(x)

## S4 method for signature 'Project'
private(x)

private(x) <- value

## S4 replacement method for signature 'Project'
private(x) <- value

githubActions(x)

## S4 method for signature 'Project'
githubActions(x)

githubActions(x) <- value

## S4 replacement method for signature 'Project'
githubActions(x) <- value

parallelPlan(x)

## S4 method for signature 'Project'
parallelPlan(x)

parallelPlan(x) <- value

## S4 replacement method for signature 'Project'
parallelPlan(x) <- value

force(x)

## S4 method for signature 'Project'
force(x)

force(x) <- value

## S4 replacement method for signature 'Project'
force(x) <- value

Arguments

x

S4 object of class Project

value

value to set

Examples

workflow_project <- defineProject('A metabolomics project')

## Return the project name
projectName(workflow_project)

## Set the project name
projectName(workflow_project) <- 'A new name'

## Return the project directory path
path(workflow_project)

## Set the project directory path
path(workflow_project) <- './a_directory'

## Return the project renv option
renv(workflow_project)

## Set the project renv option
renv(workflow_project) <- FALSE

## Return the project docker option
docker(workflow_project)

## Set the project docker option
docker(workflow_project) <- FALSE

## Return the project github option
github(workflow_project)

## Set the project github option
github(workflow_project) <- TRUE

## Return the project private option
private(workflow_project)

## Set the project private option
private(workflow_project) <- TRUE

## Return the project github actions option
githubActions(workflow_project)

## Set the project github actions option
githubActions(workflow_project) <- TRUE

## Return the expression project parallel plan
parallelPlan(workflow_project)

## Set the expression for the project parallel plan
parallelPlan(workflow_project) <- rlang::expr(future::plan(strategy = 'multisession',workers = 2))

## Return the project force option
force(workflow_project)

## Set the project force option
force(workflow_project) <- TRUE

jasenfinch/metaboWorkflows documentation built on May 24, 2023, 8:23 a.m.