Determine scopes from a file.

load_scopes(
  file = system.file("scopes.yml", package = "slackteams"),
  which = "base"
)

Arguments

file

character; a path to a yaml file with scopes defined.

which

character; the group of scopes to use within that yaml.

Value

A character vector of scopes.