Configure default MERMAID projects. mermaid_set_default_project sets project(s) as the default to be used automatically in mermaid_get_project_* functions. mermaid_get_default_project lists the default projects.

mermaid_set_default_project(project)

mermaid_get_default_project()

Arguments

project

A way to identify MERMAID project(s). Can be project IDs (passed as a character vector directly) or projects resulting from mermaid_get_my_projects or mermaid_search_my_projects.

Examples

if (FALSE) { # \dontrun{
test_project <- mermaid_search_my_projects("Sharla test", include_test_projects = TRUE)
mermaid_set_default_project(test_project)
mermaid_get_default_project()

# Since a default project is set, you can use e.g. mermaid_get_project_sites()
# without explicitly supplying a project
mermaid_get_project_sites()
} # }