This function will check to see if configurations for the named cluster exist. In the even that configurations are available in a configured repository but not installed locally then the user will be prompted to install the configurations.

is_cluster_known(cluster_name, install = "ask", stopifnot = FALSE)

list_available_clusters(installed_only = FALSE)

get_cluster_name(cluster_name)

get_cluster_package_name(cluster_name)

Arguments

cluster_name

Character. The name of the cluster. Capitolization and spacing is ignored and does not matter (e.g., "My Cluster" is equivalent to "mycluster")

install

Character. Should be one of "ask", "yes", or "no", case insensitive. First letter abbreviations are suficient.

stopifnot

Logical. If TRUE then in the event a cluster is not known an error will result. Otherwise that case will trigger a warning and a FALSE return value.

installed_only

Logical indicator of whether to only look at installed packages rather than available packages. This can save time, especially in the first call from a new session, relative to looking in all available packages. Default FALSE.