{
  "_id": "6a5755c3ff0138dec5d70a98",
  "Package": "hubUtils",
  "Version": "1.2.1",
  "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-07-15 08:11:13 UTC",
  "RemoteUrl": "https://github.com/hubverse-org/hubUtils",
  "RemoteRef": "v1.2.1",
  "RemoteSha": "9a5854dff72608c495aeac3ba5529738016a41c8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-15 09:38:17 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>",
  "_user": "hubverse-org",
  "_type": "src",
  "_file": "hubUtils_1.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/7f6a3ccfc390ad69f3b0b36b8e15ade6bdad9f445d0df7f2ab68454326f09e61",
  "_filesize": 547523,
  "_sha256": "7f6a3ccfc390ad69f3b0b36b8e15ade6bdad9f445d0df7f2ab68454326f09e61",
  "_expires": "2026-10-23T09:41:21.000Z",
  "_created": "2026-07-15T09:38:17.000Z",
  "_published": "2026-07-15T09:41:23.083Z",
  "_jobs": [
    {
      "job": 87319018383,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8338803137"
    },
    {
      "job": 87319018345,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8338796206"
    },
    {
      "job": 87319018357,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8338778390"
    },
    {
      "job": 87319018353,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8338778796"
    },
    {
      "job": 87318338428,
      "time": 199,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8338736793"
    },
    {
      "job": 87319018318,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8338789248"
    },
    {
      "job": 87319018381,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8338781152"
    },
    {
      "job": 87319018418,
      "time": 86,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8338773851"
    },
    {
      "job": 87319018374,
      "time": 81,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8338771733"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706",
  "_status": "success",
  "_upstream": "https://github.com/hubverse-org/hubUtils",
  "_commit": {
    "id": "9a5854dff72608c495aeac3ba5529738016a41c8",
    "author": "Anna Krystalli <annakrystalli@googlemail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #286 from hubverse-org/ak/release/1.2.1\n\nRelease hubUtils 1.2.1",
    "time": 1784103073
  },
  "_maintainer": {
    "name": "Anna Krystalli",
    "email": "annakrystalli@googlemail.com",
    "login": "annakrystalli",
    "orcid": "0000-0002-2378-4915",
    "twitter": "@annakrystalli",
    "description": "Research Software Engineering Service in #rstats at @r-rse. Ex @RSE-Sheffield. Editor @ropensci. Core team member @reprohack.\n\nAvailable for hire! 🚀😎",
    "uuid": 5583057
  },
  "_distro": "resolute",
  "_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": 9,
  "_updates": [
    {
      "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": 5
    },
    {
      "week": "2026-26",
      "n": 3
    },
    {
      "week": "2026-27",
      "n": 5
    },
    {
      "week": "2026-29",
      "n": 1
    }
  ],
  "_tags": [
    {
      "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"
    },
    {
      "name": "v1.2.1",
      "date": "2026-07-15"
    }
  ],
  "_topics": [
    "hubverse"
  ],
  "_stars": 7,
  "_contributors": [
    {
      "user": "annakrystalli",
      "count": 596,
      "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",
    "followers": 41,
    "description": "A consortium of research groups that run infectious disease modeling hubs."
  },
  "_downloads": {
    "count": 559,
    "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": 89,
  "_rbuild": "4.6.1",
  "_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",
    "LICENSE",
    "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.1/man/figures/logo.png",
  "_readme": "https://github.com/hubverse-org/hubUtils/raw/v1.2.1/README.md",
  "_rundeps": [
    "askpass",
    "backports",
    "cachem",
    "checkmate",
    "cli",
    "curl",
    "fastmap",
    "fs",
    "gitcreds",
    "glue",
    "httr2",
    "ini",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "memoise",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 7.907093048193745,
  "_indexed": true,
  "_nocasepkg": "hubutils",
  "_universes": [
    "hubverse-org",
    "annakrystalli"
  ],
  "_previous": "1.2.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-07-15T09:40:40.000Z",
      "distro": "resolute",
      "commit": "9a5854dff72608c495aeac3ba5529738016a41c8",
      "fileid": "https://r2.ropensci.org/c116b36653951cbdc2d5f750e72976528d94dffe80e15e6b74ddf957a5c52bf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-07-15T09:40:30.000Z",
      "distro": "resolute",
      "commit": "9a5854dff72608c495aeac3ba5529738016a41c8",
      "fileid": "https://r2.ropensci.org/391f444950b7c40a39da2f7c788a92f9ae7771509e0c00647720f6af1eb7a1de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-07-15T09:39:50.000Z",
      "commit": "9a5854dff72608c495aeac3ba5529738016a41c8",
      "fileid": "https://r2.ropensci.org/4ce38888800dce670b28a99d92b809eedae0a2874bc033a23619ac4f0b568d61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-07-15T09:39:50.000Z",
      "commit": "9a5854dff72608c495aeac3ba5529738016a41c8",
      "fileid": "https://r2.ropensci.org/e12711e77c0628b9f551edfcf6bc1ac88ab088eb49405c9658c8e118924fdb2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-07-15T09:40:31.000Z",
      "commit": "9a5854dff72608c495aeac3ba5529738016a41c8",
      "fileid": "https://r2.ropensci.org/19b2b21220c2f0676af46fcf93d1017086ab5ad6dcf642a5e6332a88a1d8bb42",
      "status": "success",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-07-15T09:39:46.000Z",
      "commit": "9a5854dff72608c495aeac3ba5529738016a41c8",
      "fileid": "https://r2.ropensci.org/b30ffc5e42b2f91e806f106d84497d04a011060b237c1ba4ea3336cbb4dd0d55",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-07-15T09:39:26.000Z",
      "commit": "9a5854dff72608c495aeac3ba5529738016a41c8",
      "fileid": "https://r2.ropensci.org/e1fb8aae797c10c15c0decf247e98bb4c906ad7ea6071884f78e3108758f13d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-07-15T09:39:23.000Z",
      "commit": "9a5854dff72608c495aeac3ba5529738016a41c8",
      "fileid": "https://r2.ropensci.org/5adc0c0ea29b38ffd151532291ea71b6f4fff2586e0a25aafe82813b061783b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/hubverse-org/actions/runs/29405014706"
    }
  ]
}