{
  "_id": "6a197268acfb0bcc41deea59",
  "Package": "adaptr",
  "Title": "Adaptive Trial Simulator",
  "Version": "1.5.0",
  "Date": "2026-03-30",
  "Authors@R": "c(person(\"Anders\", \"Granholm\",\nemail = \"andersgran@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-5799-7655\")),\nperson(\"Benjamin Skov\", \"Kaas-Hansen\",\nemail = \"epiben@hey.com\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0003-1023-0371\")),\nperson(\"Aksel Karl Georg\", \"Jensen\",\nemail = \"akje@sund.ku.dk\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0002-1459-0465\")),\nperson(\"Theis\", \"Lange\",\nemail = \"thlan@sund.ku.dk\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0001-6807-8347\")))",
  "Description": "Package that simulates adaptive (multi-arm, multi-stage)\nclinical trials using adaptive stopping, adaptive arm dropping,\nand/or adaptive randomisation. Developed as part of the INCEPT\n(Intensive Care Platform Trial) project (<https://incept.dk/>),\nprimarily supported by a grant from Sygeforsikringen \"danmark\"\n(<https://www.sygeforsikring.dk/>).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "NeedsCompilation": "no",
  "URL": "https://inceptdk.github.io/adaptr/,\nhttps://github.com/INCEPTdk/adaptr/, https://incept.dk/",
  "BugReports": "https://github.com/INCEPTdk/adaptr/issues/",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Repository": "https://inceptdk.r-universe.dev",
  "Date/Publication": "2026-03-30 10:41:13 UTC",
  "RemoteUrl": "https://github.com/inceptdk/adaptr",
  "RemoteRef": "HEAD",
  "RemoteSha": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
  "Packaged": {
    "Date": "2026-05-29 09:21:47 UTC",
    "User": "root"
  },
  "Author": "Anders Granholm [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-5799-7655>),\nBenjamin Skov Kaas-Hansen [aut] (ORCID:\n<https://orcid.org/0000-0003-1023-0371>),\nAksel Karl Georg Jensen [ctb] (ORCID:\n<https://orcid.org/0000-0002-1459-0465>),\nTheis Lange [ctb] (ORCID: <https://orcid.org/0000-0001-6807-8347>)",
  "Maintainer": "Anders Granholm <andersgran@gmail.com>",
  "MD5sum": "98a52e55cfbece88a7b483f559222bc6",
  "_user": "inceptdk",
  "_type": "src",
  "_file": "adaptr_1.5.0.tar.gz",
  "_fileid": "d951ad0cf487c6c2f33800215f999fae65a3b0a3af30b85e7c1f9936e28cec89",
  "_filesize": 4820619,
  "_sha256": "d951ad0cf487c6c2f33800215f999fae65a3b0a3af30b85e7c1f9936e28cec89",
  "_created": "2026-05-29T09:21:47.000Z",
  "_published": "2026-05-29T11:03:04.255Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78473566612,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7287451048"
    },
    {
      "job": 78473566623,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287452917"
    },
    {
      "job": 78473566638,
      "time": 226,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7289142069"
    },
    {
      "job": 78473566650,
      "time": 222,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7289142644"
    },
    {
      "job": 78473043415,
      "time": 202,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287394297"
    },
    {
      "job": 78473566608,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287427136"
    },
    {
      "job": 78473566628,
      "time": 170,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7287448802"
    },
    {
      "job": 78473566633,
      "time": 142,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7287439984"
    },
    {
      "job": 78473566625,
      "time": 146,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7287441463"
    }
  ],
  "_buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/inceptdk/adaptr",
  "_commit": {
    "id": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
    "author": "agranholm <andersgran@gmail.com>",
    "committer": "agranholm <andersgran@gmail.com>",
    "message": "Merge branch 'dev'\n",
    "time": 1774867273
  },
  "_maintainer": {
    "name": "Anders Granholm",
    "email": "andersgran@gmail.com",
    "login": "agranholm",
    "bluesky": "@agranholm.bsky.social",
    "description": "",
    "uuid": 38884008,
    "orcid": "0000-0001-5799-7655"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "vdiffr",
      "role": "Suggests"
    }
  ],
  "_owner": "inceptdk",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.5.0",
      "date": "2026-03-27"
    }
  ],
  "_stars": 16,
  "_contributors": [
    {
      "user": "agranholm",
      "count": 218,
      "uuid": 38884008
    },
    {
      "user": "epiben",
      "count": 66,
      "uuid": 24407836
    }
  ],
  "_userbio": {
    "uuid": 82316354,
    "type": "organization",
    "name": "INCEPT",
    "description": "The Intensive Care Platform Trial research programme"
  },
  "_downloads": {
    "count": 638,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/adaptr"
  },
  "_devurl": "https://github.com/inceptdk/adaptr",
  "_pkgdown": "https://inceptdk.github.io/adaptr/",
  "_searchresults": 15,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/adaptr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/inceptdk/adaptr",
  "_realowner": "inceptdk",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-03-15"
    },
    {
      "version": "1.1.0",
      "date": "2022-06-17"
    },
    {
      "version": "1.1.1",
      "date": "2022-08-16"
    },
    {
      "version": "1.2.0",
      "date": "2022-12-13"
    },
    {
      "version": "1.3.0",
      "date": "2023-03-31"
    },
    {
      "version": "1.3.1",
      "date": "2023-05-02"
    },
    {
      "version": "1.3.2",
      "date": "2023-08-21"
    },
    {
      "version": "1.4.0",
      "date": "2024-05-03"
    },
    {
      "version": "1.5.0",
      "date": "2026-03-30"
    }
  ],
  "_exports": [
    "calibrate_trial",
    "check_performance",
    "check_remaining_arms",
    "extract_results",
    "find_beta_params",
    "plot_convergence",
    "plot_history",
    "plot_metrics_ecdf",
    "plot_status",
    "run_trial",
    "run_trials",
    "setup_cluster",
    "setup_trial",
    "setup_trial_binom",
    "setup_trial_norm",
    "update_saved_calibration",
    "update_saved_trials"
  ],
  "_help": [
    {
      "page": "adaptr-package",
      "title": "adaptr: Adaptive Trial Simulator",
      "topics": [
        "adaptr-package",
        "adaptr"
      ]
    },
    {
      "page": "calibrate_trial",
      "title": "Calibrate trial specification",
      "topics": [
        "calibrate_trial"
      ]
    },
    {
      "page": "check_performance",
      "title": "Check performance metrics for trial simulations",
      "topics": [
        "check_performance"
      ]
    },
    {
      "page": "check_remaining_arms",
      "title": "Check remaining arm combinations",
      "topics": [
        "check_remaining_arms"
      ]
    },
    {
      "page": "extract_results",
      "title": "Extract simulation results",
      "topics": [
        "extract_results"
      ]
    },
    {
      "page": "find_beta_params",
      "title": "Find beta distribution parameters from thresholds",
      "topics": [
        "find_beta_params"
      ]
    },
    {
      "page": "plot_convergence",
      "title": "Plot convergence of performance metrics",
      "topics": [
        "plot_convergence"
      ]
    },
    {
      "page": "plot_history",
      "title": "Plot trial metric history",
      "topics": [
        "plot_history",
        "plot_history.trial_result",
        "plot_history.trial_results"
      ]
    },
    {
      "page": "plot_metrics_ecdf",
      "title": "Plot empirical cumulative distribution functions of performance metrics",
      "topics": [
        "plot_metrics_ecdf"
      ]
    },
    {
      "page": "plot_status",
      "title": "Plot statuses",
      "topics": [
        "plot_status",
        "plot_status.trial_results"
      ]
    },
    {
      "page": "print",
      "title": "Print methods for adaptive trial objects",
      "topics": [
        "print",
        "print.trial_calibration",
        "print.trial_performance",
        "print.trial_result",
        "print.trial_results",
        "print.trial_results_summary",
        "print.trial_spec"
      ]
    },
    {
      "page": "run_trial",
      "title": "Simulate a single trial",
      "topics": [
        "run_trial"
      ]
    },
    {
      "page": "run_trials",
      "title": "Simulate multiple trials",
      "topics": [
        "run_trials"
      ]
    },
    {
      "page": "setup_cluster",
      "title": "Setup default cluster for use in parallelised adaptr functions",
      "topics": [
        "setup_cluster"
      ]
    },
    {
      "page": "setup_trial",
      "title": "Setup a generic trial specification",
      "topics": [
        "setup_trial"
      ]
    },
    {
      "page": "setup_trial_binom",
      "title": "Setup a trial specification using a binary, binomially distributed outcome",
      "topics": [
        "setup_trial_binom"
      ]
    },
    {
      "page": "setup_trial_norm",
      "title": "Setup a trial specification using a continuous, normally distributed outcome",
      "topics": [
        "setup_trial_norm"
      ]
    },
    {
      "page": "summary",
      "title": "Summary of simulated trial results",
      "topics": [
        "summary",
        "summary.trial_results"
      ]
    },
    {
      "page": "update_saved_calibration",
      "title": "Update previously saved calibration result",
      "topics": [
        "update_saved_calibration"
      ]
    },
    {
      "page": "update_saved_trials",
      "title": "Update previously saved simulation results",
      "topics": [
        "update_saved_trials"
      ]
    }
  ],
  "_readme": "https://github.com/inceptdk/adaptr/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "Advanced-example.Rmd",
      "filename": "Advanced-example.html",
      "title": "Advanced example",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preamble",
        "Functions for generating outcomes",
        "Functions for drawing posterior samples",
        "Informative priors",
        "Defining the function to generate posterior draws",
        "Specifying the function to calculate raw outcome estimates",
        "Setup the trial specification"
      ],
      "created": "2022-03-14 07:31:19",
      "modified": "2026-03-27 13:38:02",
      "commits": 6
    },
    {
      "source": "Basic-examples.Rmd",
      "filename": "Basic-examples.html",
      "title": "Basic examples",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Trial designs without a common control arm",
        "Example 1: general settings",
        "Example 2: equivalence testing, decreasing softening",
        "Trial designs with a common control arm",
        "Example 3: common control and sqrt-based fixed allocation",
        "Example 4: sqrt-based initial allocation and restricted RAR",
        "Example 5: sqrt-based allocation only to initial control arm",
        "Example 6: restricted RAR, matched control-arm allocation",
        "Example 7: follow-up and data collection lag",
        "Example 8: different probability thresholds over time",
        "Example 9: minimum allocation probabilities rescaled when arms are dropped",
        "Example 10: adaptation rule probability thresholds rescaled when arms are dropped"
      ],
      "created": "2022-03-14 07:31:19",
      "modified": "2026-03-27 13:38:02",
      "commits": 5
    },
    {
      "source": "Overview.Rmd",
      "filename": "Overview.html",
      "title": "Overview",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage and workflow overview",
        "Setup",
        "Specify trial design",
        "Calibration",
        "Summarising results",
        "Visualising results",
        "Use calibrated stopping thresholds in another scenario",
        "Citation"
      ],
      "created": "2022-03-14 07:31:19",
      "modified": "2026-03-30 10:41:13",
      "commits": 9
    }
  ],
  "_score": 5.857332496431269,
  "_indexed": true,
  "_nocasepkg": "adaptr",
  "_universes": [
    "inceptdk",
    "agranholm"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-05-29T09:24:08.000Z",
      "distro": "noble",
      "commit": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
      "fileid": "72285c368fd9f1a69379eec30b9b2b13af66b0c191e4b8403fda25a96623389c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.0",
      "date": "2026-05-29T09:24:19.000Z",
      "distro": "noble",
      "commit": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
      "fileid": "201eb65ed5f3b1dbebf6ec8784235a44b81065642a1af2cc77672b371c156c20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-05-29T11:01:09.000Z",
      "commit": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
      "fileid": "e4b23a12d1ab47bafce4d7cde43f19a2c5062aa05e079585a7cc675c9504a4f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.0",
      "date": "2026-05-29T11:01:21.000Z",
      "commit": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
      "fileid": "62e049d1087f0560c0856c805da60b7fda866f5b830b79cf9589ec0358199a80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.0",
      "date": "2026-05-29T09:23:57.000Z",
      "commit": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
      "fileid": "cafed2506c94cd5c2d8eaf258b4b0cadab0964ad41b26bc9ce7310b60588fdfa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-29T09:23:18.000Z",
      "commit": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
      "fileid": "4d2c3ccf88dbfc091656718535bea50df4d856ca5e223fc98fff4a7d7972a90d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-29T09:23:08.000Z",
      "commit": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
      "fileid": "e43de3d037599aa49600fe78e0e624e0874cefb6a76f6a76006e6c94d81b6e7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.0",
      "date": "2026-05-29T09:23:32.000Z",
      "commit": "46c40b0c5c43569ba31b6c6b91669a667dfa13ea",
      "fileid": "a3f57c4c1cd105772a295da48b1a870f882d3e6caeff9cc48d4889a21c435532",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/inceptdk/actions/runs/26629054819"
    }
  ]
}