find_projects: Find projects

View source: R/fct_find_projects.R

find_projectsR Documentation

Find projects

Description

Find project files in a directory.

Usage

find_projects(x, user_groups = "public")

Arguments

x

character directory path.

user_groups

character vector of project group names available that can be imported. Defaults to "public".

Details

Projects that are missing user group information are automatically assigned to the "private" user group. Additionally, note that "admin" is a special user group that can access all projects.

Value

tibble::tibble() object containing the configuration files and names of projects found in the directory.

Examples

# find directory with built-in projects
d <- system.file("extdata", "projects", package = "wheretowork")

# list projects in directory
find_projects(d)

NCC-CNC/wheretowork documentation built on Feb. 27, 2025, 6:11 p.m.