List the available projects that are visible to the current user.

listProjects(url, number = 50)

Arguments

url

String containing the URL to the ArtifactDB REST API.

number

Number of projects to report.

Value

Named list of character vectors. Each character vector corresponds to a project and is named after that project; the vector itself contains the names of all versions of that project. The list is of length no greater than number.

See also

listProjectVersions, to obtain a listing of one project's versions.

Author

Aaron Lun

Examples

listProjects(example.url, number = 10)
#> $`test-links`
#> [1] "private" "public" 
#> 
#> $`test-public`
#> [1] "base"     "modified"
#> 
#> $`test-redirect`
#> [1] "base"       "privatized"
#> 
#> $`test-whee`
#> [1] "base"     "modified"
#> 
#> $`test-zircon-link`
#> [1] "base"
#>