Skip to contents

Get a vector of valid schema version

Usage

get_schema_valid_versions(branch = "main")

Arguments

branch

The branch of the Infectious Disease Modeling Hubs schemas repository from which to fetch schema. Defaults to "main".

Value

a character vector of valid versions of Infectious Disease Modeling Hubs schema.

See also

Other functions supporting config file validation: get_schema_url(), get_schema(), validate_config(), validate_hub_config(), view_config_val_errors()

Examples

get_schema_valid_versions()
#> [1] "v0.0.0.9" "v0.0.1"   "v1.0.0"   "v2.0.0"