{
  "_id": "6a453c166ff6f23575527cd5",
  "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-07-01 15:56:25 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/9dde8e152fed0e4c3ca2e59df2373a750b7370509e163791496a697189a2335c",
  "_filesize": 419945,
  "_sha256": "9dde8e152fed0e4c3ca2e59df2373a750b7370509e163791496a697189a2335c",
  "_expires": "2026-10-09T16:11:01.000Z",
  "_created": "2026-07-01T15:56:25.000Z",
  "_published": "2026-07-01T16:11:02.468Z",
  "_jobs": [
    {
      "job": 84579491741,
      "time": 489,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8015870473"
    },
    {
      "job": 84579491770,
      "time": 575,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8015906491"
    },
    {
      "job": 84579491658,
      "time": 487,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8015871078"
    },
    {
      "job": 84579491666,
      "time": 438,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8015849308"
    },
    {
      "job": 84577808542,
      "time": 472,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8015660042"
    },
    {
      "job": 84579491563,
      "time": 189,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28524991159",
  "_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": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 239,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesPET"
  },
  "_searchresults": 0,
  "_topics": [
    "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/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_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": "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-07-01T16:03:51.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/ac4dad00b86148182e819c1ad826570db9eec9a663d539d180e7f74bc7b75cba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28524991159"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-01T16:04:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/33026139e62e5cdeb24642003638430f37c0e90114fed1cff92731247f43d58d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28524991159"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-01T16:04:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/5a18e51dda25ba68b3f9e7f83cb065c0c9f859357ea74cbc00dc275bd2d014aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28524991159"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-01T16:03:36.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "45fb8b3491f6ce9b776a3296140434d1ec0d2c09",
      "fileid": "https://r2.ropensci.org/3223555ac0c02a86954b17d13863edac04c77740c4fcc4d8a386e55eec8cb948",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28524991159"
    }
  ]
}