Is hub configured using v3.0.0 schema?
Usage
is_v3_hub(hub_path, config = c("tasks", "admin"))
Arguments
- hub_path
Either a character string path to a local Modeling Hub directory 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 thearrow
package.- 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