{
  "_id": "6a1f3027b401979e73427749",
  "Package": "hubUtils",
  "Version": "1.2.0",
  "Title": "Core 'hubverse' Utilities",
  "Authors@R": "c(\nperson(\"Anna\", \"Krystalli\", , \"annakrystalli@googlemail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2378-4915\")),\nperson(\"Li\", \"Shandross\", , \"lshandross@umass.edu\", role = \"aut\"),\nperson(\"Nicholas G.\", \"Reich\", , \"nick@umass.edu\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0003-3503-9899\")),\nperson(\"Evan L.\", \"Ray\", , \"elray@umass.edu\", role = \"ctb\"),\nperson(\"Zhian N.\", \"Kamvar\", , \"zkamvar@gmail.com\", role = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0003-1458-7108\")),\nperson(\"Consortium of Infectious Disease Modeling Hubs\", role = \"cph\")\n)",
  "Description": "Core set of low-level utilities common across the\n'hubverse'. Used to interact with 'hubverse' schema, Hub\nconfiguration files and model outputs and designed to be\nprimarily used internally by other 'hubverse' packages. See\nReich et al. (2022) <doi:10.2105/AJPH.2022.306831> for an\noverview of Collaborative Hubs.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/hubverse-org/hubUtils,\nhttps://hubverse-org.github.io/hubUtils/",
  "BugReports": "https://github.com/hubverse-org/hubUtils/issues",
  "Config/Needs/website": "hubverse-org/hubStyle",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/pak/sysreqs": "cmake git make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://hubverse-org.r-universe.dev",
  "Date/Publication": "2026-01-13 14:07:04 UTC",
  "RemoteUrl": "https://github.com/hubverse-org/hubUtils",
  "RemoteRef": "v1.2.0",
  "RemoteSha": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-15 08:59:14 UTC",
    "User": "root"
  },
  "Author": "Anna Krystalli [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2378-4915>),\nLi Shandross [aut],\nNicholas G. Reich [ctb] (ORCID:\n<https://orcid.org/0000-0003-3503-9899>),\nEvan L. Ray [ctb],\nZhian N. Kamvar [ctb] (ORCID: <https://orcid.org/0000-0003-1458-7108>),\nConsortium of Infectious Disease Modeling Hubs [cph]",
  "Maintainer": "Anna Krystalli <annakrystalli@googlemail.com>",
  "MD5sum": "1e51ab6ae2886a8752e3fcc58e1fbf6f",
  "_user": "hubverse-org",
  "_type": "src",
  "_file": "hubUtils_1.2.0.tar.gz",
  "_fileid": "8db8c960fb785b3c24b0d680550b5d3d70bda7e66c8ea113bed999bbc488a8bc",
  "_filesize": 546162,
  "_sha256": "8db8c960fb785b3c24b0d680550b5d3d70bda7e66c8ea113bed999bbc488a8bc",
  "_created": "2026-05-15T08:59:14.000Z",
  "_published": "2026-06-02T19:33:59.138Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79155534081,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013599553"
    },
    {
      "job": 79155534235,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013601581"
    },
    {
      "job": 79155533949,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013582638"
    },
    {
      "job": 79155534041,
      "time": 121,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013594910"
    },
    {
      "job": 79155533942,
      "time": 156,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013561775"
    },
    {
      "job": 79155533301,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367877267"
    },
    {
      "job": 79155534179,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7013593488"
    },
    {
      "job": 79155534370,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7013586342"
    },
    {
      "job": 79155534049,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7013589591"
    }
  ],
  "_buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/hubverse-org/hubUtils",
  "_commit": {
    "id": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
    "author": "Anna Krystalli <annakrystalli@googlemail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #280 from hubverse-org/ak/release/1.2.0\n\n",
    "time": 1768313224
  },
  "_maintainer": {
    "name": "Anna Krystalli",
    "email": "annakrystalli@googlemail.com",
    "login": "annakrystalli",
    "orcid": "0000-0002-2378-4915",
    "twitter": "@annakrystalli",
    "uuid": 5583057
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "gh",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "arrow",
      "version": ">= 17.0.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.2.0",
      "role": "Suggests"
    }
  ],
  "_owner": "hubverse-org",
  "_selfowned": true,
  "_usedby": 8,
  "_updates": [
    {
      "week": "2025-21",
      "n": 3
    },
    {
      "week": "2025-24",
      "n": 3
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 2
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 2
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-42",
      "n": 4
    },
    {
      "week": "2025-43",
      "n": 3
    },
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2025-47",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-02",
      "n": 2
    },
    {
      "week": "2026-03",
      "n": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.6.0",
      "date": "2025-06-12"
    },
    {
      "name": "v0.7.0",
      "date": "2025-09-23"
    },
    {
      "name": "v1.0.0",
      "date": "2025-10-21"
    },
    {
      "name": "v1.1.0",
      "date": "2025-11-18"
    },
    {
      "name": "v1.2.0",
      "date": "2026-01-13"
    }
  ],
  "_topics": [
    "hubverse"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "annakrystalli",
      "count": 582,
      "uuid": 5583057
    },
    {
      "user": "lshandross",
      "count": 69,
      "uuid": 57642277
    },
    {
      "user": "zkamvar",
      "count": 53,
      "uuid": 3639446
    },
    {
      "user": "bsweger",
      "count": 10,
      "uuid": 540544
    },
    {
      "user": "luciecontamin",
      "count": 10,
      "uuid": 24431085
    },
    {
      "user": "nickreich",
      "count": 6,
      "uuid": 1280767
    },
    {
      "user": "micokoch",
      "count": 5,
      "uuid": 56451982
    }
  ],
  "_userbio": {
    "uuid": 114601542,
    "type": "organization",
    "name": "The Hubverse",
    "description": "A consortium of research groups that run infectious disease modeling hubs."
  },
  "_downloads": {
    "count": 645,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hubUtils"
  },
  "_devurl": "https://github.com/hubverse-org/hubutils",
  "_pkgdown": "https://hubverse-org.github.io/hubUtils/",
  "_searchresults": 78,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hubUtils.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/hubverse-org/hubutils",
  "_realowner": "hubverse-org",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.7",
      "date": "2024-09-18"
    },
    {
      "version": "1.2.0",
      "date": "2026-01-13"
    }
  ],
  "_exports": [
    "%>%",
    "as_config",
    "as_model_out_tbl",
    "check_deprecated_schema",
    "convert_output_type",
    "create_s3_url",
    "extract_schema_version",
    "get_config_tid",
    "get_date_col",
    "get_has_output_type_ids",
    "get_hub_derived_task_ids",
    "get_hub_file_formats",
    "get_hub_model_output_dir",
    "get_hub_timezone",
    "get_non_task_id_schema",
    "get_observable_unit",
    "get_round_ids",
    "get_round_idx",
    "get_round_model_tasks",
    "get_round_task_id_names",
    "get_schema",
    "get_schema_url",
    "get_schema_valid_versions",
    "get_schema_version_latest",
    "get_task_id_names",
    "get_version_config",
    "get_version_file",
    "get_version_hub",
    "get_versioned",
    "has_target_data_config",
    "is_github_repo_url",
    "is_github_url",
    "is_s3_base_fs",
    "is_url",
    "is_v3_config",
    "is_v3_config_file",
    "is_v3_hub",
    "is_valid_url",
    "model_id_merge",
    "model_id_split",
    "read_config",
    "read_config_file",
    "subset_std_cols",
    "subset_task_id_cols",
    "subset_task_id_names",
    "validate_model_out_tbl",
    "version_equal",
    "version_gt",
    "version_gte",
    "version_lt",
    "version_lte"
  ],
  "_datasets": [
    {
      "name": "hub_con_output",
      "title": "Example Hub model output data",
      "object": "hub_con_output",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "forecast_date",
        "horizon",
        "target",
        "location",
        "output_type",
        "output_type_id",
        "value",
        "model_id"
      ],
      "rows": 92,
      "table": true,
      "tojson": true
    },
    {
      "name": "std_colnames",
      "title": "Hubverse model output standard column names",
      "object": "std_colnames",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_config",
      "title": "Coerce a config list to a config class object",
      "topics": [
        "as_config"
      ]
    },
    {
      "page": "as_model_out_tbl",
      "title": "Convert model output to a 'model_out_tbl' class object.",
      "topics": [
        "as_model_out_tbl"
      ]
    },
    {
      "page": "check_deprecated_schema",
      "title": "Check whether a config file is using a deprecated schema",
      "topics": [
        "check_deprecated_schema"
      ]
    },
    {
      "page": "convert_output_type",
      "title": "Transform between output types",
      "topics": [
        "convert_output_type"
      ]
    },
    {
      "page": "create_s3_url",
      "title": "Create a URL to a file in an S3 bucket",
      "topics": [
        "create_s3_url"
      ]
    },
    {
      "page": "extract_schema_version",
      "title": "Extract the schema version from a schema 'id' or config 'schema_version' property character string",
      "topics": [
        "extract_schema_version"
      ]
    },
    {
      "page": "get_config_tid",
      "title": "Get the name of the output type id column based on the schema version",
      "topics": [
        "get_config_tid"
      ]
    },
    {
      "page": "get_hub_timezone",
      "title": "Get hub configuration fields",
      "topics": [
        "get_hub_derived_task_ids",
        "get_hub_file_formats",
        "get_hub_model_output_dir",
        "get_hub_timezone"
      ]
    },
    {
      "page": "get_round_idx",
      "title": "Utilities for accessing round ID metadata",
      "topics": [
        "get_round_ids",
        "get_round_idx"
      ]
    },
    {
      "page": "get_round_model_tasks",
      "title": "Get the model tasks for a given round",
      "topics": [
        "get_round_model_tasks"
      ]
    },
    {
      "page": "get_round_task_id_names",
      "title": "Get task ID names for a given round",
      "topics": [
        "get_round_task_id_names"
      ]
    },
    {
      "page": "get_schema",
      "title": "Download a schema",
      "concept": [
        "functions supporting config file validation"
      ],
      "topics": [
        "get_schema"
      ]
    },
    {
      "page": "get_schema_url",
      "title": "Get the JSON schema download URL for a given config file version",
      "concept": [
        "functions supporting config file validation"
      ],
      "topics": [
        "get_schema_url"
      ]
    },
    {
      "page": "get_schema_valid_versions",
      "title": "Get a vector of valid schema version",
      "concept": [
        "functions supporting config file validation"
      ],
      "topics": [
        "get_schema_valid_versions"
      ]
    },
    {
      "page": "get_schema_version_latest",
      "title": "Get the latest schema version",
      "topics": [
        "get_schema_version_latest"
      ]
    },
    {
      "page": "get_task_id_names",
      "title": "Get hub task IDs",
      "topics": [
        "get_task_id_names"
      ]
    },
    {
      "page": "get_version_config",
      "title": "Get hub config schema versions",
      "topics": [
        "get_version_config",
        "get_version_file",
        "get_version_hub"
      ]
    },
    {
      "page": "hub_con_output",
      "title": "Example Hub model output data",
      "topics": [
        "hub_con_output"
      ]
    },
    {
      "page": "is_github_repo_url",
      "title": "Detect if a URL is a GitHub repository URL",
      "topics": [
        "is_github_repo_url"
      ]
    },
    {
      "page": "is_github_url",
      "title": "Detect a URL on github.com",
      "topics": [
        "is_github_url"
      ]
    },
    {
      "page": "is_s3_base_fs",
      "title": "Detect whether An object of class <SubTreeFileSystem> represents the base path of an S3 file system (i.e. the root of a cloud hub)",
      "topics": [
        "is_s3_base_fs"
      ]
    },
    {
      "page": "is_url",
      "title": "Determine if a string is a URL",
      "topics": [
        "is_url"
      ]
    },
    {
      "page": "is_v3_config",
      "title": "Is config list representation using v3.0.0 schema?",
      "topics": [
        "is_v3_config"
      ]
    },
    {
      "page": "is_v3_config_file",
      "title": "Is config file using v3.0.0 schema?",
      "topics": [
        "is_v3_config_file"
      ]
    },
    {
      "page": "is_v3_hub",
      "title": "Is hub configured using v3.0.0 schema?",
      "topics": [
        "is_v3_hub"
      ]
    },
    {
      "page": "is_valid_url",
      "title": "Determine if a URL is valid and reachable",
      "topics": [
        "is_valid_url"
      ]
    },
    {
      "page": "model_id_merge",
      "title": "Merge/Split model output tbl 'model_id' column",
      "topics": [
        "model_id_merge",
        "model_id_split"
      ]
    },
    {
      "page": "read_config",
      "title": "Read a hub config file into R",
      "topics": [
        "read_config"
      ]
    },
    {
      "page": "read_config_file",
      "title": "Read a JSON config file from a path",
      "topics": [
        "read_config_file"
      ]
    },
    {
      "page": "std_colnames",
      "title": "Hubverse model output standard column names",
      "topics": [
        "std_colnames"
      ]
    },
    {
      "page": "subset_task_id_cols",
      "title": "Subset a 'model_out_tbl' or submission 'tbl'.",
      "topics": [
        "subset_std_cols",
        "subset_task_id_cols"
      ]
    },
    {
      "page": "subset_task_id_names",
      "title": "Subset a vector of column names to only include task IDs",
      "topics": [
        "subset_task_id_names"
      ]
    },
    {
      "page": "target-data-utils",
      "title": "Get target data configuration properties",
      "topics": [
        "get_date_col",
        "get_has_output_type_ids",
        "get_non_task_id_schema",
        "get_observable_unit",
        "get_versioned",
        "has_target_data_config",
        "has_target_data_config.default",
        "has_target_data_config.SubTreeFileSystem",
        "target-data-utils"
      ]
    },
    {
      "page": "validate_model_out_tbl",
      "title": "Validate a 'model_out_tbl' object.",
      "topics": [
        "validate_model_out_tbl"
      ]
    },
    {
      "page": "version_equal",
      "title": "Compare hub config 'schema_version's to specific version numbers from a variety of sources",
      "topics": [
        "version_equal",
        "version_gt",
        "version_gte",
        "version_lt",
        "version_lte"
      ]
    }
  ],
  "_pkglogo": "https://github.com/hubverse-org/hubUtils/raw/v1.2.0/man/figures/logo.png",
  "_readme": "https://github.com/hubverse-org/hubUtils/raw/v1.2.0/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "cachem",
    "checkmate",
    "cli",
    "curl",
    "fastmap",
    "fs",
    "gh",
    "gitcreds",
    "glue",
    "httr2",
    "ini",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "memoise",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 7.703669608561073,
  "_indexed": true,
  "_nocasepkg": "hubutils",
  "_universes": [
    "hubverse-org",
    "annakrystalli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-15T09:01:28.000Z",
      "distro": "noble",
      "commit": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
      "fileid": "b35251ae786c828b212f4487579c59bee9f1c3e43e89f0d2b906b4097f6545d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-15T09:01:36.000Z",
      "distro": "noble",
      "commit": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
      "fileid": "e94988f50f64658e8a601e7f714ccb2a2a40d3e659a2d348c839657a75304bb3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-15T09:00:35.000Z",
      "commit": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
      "fileid": "bc52bdafd9d7e3152b43efeae7f4f0f21057b8a624ed8aee3bd49d2cddcec99a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-15T09:01:12.000Z",
      "commit": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
      "fileid": "5e70a6fa7950dc1884757dd165340046fcf9a2456d69bbd1f8498eb3bdcabf78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-15T09:00:56.000Z",
      "commit": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
      "fileid": "9a0b32bfd90b8ea8677ff8a473b7b56809a4fa4f104b75ecd17fcf7fad5b6a6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-15T09:00:29.000Z",
      "commit": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
      "fileid": "cd9de8554732b3b23acf9a3c1494ff9a1c6fb54a2f8fa20cd5bc8dcf1071af8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-15T09:00:41.000Z",
      "commit": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
      "fileid": "181aa007f428468980dfd963f6b14cadab82d4a0db810e10b35c7d60619f933d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-06-02T19:33:41.000Z",
      "commit": "035ee3a78c6ac59cfe2784d59d84681ba0aa2d7d",
      "fileid": "7965ea1fa8e6b910013317b6ffb3b958af3b79fa7f976a0f21ee70886dc6bf6d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/25909300323"
    }
  ]
}