Is hub configured using v3.0.0 schema?
Usage
is_v3_hub(hub_path, config = c("tasks", "admin", "target-data"))Arguments
- hub_path
Either a character string path to a local Modeling Hub directory, a character string of a URL to a GitHub repository or an object of class
<SubTreeFileSystem>created using functionsarrow::s3_bucket()orarrow::gs_bucket()by providing a string S3 or GCS bucket name or path to a Modeling Hub directory stored in the cloud. For more details consult the Using cloud storage (S3, GCS) in thearrowpackage.- config
Type of config file to read. One of
"tasks","admin"or"model-metadata-schema". Default is"tasks".
Examples
is_v3_hub(hub_path = system.file("testhubs", "flusight", package = "hubUtils"))
#> [1] FALSE
