Skip to contents

Two main ways to specify proj:

  • Set options(reuseme.reposdir) in .Rprofile that contains a character vector of paths to your projects. (i.e. ~/rrr that contains all your projects)

  • Specify the full path to proj. (like you would for usethis function)

Usage

proj_list(proj = NA, dirs = getOption("reuseme.reposdir"))

Arguments

proj

A project path or name to match. If NA, returns all projects. If NULL, returns the active project.

dirs

The directories in which we want to list projects.

Value

A named character vector with the project name as name, and path as value. If proj is supplied

See also

Other project management helpers: proj-reuseme, proj_file(), proj_switch()