{
  "_id": "6abb98dd99f7aa8c6aa4693c",
  "Package": "BayesPET",
  "Title": "Bayesian Prediction of Event Times for Blinded Randomized\nControlled Trials",
  "Version": "0.1.0",
  "Date": "2026-02-04",
  "Authors@R": "c(\nperson(\"Xinyi\", \"He\", , \"xinyi.he@uth.tmc.edu\", role = c(\"cre\", \"aut\")),\nperson(\"Jingyan\", \"Fu\", , role = \"aut\"),\nperson(\"Ying\", \"Yuan\", , role = c(\"aut\", \"cph\"))\n)",
  "Description": "Bayesian methods for predicting the calendar time at which\na target number of events is reached in clinical trials. The\nmethodology applies to both blinded and unblinded settings and\njointly models enrollment, event-time, and censoring processes.\nThe package provides tools for trial data simulation, model\nfitting using 'Stan' via the 'rstan' interface, and event time\nprediction under a wide range of trial designs, including\nvarying sample sizes, enrollment patterns, treatment effects,\nand event or censoring time distributions. The package is\nintended to support interim monitoring, operational planning,\nand decision-making in clinical trial development. Methods are\ndescribed in Fu et al. (2025) <doi:10.1002/sim.70310>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-09-29 10:37:04 UTC",
    "User": "root"
  },
  "Author": "Xinyi He [cre, aut], Jingyan Fu [aut], Ying Yuan [aut, cph]",
  "Maintainer": "Xinyi He <xinyi.he@uth.tmc.edu>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-02-12 08:00:26 UTC",
  "RemoteUrl": "https://github.com/cran/BayesPET",
  "RemoteRef": "HEAD",
  "RemoteSha": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
  "_user": "cran",
  "_type": "src",
  "_file": "BayesPET_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7aea665f8f2a48acbe0de1c24f8b632f919da13635a9c7b7cc0857b9c221dab5",
  "_filesize": 420240,
  "_sha256": "7aea665f8f2a48acbe0de1c24f8b632f919da13635a9c7b7cc0857b9c221dab5",
  "_expires": "2027-01-07T10:54:19.000Z",
  "_created": "2026-09-29T10:37:04.000Z",
  "_published": "2026-09-29T10:54:21.774Z",
  "_jobs": [
    {
      "job": 109368986194,
      "time": 468,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11029200603"
    },
    {
      "job": 109368986033,
      "time": 494,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11028721344"
    },
    {
      "job": 109368986089,
      "time": 495,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11029510153"
    },
    {
      "job": 109368986032,
      "time": 488,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11028716323"
    },
    {
      "job": 109366165204,
      "time": 504,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11027993985"
    },
    {
      "job": 109368986021,
      "time": 310,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11027984783"
    },
    {
      "job": 109368986100,
      "time": 501,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11028395803"
    },
    {
      "job": 109368986170,
      "time": 716,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11028621151"
    },
    {
      "job": 109368986308,
      "time": 500,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11029300460"
    },
    {
      "job": 109368986310,
      "time": 669,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11029480925"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556",
  "_status": "success",
  "_upstream": "https://github.com/cran/BayesPET",
  "_commit": {
    "id": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
    "author": "Xinyi He <xinyi.he@uth.tmc.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1770883226
  },
  "_maintainer": {
    "name": "Xinyi He",
    "email": "xinyi.he@uth.tmc.edu"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstantools",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "furrr",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-07",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-02-12"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 630,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 319,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesPET"
  },
  "_searchresults": 0,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/BayesPET.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-02-16"
    }
  ],
  "_exports": [
    "convert_median",
    "fit_censor",
    "fit_enroll",
    "fit_event_blind",
    "fit_event_unblind",
    "fit_models",
    "generate_data",
    "get_oc",
    "predict_eventtime"
  ],
  "_datasets": [
    {
      "name": "data_example",
      "title": "Example trial datasets for fitting Stan models and predicting event times",
      "object": "data_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BayesPET-package",
      "title": "BayesPET: Bayesian Prediction of Event Times for Blinded Randomized Controlled Trials",
      "topics": [
        "BayesPET-package",
        "BayesPET"
      ]
    },
    {
      "page": "convert_median",
      "title": "Solve baseline survival parameters by matching the marginal median survival time",
      "topics": [
        "convert_median"
      ]
    },
    {
      "page": "data_example",
      "title": "Example trial datasets for fitting Stan models and predicting event times",
      "topics": [
        "data_example"
      ]
    },
    {
      "page": "fit_censor",
      "title": "Fit a Weibull model for random censoring times",
      "topics": [
        "fit_censor"
      ]
    },
    {
      "page": "fit_enroll",
      "title": "Fit enrollment model",
      "topics": [
        "fit_enroll"
      ]
    },
    {
      "page": "fit_event_blind",
      "title": "Fit a Weibull event-time model with unknown treatment assignments",
      "topics": [
        "fit_event_blind"
      ]
    },
    {
      "page": "fit_event_unblind",
      "title": "Fit a Weibull event-time model with known treatment assignments",
      "topics": [
        "fit_event_unblind"
      ]
    },
    {
      "page": "fit_models",
      "title": "Fit enrollment, event-time, and censoring models to clinical trial data and return posterior draws model parameters",
      "topics": [
        "fit_models"
      ]
    },
    {
      "page": "generate_data",
      "title": "Generate two-arm trial data with enrollment, event, and censoring processes, and return data formatted for event-time prediction.",
      "topics": [
        "generate_data"
      ]
    },
    {
      "page": "get_oc",
      "title": "Generate operating characteristics for event prediction",
      "concept": [
        "BayesPET operating characteristics"
      ],
      "topics": [
        "get_oc"
      ]
    },
    {
      "page": "plot.BayesPET_predtime",
      "title": "Plot method for BayesPET prediction objects",
      "topics": [
        "plot.BayesPET_predtime"
      ]
    },
    {
      "page": "predict_eventtime",
      "title": "Predict the calendar time at which a target number of events is reached from interim analysis data",
      "topics": [
        "predict_eventtime"
      ]
    },
    {
      "page": "print.BayesPET_fit",
      "title": "Print method for BayesPET model fitting objects",
      "topics": [
        "print.BayesPET_fit"
      ]
    },
    {
      "page": "print.BayesPET_predtime",
      "title": "Print method for BayesPET prediction objects",
      "topics": [
        "print.BayesPET_predtime"
      ]
    },
    {
      "page": "summary.BayesPET_oc",
      "title": "Summary method for BayesPET operating characteristics object",
      "concept": [
        "BayesPET operating characteristics"
      ],
      "topics": [
        "print.summary.BayesPET_oc",
        "summary.BayesPET_oc"
      ]
    },
    {
      "page": "summary.BayesPET_predtime",
      "title": "Summary method for BayesPET prediction objects",
      "topics": [
        "print.summary.BayesPET_predtime",
        "summary.BayesPET_predtime"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "bit",
    "bit64",
    "callr",
    "checkmate",
    "cli",
    "clipr",
    "codetools",
    "cpp11",
    "crayon",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "hms",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "otel",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "plyr",
    "posterior",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "readr",
    "reshape2",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "tensorA",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "bayespet",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-29T10:44:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/f4b98f37bc598841b31357540f1d5068345cd746de6ed02cb998d7841faa980e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-29T10:44:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/8f83f7ef348358ef2929ffa2edc5fe5b841a5a7b363499d7a0cbd3dacb7b388a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-29T10:44:38.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/d5aeceb78924ee5791f3ac0483e189215309b7821a74d196ad235c1379227edb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-29T10:44:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/ef5713a8ff2a2a4c9725abc9b71495dc70daeed9f6164b462aac5ad8b52b2d87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-09-29T10:44:39.000Z",
      "arch": "emscripten",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/4b14be6213c0343105f35d12404b5662c33f0abbe2c23bc4413a28c0dfe93f8a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-29T10:44:58.000Z",
      "arch": "aarch64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/10a217894f150e326b109e872f5f2b37a6588c236400543cd072fb9480eda580",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-29T10:43:26.000Z",
      "arch": "x86_64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/cf5b8804dd8bb069365ce39914ae3b0e351fe29cbc5545a77ef34bed485f0149",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-29T10:45:03.000Z",
      "arch": "aarch64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/ecc2e5d1b5e53dc4bd1b2f29fff08dd6d676911d92d0782759e417fc7ce32150",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-29T10:43:24.000Z",
      "arch": "x86_64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/9f3aa8e16f54e1aae68260242778708d191288e3628e01aafa60572a9ea7dd10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/36556257556"
    }
  ]
}