Find project files in a directory.
find_projects(x, user_groups = "public")
x |
|
---|---|
user_groups |
|
tibble::tibble()
object containing the configuration files
and names of projects found in the directory.
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.
# find directory with built-in projects
d <- system.file("extdata", "projects", package = "whattodo")
# list projects in directory
find_projects(d)
#> # A tibble: 1 × 3
#> path name status
#> <chr> <chr> <lgl>
#> 1 /tmp/RtmpZHgwHy/temp_libpath1b1231c4ce8a0/whattodo/extda… Simulated da… TRUE