{
  "_id": "6a27aa8824555f66ed53414c",
  "Package": "DTEAssurance",
  "Type": "Package",
  "Title": "Assurance Methods for Clinical Trials with a Delayed Treatment\nEffect",
  "Version": "1.1.0",
  "Authors@R": "person(\"James\", \"Salsbury\", email = \"jsalsbury1@sheffield.ac.uk\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2584-3640\"))",
  "Description": "Provides functions for planning clinical trials subject to\na delayed treatment effect using assurance-based methods.\nIncludes two 'shiny' applications for interactive exploration,\nsimulation, and visualisation of trial designs and outcomes.\nThe methodology is described in: Salsbury JA, Oakley JE,\nJulious SA, Hampson LV (2024) \"Assurance methods for designing\na clinical trial with a delayed treatment effect\"\n<doi:10.1002/sim.10136>, Salsbury JA, Oakley JE, Julious SA,\nHampson LV (2024) \"Adaptive clinical trial design with delayed\ntreatment effects using elicited prior distributions\"\n<doi:10.48550/arXiv.2509.07602>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Date": "2025-12-02",
  "URL": "https://jamesalsbury.github.io/DTEAssurance/",
  "Config/pak/sysreqs": "cmake make libicu-dev libjpeg-dev libpng-dev\nlibuv1-dev libxml2-dev libssl-dev zlib1g-dev",
  "Repository": "https://jamesalsbury.r-universe.dev",
  "Date/Publication": "2026-05-09 11:30:02 UTC",
  "RemoteUrl": "https://github.com/jamesalsbury/dteassurance",
  "RemoteRef": "HEAD",
  "RemoteSha": "8936ad766168fe14241533909a04d5b8672e4216",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 06:39:38 UTC",
    "User": "root"
  },
  "Author": "James Salsbury [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2584-3640>)",
  "Maintainer": "James Salsbury <jsalsbury1@sheffield.ac.uk>",
  "MD5sum": "9696907e01ddab02d4373d56af2406ec",
  "_user": "jamesalsbury",
  "_type": "src",
  "_file": "DTEAssurance_1.1.0.tar.gz",
  "_fileid": "225b32ae3b0a283f26f2b6340414783c69bcc88e73f52cc13abea68c12d5ba86",
  "_filesize": 1175709,
  "_sha256": "225b32ae3b0a283f26f2b6340414783c69bcc88e73f52cc13abea68c12d5ba86",
  "_created": "2026-06-08T06:39:38.000Z",
  "_published": "2026-06-09T05:54:16.427Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80256581718,
      "time": 278,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7473245411"
    },
    {
      "job": 80256581976,
      "time": 263,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473241921"
    },
    {
      "job": 80256581432,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7499540282"
    },
    {
      "job": 80256581430,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7499566373"
    },
    {
      "job": 80256581574,
      "time": 272,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473176047"
    },
    {
      "job": 80256581740,
      "time": 199,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7473226230"
    },
    {
      "job": 80256581469,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7499490576"
    },
    {
      "job": 80256581491,
      "time": 104,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7499493234"
    },
    {
      "job": 80256581455,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7499496497"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jamesalsbury/dteassurance",
  "_commit": {
    "id": "8936ad766168fe14241533909a04d5b8672e4216",
    "author": "James Salsbury <jamesalsbury1@gmail.com>",
    "committer": "James Salsbury <jamesalsbury1@gmail.com>",
    "message": "Merge branch 'main' of https://github.com/jamesalsbury/DTEAssurance\n",
    "time": 1778326202
  },
  "_maintainer": {
    "name": "James Salsbury",
    "email": "jsalsbury1@sheffield.ac.uk",
    "login": "jamesalsbury",
    "twitter": "@jamesalsbury",
    "description": "Statistics PhD student at the University of Sheffield. My project is looking at Assurance Methods for Adaptive Clinical Trials.",
    "uuid": 71822195,
    "orcid": "0000-0002-2584-3640"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "SHELF",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "nleqslv",
      "role": "Imports"
    },
    {
      "package": "nph",
      "role": "Imports"
    },
    {
      "package": "nphRCT",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "rpact",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "rjags",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinyAce",
      "role": "Suggests"
    },
    {
      "package": "shinyBS",
      "role": "Suggests"
    },
    {
      "package": "shinyjs",
      "role": "Suggests"
    },
    {
      "package": "rhandsontable",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    }
  ],
  "_owner": "jamesalsbury",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-27",
      "n": 4
    },
    {
      "week": "2025-28",
      "n": 3
    },
    {
      "week": "2025-34",
      "n": 3
    },
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2025-38",
      "n": 5
    },
    {
      "week": "2025-39",
      "n": 5
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 5
    },
    {
      "week": "2025-48",
      "n": 12
    },
    {
      "week": "2025-49",
      "n": 5
    },
    {
      "week": "2026-19",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jamesalsbury",
      "count": 153,
      "uuid": 71822195
    }
  ],
  "_userbio": {
    "uuid": 71822195,
    "type": "user",
    "name": "James Salsbury",
    "description": "Statistics PhD student at the University of Sheffield. My project is looking at Assurance Methods for Adaptive Clinical Trials."
  },
  "_downloads": {
    "count": 148,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DTEAssurance"
  },
  "_devurl": "https://github.com/jamesalsbury/dteassurance",
  "_pkgdown": "https://jamesalsbury.github.io/DTEAssurance/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DTEAssurance.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jamesalsbury/dteassurance",
  "_realowner": "jamesalsbury",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-10-14"
    },
    {
      "version": "1.0.1",
      "date": "2025-10-24"
    },
    {
      "version": "1.1.0",
      "date": "2025-12-02"
    }
  ],
  "_exports": [
    "%>%",
    "add_recruitment_time",
    "assurance_adaptive_shiny_app",
    "assurance_shiny_app",
    "BPP_func",
    "calc_dte_assurance",
    "calc_dte_assurance_adaptive",
    "calibrate_BPP_threshold",
    "calibrate_BPP_timing",
    "cens_data",
    "sim_dte",
    "survival_test",
    "update_priors"
  ],
  "_datasets": [
    {
      "name": "INTEREST",
      "title": "INTEREST data set",
      "object": "INTEREST",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Survival time",
        "Status"
      ],
      "rows": 710,
      "table": true,
      "tojson": true
    },
    {
      "name": "MCMC_sample",
      "title": "MCMC_sample",
      "object": "MCMC_sample",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "x"
      ],
      "rows": 100000,
      "table": true,
      "tojson": true
    },
    {
      "name": "REVEL",
      "title": "REVEL data set",
      "object": "REVEL",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Survival time",
        "Status"
      ],
      "rows": 625,
      "table": true,
      "tojson": true
    },
    {
      "name": "ZODIAC",
      "title": "ZODIAC data set",
      "object": "ZODIAC",
      "class": [
        "spec_tbl_df",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Survival time",
        "Status"
      ],
      "rows": 697,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_recruitment_time",
      "title": "Add recruitment time to a survival dataset",
      "topics": [
        "add_recruitment_time"
      ]
    },
    {
      "page": "assurance_adaptive_shiny_app",
      "title": "Launch the 'shiny' adaptive assurance app",
      "topics": [
        "assurance_adaptive_shiny_app"
      ]
    },
    {
      "page": "assurance_shiny_app",
      "title": "Launch the 'shiny' Assurance app",
      "topics": [
        "assurance_shiny_app"
      ]
    },
    {
      "page": "BPP_func",
      "title": "Calculate Bayesian Predictive Probability given interim data and posterior samples",
      "topics": [
        "BPP_func"
      ]
    },
    {
      "page": "calc_dte_assurance",
      "title": "Calculate Assurance for a Trial with a Delayed Treatment Effect",
      "topics": [
        "calc_dte_assurance"
      ]
    },
    {
      "page": "calc_dte_assurance_adaptive",
      "title": "Calculates operating characteristics for a Group Sequential Trial with a Delayed Treatment Effect",
      "topics": [
        "calc_dte_assurance_adaptive"
      ]
    },
    {
      "page": "calibrate_BPP_threshold",
      "title": "Function to calculate the 'optimal' BPP threshold value",
      "topics": [
        "calibrate_BPP_threshold"
      ]
    },
    {
      "page": "calibrate_BPP_timing",
      "title": "Function to calculate the 'optimal' information fraction to calculate BPP",
      "topics": [
        "calibrate_BPP_timing"
      ]
    },
    {
      "page": "cens_data",
      "title": "Censor a survival dataset",
      "topics": [
        "cens_data"
      ]
    },
    {
      "page": "INTEREST",
      "title": "INTEREST data set",
      "topics": [
        "INTEREST"
      ]
    },
    {
      "page": "MCMC_sample",
      "title": "MCMC_sample",
      "topics": [
        "MCMC_sample"
      ]
    },
    {
      "page": "REVEL",
      "title": "REVEL data set",
      "topics": [
        "REVEL"
      ]
    },
    {
      "page": "sim_dte",
      "title": "Simulates survival times for a delayed treatment effect (DTE) scenario, where the treatment group experiences a delayed onset of benefit. Control and treatment groups are generated under exponential or Weibull distributions.",
      "topics": [
        "sim_dte"
      ]
    },
    {
      "page": "survival_test",
      "title": "Calculate statistical significance on a survival dataset",
      "topics": [
        "survival_test"
      ]
    },
    {
      "page": "update_priors",
      "title": "Update prior distributions using interim survival data",
      "topics": [
        "update_priors"
      ]
    },
    {
      "page": "ZODIAC",
      "title": "ZODIAC data set",
      "topics": [
        "ZODIAC"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "assertthat",
    "backports",
    "base64enc",
    "bbmle",
    "bdsmatrix",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "checkmate",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "colourpicker",
    "commonmark",
    "corrplot",
    "cowplot",
    "cpp11",
    "curl",
    "data.table",
    "Deriv",
    "deSolve",
    "digest",
    "doBy",
    "dplyr",
    "evaluate",
    "exactRankTests",
    "farver",
    "fastGHQuad",
    "fastmap",
    "flexsurv",
    "fontawesome",
    "forecast",
    "foreign",
    "Formula",
    "fracdiff",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggExtra",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggridges",
    "ggsci",
    "ggsignif",
    "ggtext",
    "globals",
    "glue",
    "gridExtra",
    "gridtext",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httpuv",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lifecycle",
    "listenv",
    "litedown",
    "lme4",
    "lmtest",
    "lsoda",
    "magrittr",
    "markdown",
    "MASS",
    "Matrix",
    "MatrixModels",
    "maxstat",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "miniUI",
    "minqa",
    "mnormt",
    "modelr",
    "mstate",
    "muhaz",
    "multcomp",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "nloptr",
    "nnet",
    "nph",
    "nphRCT",
    "numDeriv",
    "otel",
    "parallelly",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "png",
    "polynom",
    "promises",
    "purrr",
    "quadprog",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rpact",
    "rpart",
    "rstatix",
    "rstpm2",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SHELF",
    "shiny",
    "shinyjs",
    "shinyMatrix",
    "sn",
    "sourcetools",
    "SparseM",
    "statmod",
    "stringi",
    "stringr",
    "survival",
    "survminer",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "tinytex",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "xtable",
    "yaml",
    "zoo"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "dteassurance",
  "_universes": [
    "jamesalsbury"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-08T06:43:10.000Z",
      "distro": "noble",
      "commit": "8936ad766168fe14241533909a04d5b8672e4216",
      "fileid": "795602bb1a6c1c7e5e48c81aab2187fde76c7958ce62e4637a7e536e401bb569",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-08T06:43:02.000Z",
      "distro": "noble",
      "commit": "8936ad766168fe14241533909a04d5b8672e4216",
      "fileid": "a6c4c2baba7d31e0828fe5f743f97b1b19fa6e9e149293843cd696901d388e5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-09T05:51:35.000Z",
      "commit": "8936ad766168fe14241533909a04d5b8672e4216",
      "fileid": "49868bb0bc82b61fe34a1935dd28c4cf0af78d383cf114a39dae23fd9c50f55d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-06-09T05:53:40.000Z",
      "commit": "8936ad766168fe14241533909a04d5b8672e4216",
      "fileid": "05d5887dcc4d1c8164fb117887e9685a6d8a12040927b95088e840de7121f968",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-08T06:43:54.000Z",
      "commit": "8936ad766168fe14241533909a04d5b8672e4216",
      "fileid": "6d521c823eecb76269932bc9cc60fee086e852352e50ba1c18026b6206cefdff",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-09T05:47:44.000Z",
      "commit": "8936ad766168fe14241533909a04d5b8672e4216",
      "fileid": "3f76a112f8342545f993eb93204c9e9d90adef559901c15fa97bb1e61e5449ec",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-09T05:47:53.000Z",
      "commit": "8936ad766168fe14241533909a04d5b8672e4216",
      "fileid": "c18891d9c8346bd362e73e5534d09bcf5d355db7d8389ebb25da399642b5423e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-06-09T05:47:59.000Z",
      "commit": "8936ad766168fe14241533909a04d5b8672e4216",
      "fileid": "8a3607797d3eb466c3f8382e83361e50b02da3d9dd61219dc36a7d0ade9d026f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jamesalsbury/actions/runs/27120328232"
    }
  ]
}