open_repo: Open an RStudio Project from a repository

Description Usage Arguments

View source: R/open.R

Description

Open an RStudio Project from a repository

Usage

1
open_repo(repo = "meta", n = 1, project = NULL, dir = ".", newSession = TRUE)

Arguments

repo

A character vector of length one with a repository name. Fixed regex (i.e. substring matches) are allowed.

n

For partial matches, the ID of repos to open in parallel. Can be a single integer, a sequence (3:7) or a vector (c(2, 5)). For n = 1, the exact match is opened (if there is one) otherwise the best regex fit is opened.

project

A character vector of length one with a project name. Can be left NULL if the repo name is unique across all projects.

dir

Any directory under the team root.

newSession

whether or not to open the RStudio Project in a new session.


lorenzwalthert/teamtools documentation built on Dec. 10, 2019, 2:11 a.m.