{
  "_id": "6a48c617b5e98c40829faffc",
  "Type": "Package",
  "Package": "metatools",
  "Title": "Enable the Use of 'metacore' to Help Create and Check Dataset",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(\"Liam\", \"Hobby\", , \"liam.f.hobby@gsk.com\", role = c(\"aut\", \"cre\")),\nperson(\"Christina\", \"Fillmore\", , \"christina.e.fillmore@gsk.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-0595-2302\")),\nperson(\"Bill\", \"Denney\", role = \"aut\"),\nperson(\"Mike\", \"Stackhouse\", , \"mike.stackhouse@atorusresearch.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-6030-723X\")),\nperson(\"Jana\", \"Stoilova\", , \"jana.stoilova@roche.com\", role = \"aut\"),\nperson(\"Tamara\", \"Senior\", , \"tamara.senior@roche.com\", role = \"aut\"),\nperson(\"GlaxoSmithKline LLC\", role = c(\"cph\", \"fnd\")),\nperson(\"F. Hoffmann-La Roche AG\", role = c(\"cph\", \"fnd\")),\nperson(\"Atorus Research LLC\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Uses the metadata information stored in 'metacore' objects\nto check and build metadata associated columns.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/pharmaverse/metatools,\nhttps://pharmaverse.github.io/metatools/",
  "BugReports": "https://github.com/pharmaverse/metatools/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://pharmaverse.r-universe.dev",
  "Date/Publication": "2026-04-28 10:42:58 UTC",
  "RemoteUrl": "https://github.com/pharmaverse/metatools",
  "RemoteRef": "HEAD",
  "RemoteSha": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-04 07:44:25 UTC",
    "User": "root"
  },
  "Author": "Liam Hobby [aut, cre],\nChristina Fillmore [aut] (ORCID:\n<https://orcid.org/0000-0003-0595-2302>),\nBill Denney [aut],\nMike Stackhouse [aut] (ORCID: <https://orcid.org/0000-0001-6030-723X>),\nJana Stoilova [aut],\nTamara Senior [aut],\nGlaxoSmithKline LLC [cph, fnd],\nF. Hoffmann-La Roche AG [cph, fnd],\nAtorus Research LLC [cph, fnd]",
  "Maintainer": "Liam Hobby <liam.f.hobby@gsk.com>",
  "_user": "pharmaverse",
  "_type": "src",
  "_file": "metatools_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/88cd2f441ffee5a1607b7ce2126f3b377948487d4f2bec40cf7dbae366d9c4dd",
  "_filesize": 390119,
  "_sha256": "88cd2f441ffee5a1607b7ce2126f3b377948487d4f2bec40cf7dbae366d9c4dd",
  "_expires": "2026-10-12T08:36:38.000Z",
  "_created": "2026-07-04T07:44:25.000Z",
  "_published": "2026-07-04T08:36:39.795Z",
  "_jobs": [
    {
      "job": 85115089794,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8079743885"
    },
    {
      "job": 85115089800,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8079745546"
    },
    {
      "job": 85115089781,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8080078403"
    },
    {
      "job": 85115089786,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8080090373"
    },
    {
      "job": 85114924150,
      "time": 169,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8079724187"
    },
    {
      "job": 85115089779,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8079743791"
    },
    {
      "job": 85115089791,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "8079736321"
    },
    {
      "job": 85115089806,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "8079737556"
    },
    {
      "job": 85115089788,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "8079737087"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840",
  "_status": "success",
  "_upstream": "https://github.com/pharmaverse/metatools",
  "_commit": {
    "id": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
    "author": "Liam Hobby <102362579+LiamHobby@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #136 from pharmaverse/supp-messaging\n\nEnhance user experience and package feedback for various functions in R/supp and R/checks",
    "time": 1777372978
  },
  "_maintainer": {
    "name": "Liam Hobby",
    "email": "liam.f.hobby@gsk.com"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "metacore",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "pharmaversesdtm",
      "role": "Suggests"
    },
    {
      "package": "safetyData",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "pharmaverse",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 12
    },
    {
      "week": "2025-29",
      "n": 3
    },
    {
      "week": "2025-50",
      "n": 3
    },
    {
      "week": "2025-51",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 5
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2025-07-15"
    },
    {
      "name": "0.3.0",
      "date": "2026-04-28"
    }
  ],
  "_stars": 23,
  "_contributors": [
    {
      "user": "statasaurus",
      "count": 170,
      "uuid": 55274484
    },
    {
      "user": "jeffreyad",
      "count": 42,
      "uuid": 112705781
    },
    {
      "user": "liamhobby",
      "count": 40,
      "uuid": 102362579
    },
    {
      "user": "mattbearham",
      "count": 15,
      "uuid": 79635317
    },
    {
      "user": "billdenney",
      "count": 13,
      "uuid": 10359931
    },
    {
      "user": "mstackhouse",
      "count": 11,
      "uuid": 31387567
    },
    {
      "user": "anajens",
      "count": 9,
      "uuid": 43623360
    },
    {
      "user": "sadchla-codes",
      "count": 3,
      "uuid": 112789549
    },
    {
      "user": "jonocarroll",
      "count": 2,
      "uuid": 9496865
    },
    {
      "user": "seniort",
      "count": 1,
      "uuid": 51999139
    },
    {
      "user": "copilot",
      "count": 1,
      "uuid": 198982749
    },
    {
      "user": "jimrothstein",
      "count": 1,
      "uuid": 8131839
    },
    {
      "user": "ankonyeni",
      "count": 1,
      "uuid": 61804770
    }
  ],
  "_userbio": {
    "uuid": 84541169,
    "type": "organization",
    "name": "pharmaverse",
    "followers": 608
  },
  "_downloads": {
    "count": 1510,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/metatools"
  },
  "_devurl": "https://github.com/pharmaverse/metatools",
  "_pkgdown": "https://pharmaverse.github.io/metatools/",
  "_searchresults": 196,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/metatools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pharmaverse/metatools",
  "_realowner": "pharmaverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2022-04-20"
    },
    {
      "version": "0.1.3",
      "date": "2022-10-06"
    },
    {
      "version": "0.1.4",
      "date": "2023-02-13"
    },
    {
      "version": "0.1.5",
      "date": "2023-03-13"
    },
    {
      "version": "0.1.6",
      "date": "2024-07-23"
    },
    {
      "version": "0.2.0",
      "date": "2025-07-16"
    },
    {
      "version": "0.3.0",
      "date": "2026-04-28"
    }
  ],
  "_exports": [
    "%>%",
    "add_labels",
    "add_variables",
    "build_from_derived",
    "build_qnam",
    "check_ct_col",
    "check_ct_data",
    "check_unique_keys",
    "check_variables",
    "combine_supp",
    "convert_var_to_fct",
    "create_cat_var",
    "create_subgrps",
    "create_var_from_codelist",
    "drop_unspec_vars",
    "get_bad_ct",
    "make_supp_qual",
    "metatools_example",
    "order_cols",
    "remove_labels",
    "set_variable_labels",
    "sort_by_key"
  ],
  "_help": [
    {
      "page": "add_labels",
      "title": "Apply labels to multiple variables on a data frame",
      "topics": [
        "add_labels"
      ]
    },
    {
      "page": "add_variables",
      "title": "Add Missing Variables",
      "topics": [
        "add_variables"
      ]
    },
    {
      "page": "build_from_derived",
      "title": "Build a dataset from derived",
      "topics": [
        "build_from_derived"
      ]
    },
    {
      "page": "build_qnam",
      "title": "Build the observations for a single QNAM",
      "topics": [
        "build_qnam"
      ]
    },
    {
      "page": "check_ct_col",
      "title": "Check Control Terminology for a Single Column",
      "topics": [
        "check_ct_col"
      ]
    },
    {
      "page": "check_ct_data",
      "title": "Check Control Terminology for a Dataset",
      "topics": [
        "check_ct_data"
      ]
    },
    {
      "page": "check_unique_keys",
      "title": "Check Uniqueness of Records by Key",
      "topics": [
        "check_unique_keys"
      ]
    },
    {
      "page": "check_variables",
      "title": "Check Variable Names",
      "topics": [
        "check_variables"
      ]
    },
    {
      "page": "combine_supp",
      "title": "Combine the Domain and Supplemental Qualifier",
      "topics": [
        "combine_supp"
      ]
    },
    {
      "page": "convert_var_to_fct",
      "title": "Convert Variable to Factor with Levels Set by Control Terms",
      "topics": [
        "convert_var_to_fct"
      ]
    },
    {
      "page": "create_cat_var",
      "title": "Create Categorical Variable from Codelist",
      "topics": [
        "create_cat_var"
      ]
    },
    {
      "page": "create_subgrps",
      "title": "Create Subgroups",
      "topics": [
        "create_subgrps"
      ]
    },
    {
      "page": "create_var_from_codelist",
      "title": "Create Variable from Codelist",
      "topics": [
        "create_var_from_codelist"
      ]
    },
    {
      "page": "drop_unspec_vars",
      "title": "Drop Unspecified Variables",
      "topics": [
        "drop_unspec_vars"
      ]
    },
    {
      "page": "get_bad_ct",
      "title": "Gets vector of control terminology which should be there",
      "topics": [
        "get_bad_ct"
      ]
    },
    {
      "page": "make_supp_qual",
      "title": "Make Supplemental Qualifier",
      "topics": [
        "make_supp_qual"
      ]
    },
    {
      "page": "metatools_example",
      "title": "Get path to pkg example",
      "topics": [
        "metatools_example"
      ]
    },
    {
      "page": "order_cols",
      "title": "Sort Columns by Order",
      "topics": [
        "order_cols"
      ]
    },
    {
      "page": "remove_labels",
      "title": "Remove labels to multiple variables on a data frame",
      "topics": [
        "remove_labels"
      ]
    },
    {
      "page": "set_variable_labels",
      "title": "Apply labels to a data frame using a metacore object",
      "topics": [
        "set_variable_labels"
      ]
    },
    {
      "page": "sort_by_key",
      "title": "Sort Rows by Key Sequence",
      "topics": [
        "sort_by_key"
      ]
    }
  ],
  "_readme": "https://github.com/pharmaverse/metatools/raw/HEAD/README.md",
  "_rundeps": [
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "metacore",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readxl",
    "rematch",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_score": 7.565354614490208,
  "_indexed": true,
  "_nocasepkg": "metatools",
  "_universes": [
    "pharmaverse"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-04T07:46:35.000Z",
      "distro": "resolute",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "https://r2.ropensci.org/dd991a21a2499f0775e1f15f20a8171ee06b5c6f4d7e82147369f97679bea8d2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-07-04T07:46:45.000Z",
      "distro": "resolute",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "https://r2.ropensci.org/803cd54a6ea2bc9b29a3a1b64156d82ea97c90724e81910f1bbca663abb23a30",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-04T08:34:19.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "https://r2.ropensci.org/efb0abb9b1dbc8923afd43acf7b47ad6877cae8999fafc467022658a94cc099d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-07-04T08:35:57.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "https://r2.ropensci.org/9603ac5438a20c8ccee8b8c1730f496f680a5cc5a5e7a2412a22b2d674c797b5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-07-04T07:47:06.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "https://r2.ropensci.org/6c69a583fbf8e5c81f2e5788a6dd85545c9c5ab14e0630820181f38fc74b385b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-04T07:45:29.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "https://r2.ropensci.org/c35101c72cddbfa1dba47af2feebb71efe0a26ea5cf2026cb00d3dce30efbbb7",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-04T07:45:38.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "https://r2.ropensci.org/00abda06986362d62ce70110222a36655353a754dc64c2d04aa0ac4a54c075fd",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-07-04T07:45:34.000Z",
      "commit": "edc08260066d109a6ceaa0377f93ae2de6edfc09",
      "fileid": "https://r2.ropensci.org/803e5925282dd17a17bbdc4642fa07ddcd528b8287848905184648603be7bed9",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/pharmaverse/actions/runs/28699443840"
    }
  ]
}