{
  "_id": "6ad625f9c5cddeca72013093",
  "Package": "mighty",
  "Title": "ADaM Program Generation Through Declarative Specifications",
  "Version": "0.0.0.9042",
  "Authors@R": "c(\nperson(\"Matthew\", \"Phelps\", , \"mewp@novonordisk.com\", role = c(\"aut\", \"cre\")),\nperson(\"Nicolai\", \"Skov Johnsen\", , \"nosj@novonordisk.com\", role = \"aut\"),\nperson(\"Aksel\", \"Thomsen\", , \"oath@novonordisk.com\", role = \"aut\"),\nperson(\"Michael Hedegaard\", \"Thomsen\", , \"mhzt@novonordisk.com\", role = \"aut\")\n)",
  "Description": "Provides tools for generating ADaM programs in clinical\ntrials using a declarative approach. Users specify what data\nstructure and derivations they need through YAML-based\nspecifications, rather than writing imperative code. The\npackage handles dependency tracking between columns and rows,\norchestrates code components, and automatically generates\nexecutable R programs for ADaM dataset creation.",
  "License": "Apache License (>= 2)",
  "URL": "https://novonordisk-opensource.github.io/mighty/",
  "VignetteBuilder": "knitr, quarto",
  "Remotes": [
    "NovoNordisk-OpenSource/mighty.component",
    "NovoNordisk-OpenSource/mighty.metadata"
  ],
  "Config/roxygen2/version": "8.1.1",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "cmake libglpk-dev make libuv1-dev libxml2-dev",
  "Repository": "https://novonordisk-opensource.r-universe.dev",
  "Date/Publication": "2026-10-19 08:17:12 UTC",
  "RemoteUrl": "https://github.com/NovoNordisk-OpenSource/mighty",
  "RemoteRef": "HEAD",
  "RemoteSha": "7953dd03f9c5086a195692735b90df75d8ab3382",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-19 13:56:01 UTC",
    "User": "root"
  },
  "Author": "Matthew Phelps [aut, cre],\nNicolai Skov Johnsen [aut],\nAksel Thomsen [aut],\nMichael Hedegaard Thomsen [aut]",
  "Maintainer": "Matthew Phelps <mewp@novonordisk.com>",
  "_user": "novonordisk-opensource",
  "_type": "src",
  "_file": "mighty_0.0.0.9042.tar.gz",
  "_fileid": "https://r2.ropensci.org/24eb975f12c10cce3860ab1c8c402fda6f5e97d499d7d71f320d4bb68a01573c",
  "_filesize": 959371,
  "_sha256": "24eb975f12c10cce3860ab1c8c402fda6f5e97d499d7d71f320d4bb68a01573c",
  "_expires": "2027-01-27T14:15:18.000Z",
  "_created": "2026-10-19T13:56:01.000Z",
  "_published": "2026-10-19T14:15:20.960Z",
  "_buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 118100295904,
      "time": 275,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12193026108"
    },
    {
      "job": 118100295986,
      "time": 276,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12192976109"
    },
    {
      "job": 118100296904,
      "time": 318,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12193957016"
    },
    {
      "job": 118100295992,
      "time": 237,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12192273239"
    },
    {
      "job": 118097405626,
      "time": 342,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12192860435"
    },
    {
      "job": 118100295864,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12192576180"
    },
    {
      "job": 118100296171,
      "time": 294,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12192796389"
    },
    {
      "job": 118100295942,
      "time": 280,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12193151041"
    },
    {
      "job": 118100295968,
      "time": 291,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12193201031"
    }
  ],
  "_upstream": "https://github.com/NovoNordisk-OpenSource/mighty",
  "_commit": {
    "id": "7953dd03f9c5086a195692735b90df75d8ab3382",
    "author": "Matthew Phelps <mewp@novonordisk.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Collapse global filters into one string (#78)\n\nWhen a spec has more than one population.global filter, the generated\nprogram repeated the filter step once per filter. Each copy held all\nthe filters. For example, with two filters the ADLB program had:\n\n    ADLB <- ADLB |>\n      dplyr::filter(!is.na(SEX),AGE > 18)\n\n    ADLB <- ADLB |>\n      dplyr::filter(!is.na(SEX),AGE > 18)\n\nNow it has the step once:\n\n    ADLB <- ADLB |>\n      dplyr::filter(!is.na(SEX), AGE > 18)\n\nThe result data do not change, because filter(a, b) is the same as\na & b. Only the generated code changes.\n\nCause: params_domain_filter_code() gave the template a vector of\nfilters, but the template expects one string, so whisker repeated the\nsection once per filter. The function now joins the filters with\n\", \", so each filter stays a separate filter() argument. It still\nreturns NULL when there is no filter. The template does not change.\n\nThe global_filter description in the special components vignette now\ndescribes the joined string.\n\nCloses #73",
    "time": 1792397832
  },
  "_maintainer": {
    "name": "Matthew Phelps",
    "email": "mewp@novonordisk.com",
    "login": "matthew-phelps",
    "description": "",
    "uuid": 11329685
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "igraph",
      "role": "Imports"
    },
    {
      "package": "mighty.component",
      "version": ">= 0.1.0.9005",
      "role": "Imports"
    },
    {
      "package": "mighty.metadata",
      "version": ">= 0.1.0.9006",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "S7",
      "role": "Imports"
    },
    {
      "package": "S7schema",
      "role": "Imports"
    },
    {
      "package": "styler",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "visNetwork",
      "role": "Imports"
    },
    {
      "package": "zephyr",
      "role": "Imports"
    },
    {
      "package": "admiral",
      "role": "Suggests"
    },
    {
      "package": "arrow",
      "role": "Suggests"
    },
    {
      "package": "connector",
      "role": "Suggests"
    },
    {
      "package": "gh",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "labelled",
      "role": "Suggests"
    },
    {
      "package": "pharmaverseadam",
      "role": "Suggests"
    },
    {
      "package": "pharmaversesdtm",
      "version": ">= 0.2.0",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tools",
      "role": "Suggests"
    },
    {
      "package": "whisker",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "yaml",
      "role": "Suggests"
    }
  ],
  "_owner": "novonordisk-opensource",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 5
    },
    {
      "week": "2025-51",
      "n": 4
    },
    {
      "week": "2026-02",
      "n": 8
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 3
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 4
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 3
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 5
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 2
    },
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-42",
      "n": 7
    },
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "nsjohnsen",
      "count": 122,
      "uuid": 99595467
    },
    {
      "user": "matthew-phelps",
      "count": 75,
      "uuid": 11329685
    },
    {
      "user": "michaelhedegaardthomsen",
      "count": 41,
      "uuid": 118285646
    },
    {
      "user": "akselthomsen",
      "count": 7,
      "uuid": 14150030
    },
    {
      "user": "domsle",
      "count": 1,
      "uuid": 18559095
    }
  ],
  "_userbio": {
    "uuid": 129066790,
    "type": "organization",
    "name": "NovoNordisk-OpenSource",
    "followers": 58
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mighty"
  },
  "_devurl": "https://github.com/novonordisk-opensource/mighty",
  "_pkgdown": "https://novonordisk-opensource.github.io/mighty/",
  "_searchresults": 4,
  "_quarto": true,
  "_topics": [
    "quarto"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mighty.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "generate_adam_code",
    "write_adam_programs"
  ],
  "_help": [
    {
      "page": "generate_adam_code",
      "title": "Generate Complete Set of ADaM Programs",
      "topics": [
        "generate_adam_code"
      ]
    },
    {
      "page": "write_adam_programs",
      "title": "Write ADaM Programs to Disk",
      "topics": [
        "write_adam_programs"
      ]
    }
  ],
  "_readme": "https://github.com/NovoNordisk-OpenSource/mighty/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cpp11",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "glue",
    "highr",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "jquerylib",
    "jsonlite",
    "knitr",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "memoise",
    "mighty.component",
    "mighty.metadata",
    "mime",
    "pillar",
    "pkgconfig",
    "purrr",
    "QuickJSR",
    "R.cache",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "rlang",
    "rmarkdown",
    "rprojroot",
    "S7",
    "S7schema",
    "sass",
    "styler",
    "tibble",
    "tidyselect",
    "tinytex",
    "utf8",
    "vctrs",
    "visNetwork",
    "whisker",
    "withr",
    "xfun",
    "xml2",
    "xmlparsedata",
    "yaml",
    "zephyr"
  ],
  "_vignettes": [
    {
      "source": "adam_specification.qmd",
      "filename": "adam_specification.html",
      "title": "adam_specification",
      "engine": "quarto::html",
      "headings": [
        "Overview",
        "General structure",
        "Domain identifier",
        "Required Field",
        "Example",
        "Primary keys",
        "Label",
        "Class",
        "Common values",
        "Structure",
        "Population",
        "Filter execution order",
        "Base domains",
        "Domain-specific filtering",
        "Global filters",
        "Using external domains in global filters",
        "Simple example",
        "Complex example",
        "Key Points",
        "Columns",
        "Fields",
        "The method field",
        "Component object",
        "Examples",
        "Simple column operations",
        "Derived columns",
        "Examples (continued):",
        "Summary of column rules",
        "Component reuse rules",
        "One component, multiple output columns",
        "Same component, different parameters",
        "Overlapping outputs cause an error",
        "Cross-domain reuse",
        "No intermediate columns",
        "Row operations",
        "Parameters",
        "Row vs. parameter operations"
      ],
      "created": "2025-12-18 09:46:21",
      "modified": "2026-10-16 13:41:50",
      "commits": 19
    },
    {
      "source": "code_components.qmd",
      "filename": "code_components.html",
      "title": "Code Components",
      "engine": "quarto::html",
      "headings": [
        "Overview",
        "Component types",
        "Component Structure",
        "Metadata Header",
        "Metadata Tags",
        "@title",
        "@description",
        "@param",
        "@type",
        "@origin",
        "@method",
        "@depends",
        "@outputs",
        "@code",
        "R Script Components",
        "When to Use",
        "Code Structure",
        "Example: Simple Column Derivation",
        "Example: Dependent Derivation",
        "Example: Multiple Dependencies",
        "Mustache Template Components",
        "Template Syntax",
        "Example: Parameterized Column Derivation",
        "Example: Reusing Templates with Different Parameters",
        "Handling external dependencies",
        "Standard vs. custom components",
        "How mighty finds a component",
        "In-built components"
      ],
      "created": "2025-06-12 09:08:06",
      "modified": "2026-10-12 13:07:28",
      "commits": 14
    },
    {
      "source": "connect_to_data.qmd",
      "filename": "connect_to_data.html",
      "title": "connect_to_data",
      "engine": "quarto::html",
      "headings": [],
      "created": "2025-06-17 06:35:50",
      "modified": "2026-04-08 08:13:03",
      "commits": 6
    },
    {
      "source": "dev_documentation.qmd",
      "filename": "dev_documentation.html",
      "title": "dev_documentation",
      "engine": "quarto::html",
      "headings": [
        "Types of nodes"
      ],
      "created": "2025-06-12 09:08:06",
      "modified": "2026-09-01 13:23:53",
      "commits": 5
    },
    {
      "source": "mighty_config.qmd",
      "filename": "mighty_config.html",
      "title": "Framework configuration (_mighty.yml)",
      "engine": "quarto::html",
      "headings": [
        "Overview",
        "External data",
        "Example:",
        "Component repositories",
        "Component IDs"
      ],
      "created": "2026-04-22 06:06:09",
      "modified": "2026-10-12 13:07:28",
      "commits": 3
    },
    {
      "source": "mighty.qmd",
      "filename": "mighty.html",
      "title": "Get Started",
      "engine": "quarto::html",
      "headings": [
        "Your first mighty ADaM program",
        "Study directory guidelines",
        "Set up your framework configuration file",
        "Set up your ADaM specification",
        "Define your custom component",
        "Render the ADaM program"
      ],
      "created": "2025-06-12 09:08:06",
      "modified": "2026-10-16 13:41:50",
      "commits": 22
    },
    {
      "source": "inputs_overview.qmd",
      "filename": "inputs_overview.html",
      "title": "Inputs Overview",
      "engine": "quarto::html",
      "headings": [
        "Overview",
        "Framework configuration (_mighty.yml)",
        "ADaM Specification",
        "Code Components",
        "Study properties (_study.yml)",
        "Data Model Metadata (optional)"
      ],
      "created": "2025-12-18 09:46:21",
      "modified": "2026-04-22 06:06:09",
      "commits": 5
    },
    {
      "source": "missing_data_analysis.qmd",
      "filename": "missing_data_analysis.html",
      "title": "Missing Data Analysis",
      "engine": "quarto::html",
      "headings": [
        "Overview",
        "Types of missing data",
        "Workflow"
      ],
      "created": "2025-12-18 09:46:21",
      "modified": "2026-08-19 15:09:36",
      "commits": 4
    },
    {
      "source": "special_components.qmd",
      "filename": "special_components.html",
      "title": "Special components",
      "engine": "quarto::html",
      "headings": [
        "Three stages of code generation",
        "Template syntax",
        "The keep_vars pipeline",
        "mighty_read_data",
        "Example",
        "Parameters",
        "connector_path_expr",
        "domains",
        "How data_type is determined",
        "When is_current_domain is TRUE",
        "mighty_init_domain",
        "domain",
        "keep_vars",
        "source_domain_rbind",
        "src_mutations",
        "mighty_filter_domain",
        "joins",
        "domain_filter",
        "global_filter",
        "mighty_col_mutate",
        "rename_var",
        "source_var",
        "mighty_col_rename",
        "mighty_col_echo",
        "join_dataset",
        "select_expr",
        "by_vars",
        "needs_rename",
        "output_var / var_to_add",
        "mighty_write_data",
        "file_ext",
        "row_order_vars"
      ],
      "created": "2026-05-28 07:33:22",
      "modified": "2026-10-19 08:17:12",
      "commits": 7
    }
  ],
  "_score": 6.087781417809542,
  "_indexed": true,
  "_nocasepkg": "mighty",
  "_universes": [
    "novonordisk-opensource",
    "matthew-phelps"
  ],
  "_previous": "0.0.0.9041",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.0.9042",
      "date": "2026-10-19T13:58:26.000Z",
      "distro": "resolute",
      "commit": "7953dd03f9c5086a195692735b90df75d8ab3382",
      "fileid": "https://r2.ropensci.org/57d6bea259d8c6ebf2ba5513328064d90b57144015c8ad54e91a73d293ab803d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.0.9042",
      "date": "2026-10-19T13:58:45.000Z",
      "distro": "resolute",
      "commit": "7953dd03f9c5086a195692735b90df75d8ab3382",
      "fileid": "https://r2.ropensci.org/d39d04b1421915a465d2a0ed99185daf1e71de344bb0cac71419caed85f7bae1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.0.9042",
      "date": "2026-10-19T14:12:29.000Z",
      "commit": "7953dd03f9c5086a195692735b90df75d8ab3382",
      "fileid": "https://r2.ropensci.org/c16d8b991b195234f1d4f6127a42039debb5dab61feedccbe8da7a2231e180d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.0.9042",
      "date": "2026-10-19T14:06:05.000Z",
      "commit": "7953dd03f9c5086a195692735b90df75d8ab3382",
      "fileid": "https://r2.ropensci.org/6a086005f1ce583f82e06a854a67bf8e3e9fb7be60d84efe3a8c93fa7b6586cc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.0.9042",
      "date": "2026-10-19T13:58:17.000Z",
      "commit": "7953dd03f9c5086a195692735b90df75d8ab3382",
      "fileid": "https://r2.ropensci.org/b8de7521c33cfa6b91400ea82aa16e567867d0dd5d5731f7d0122fef79a1979b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.0.9042",
      "date": "2026-10-19T13:58:08.000Z",
      "commit": "7953dd03f9c5086a195692735b90df75d8ab3382",
      "fileid": "https://r2.ropensci.org/199019921f83f29edf987323f4f0cd776ddf6769ef18485cf65b913c6fa64436",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.0.9042",
      "date": "2026-10-19T13:58:07.000Z",
      "commit": "7953dd03f9c5086a195692735b90df75d8ab3382",
      "fileid": "https://r2.ropensci.org/30c6eaf4b2c729f42803566c66207362ab3ea8ba3f0d22dad82dea5347b427aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.0.9042",
      "date": "2026-10-19T13:58:17.000Z",
      "commit": "7953dd03f9c5086a195692735b90df75d8ab3382",
      "fileid": "https://r2.ropensci.org/42dc5d0baa6cd6f7bd1b688e84cdb0889e26f6f404565977fb25b2f238d247d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/novonordisk-opensource/actions/runs/39263578881"
    }
  ]
}