{
  "_id": "6a2a60c57b7a29ca6003e041",
  "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",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Date": "2025-12-02",
  "URL": "https://jamesalsbury.github.io/DTEAssurance/",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-11 06:49:41 UTC",
    "User": "root"
  },
  "Author": "James Salsbury [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2584-3640>)",
  "Maintainer": "James Salsbury <jsalsbury1@sheffield.ac.uk>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-12-02 12:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/DTEAssurance",
  "RemoteRef": "HEAD",
  "RemoteSha": "2f4f4247d67673da14b69345c58465cad145b6d8",
  "MD5sum": "95f02e6157946db55343438777098bb9",
  "_user": "cran",
  "_type": "src",
  "_file": "DTEAssurance_1.1.0.tar.gz",
  "_fileid": "ae031842a39f229ea23784c3eecfbe12a36de9f1e6f88e306661c37ee9ab3f91",
  "_filesize": 1178083,
  "_sha256": "ae031842a39f229ea23784c3eecfbe12a36de9f1e6f88e306661c37ee9ab3f91",
  "_created": "2026-06-11T06:49:41.000Z",
  "_published": "2026-06-11T07:16:21.336Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80737486207,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7556868357"
    },
    {
      "job": 80737486190,
      "time": 180,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556867469"
    },
    {
      "job": 80736897122,
      "time": 238,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7556813985"
    },
    {
      "job": 80737486219,
      "time": 1566,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7557283609"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27329085649",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/DTEAssurance",
  "_commit": {
    "id": "2f4f4247d67673da14b69345c58465cad145b6d8",
    "author": "James Salsbury <jsalsbury1@sheffield.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1764678002
  },
  "_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.1.0",
      "role": "Depends"
    },
    {
      "package": "SHELF",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "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": "rjags",
      "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"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2025-10-14"
    },
    {
      "name": "1.0.1",
      "date": "2025-10-24"
    },
    {
      "name": "1.1.0",
      "date": "2025-12-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jamesalsbury",
      "count": 3,
      "uuid": 71822195
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 178,
    "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,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_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",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jamesalsbury/dteassurance",
  "_realowner": "jamesalsbury",
  "_cranurl": false,
  "_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"
      ]
    }
  ],
  "_readme": "https://github.com/cran/DTEAssurance/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "assertthat",
    "backports",
    "base64enc",
    "bbmle",
    "bdsmatrix",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "checkmate",
    "cli",
    "cluster",
    "coda",
    "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",
    "rjags",
    "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"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "dteassurance",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://jamesalsbury.r-universe.dev/DTEAssurance",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-11T06:52:30.000Z",
      "distro": "noble",
      "commit": "2f4f4247d67673da14b69345c58465cad145b6d8",
      "fileid": "70d33132f214d588dd4f8cbfae1c8be0286038195f52702d6a67aa4feda8f6e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27329085649"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-06-11T06:52:29.000Z",
      "distro": "noble",
      "commit": "2f4f4247d67673da14b69345c58465cad145b6d8",
      "fileid": "157977eaaa6146d09c118e9ac04f5ef5bb713645d7eb63f6be3433430c3abd9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27329085649"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-06-11T07:16:05.000Z",
      "commit": "2f4f4247d67673da14b69345c58465cad145b6d8",
      "fileid": "d869b3541de0fa259424cade79abf3aaeb21598a9e6ba1fef0bcce70597dba9f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27329085649"
    }
  ]
}