{
  "_id": "6aafc85d3d719c1f84081f0f",
  "Package": "DTEBOP2",
  "Title": "Bayesian Optimal Phase II Randomized Clinical Trial Design with\nDelayed Outcomes",
  "Version": "1.0.3",
  "Authors@R": "c(\nperson(\"Zhongheng\", \"Cai\", email = \"zhonghengcai123@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Haitao\", \"Pan\", email = \"Haitao.Pan@STJUDE.ORG\", role = \"aut\")\n)",
  "Description": "Implements a Bayesian Optimal Phase II design (DTE-BOP2)\nfor trials with delayed treatment effects, particularly\nrelevant to immunotherapy studies where treatment benefits may\nemerge after a delay. The method builds upon the BOP2 framework\nand incorporates uncertainty in the delay timepoint through a\ntruncated gamma prior, informed by expert knowledge or default\nsettings. Supports two-arm trial designs with functionality for\nsample size determination, interim and final analyses, and\ncomprehensive simulation under various delay and design\nscenarios. Ensures rigorous type I and II error control while\nimproving trial efficiency and power when the delay effect is\npresent. A manuscript describing the methodology is under\ndevelopment and will be formally referenced upon publication.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-20 11:45:26 UTC",
    "User": "root"
  },
  "Author": "Zhongheng Cai [aut, cre], Haitao Pan [aut]",
  "Maintainer": "Zhongheng Cai <zhonghengcai123@gmail.com>",
  "Repository": "https://zhongheng-biostatistics.r-universe.dev",
  "Date/Publication": "2025-05-09 10:40:06 UTC",
  "RemoteUrl": "https://github.com/cran/DTEBOP2",
  "RemoteRef": "HEAD",
  "RemoteSha": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
  "_user": "zhongheng-biostatistics",
  "_type": "src",
  "_file": "DTEBOP2_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/3bf86ae56f934bfcf4fefe08670ee223312663cce79c7b770d5c97cda1a5cd2e",
  "_filesize": 1161824,
  "_sha256": "3bf86ae56f934bfcf4fefe08670ee223312663cce79c7b770d5c97cda1a5cd2e",
  "_expires": "2026-12-29T11:49:46.000Z",
  "_created": "2026-09-20T11:45:26.000Z",
  "_published": "2026-09-20T11:49:49.377Z",
  "_jobs": [
    {
      "job": 106072814202,
      "time": 203,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10604299138"
    },
    {
      "job": 106072814241,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10603928708"
    },
    {
      "job": 106072814252,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10604942259"
    },
    {
      "job": 106072814250,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604588263"
    },
    {
      "job": 106071981930,
      "time": 424,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604608094"
    },
    {
      "job": 106072814249,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10604178291"
    },
    {
      "job": 106072814254,
      "time": 111,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10604763242"
    },
    {
      "job": 106072814270,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10604078516"
    },
    {
      "job": 106072814218,
      "time": 78,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604073439"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013",
  "_status": "success",
  "_upstream": "https://github.com/cran/DTEBOP2",
  "_commit": {
    "id": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
    "author": "Zhongheng Cai <zhonghengcai123@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.3\n",
    "time": 1746787206
  },
  "_maintainer": {
    "name": "Zhongheng Cai",
    "email": "zhonghengcai123@gmail.com",
    "login": "zhongheng-biostatistics",
    "description": "",
    "uuid": 182246117
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "truncdist",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "invgamma",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "survRM2adapt",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "reconstructKM",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    },
    {
      "package": "survminer",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "zhongheng-biostatistics",
      "count": 1,
      "uuid": 182246117
    }
  ],
  "_userbio": {
    "uuid": 182246117,
    "type": "user",
    "name": "zhongheng-Biostatistics",
    "followers": 1
  },
  "_downloads": {
    "count": 359,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DTEBOP2"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DTEBOP2.html",
    "extra/manual.pdf"
  ],
  "_realowner": "zhongheng-biostatistics",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.3",
      "date": "2025-05-09"
    }
  ],
  "_exports": [
    "conduct",
    "event_fun",
    "generate_pe",
    "get.optimal_2arm_piecewise",
    "getoc_2arm_piecewise",
    "rtrunc_gamma",
    "trunc_gamma_para",
    "TTOT_fun",
    "Two_stage_sample_size"
  ],
  "_datasets": [
    {
      "name": "Experimental",
      "title": "Nivolumab KM data used for reconstructing PFS KM curve",
      "object": "Experimental",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "survival"
      ],
      "rows": 48,
      "table": true,
      "tojson": true
    },
    {
      "name": "SOC",
      "title": "Docetaxel KM data used for reconstructing PFS KM curve",
      "object": "SOC",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "survival"
      ],
      "rows": 36,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "conduct",
      "title": "Computes the hazard ratio between post- and pre-separation periods, provides the 95% Bayesian credible interval, and makes a Go/No-Go decision based on the trial data. This function is intended for interim and final analyses in two-arm survival trials with delayed treatment effects.",
      "topics": [
        "conduct"
      ]
    },
    {
      "page": "event_fun",
      "title": "Return expected event number at interim analysis and final analysis.",
      "topics": [
        "event_fun"
      ]
    },
    {
      "page": "Experimental",
      "title": "Nivolumab KM data used for reconstructing PFS KM curve",
      "topics": [
        "Experimental"
      ]
    },
    {
      "page": "generate_pe",
      "title": "Generate event times from a piecewise exponential distribution.",
      "topics": [
        "generate_pe"
      ]
    },
    {
      "page": "get.optimal_2arm_piecewise",
      "title": "Obtain Optimal Design Parameters for DTE-BOP2 Design",
      "topics": [
        "get.optimal_2arm_piecewise"
      ]
    },
    {
      "page": "getoc_2arm_piecewise",
      "title": "Compute Operating Characteristics for Two-Arm Piecewise Exponential Designs",
      "topics": [
        "getoc_2arm_piecewise"
      ]
    },
    {
      "page": "rtrunc_gamma",
      "title": "Generate Random Variables from a Truncated Gamma Distribution.",
      "topics": [
        "rtrunc_gamma"
      ]
    },
    {
      "page": "SOC",
      "title": "Docetaxel KM data used for reconstructing PFS KM curve",
      "topics": [
        "SOC"
      ]
    },
    {
      "page": "trunc_gamma_para",
      "title": "Estimate Shape and Scale Parameters for Truncated Gamma Distribution",
      "topics": [
        "trunc_gamma_para"
      ]
    },
    {
      "page": "TTOT_fun",
      "title": "Compute the Total Time-on-Test (TTOT) Statistic",
      "topics": [
        "TTOT_fun"
      ]
    },
    {
      "page": "Two_stage_sample_size",
      "title": "Calculate Sample Sizes for a Two-Stage Trial Design.",
      "topics": [
        "Two_stage_sample_size"
      ]
    }
  ],
  "_rundeps": [
    "codetools",
    "doParallel",
    "evd",
    "foreach",
    "invgamma",
    "iterators",
    "truncdist"
  ],
  "_vignettes": [
    {
      "source": "DTEBOP2.Rmd",
      "filename": "DTEBOP2.html",
      "title": "DTEBOP2:An R Package for Designing Two-Arm Multi-Stage Survival Trials with Delayed Treatment Effects",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "2. Eliciting the Truncated Gamma Prior for DTE Separation Timepoint ( S )",
        "3. Calculating Median Survival Times for Pre- and Post-Separation DTE Timepoint given DTE timepoint S",
        "4. Determination of Sample Size in a Two-Stage Design Setting",
        "5. Conduct the Trial: Make Go/No-Go Decision",
        "6. Summary",
        "7. Example 1",
        "8. Incorporating Early Stopping Probability into Sample Size Determination",
        "9. Application of the Proposed Method in a Three-Stage Design",
        "10. When an expert-elicited prior with high certainty is used",
        "Conclusion",
        "References"
      ],
      "created": "2025-05-09 10:40:06",
      "modified": "2025-05-09 10:40:06",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "dtebop2",
  "_universes": [
    "zhongheng-biostatistics"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-09-20T11:48:49.000Z",
      "distro": "resolute",
      "commit": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
      "fileid": "https://r2.ropensci.org/6ad14648d86d902f324abb57facebb0d9c0d0e76f8551dd22e8e6cdfd55d24ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-09-20T11:47:40.000Z",
      "distro": "resolute",
      "commit": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
      "fileid": "https://r2.ropensci.org/cb3b5270e66ad4d2a2d7a1366bb8bc92279d5eee3e25fcd9b2325720c4dfd5ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-09-20T11:48:27.000Z",
      "commit": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
      "fileid": "https://r2.ropensci.org/cc7f1928b94a24d6d30bde4c9070e3cf247ff446348acca03e06ebe0add0a902",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-09-20T11:47:36.000Z",
      "commit": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
      "fileid": "https://r2.ropensci.org/90d106d25293328638362e6d2c9c2929a05fe9e483f71062f5656be6a45434b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-09-20T11:48:03.000Z",
      "commit": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
      "fileid": "https://r2.ropensci.org/8bd3cbd405d6ba210890c458153077ed0714fd7306bcb9f2178ea64a7333c06f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-20T11:47:11.000Z",
      "commit": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
      "fileid": "https://r2.ropensci.org/3c44275e2315da6ecc7cb7d0e2cef6b2667f482d2d3a7c7f1194c2eaaf9b2dc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-20T11:46:48.000Z",
      "commit": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
      "fileid": "https://r2.ropensci.org/06bc637daddb482b62d608df006313cc5970e3e745a5239c33c5d20db310a2f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-09-20T11:46:44.000Z",
      "commit": "82a8d2be82a62dcad096a2bcfb2fb1af0f761d7e",
      "fileid": "https://r2.ropensci.org/cb9d673b71a3a4f9767a28da58cc095e491532f6172e68955b8fd4611c5ac75c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zhongheng-biostatistics/actions/runs/35508396013"
    }
  ]
}