{
  "_id": "6a267f78794753ddbc3f069e",
  "Package": "EventPredInCure",
  "Title": "Event Prediction Including Cured Population",
  "Version": "1.0",
  "Date": "2023-12-19",
  "Authors@R": "c(person(\"Bo\", \"Wei\", , \"bowei1990@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-4430-2882\")),\nperson(\"Kaifeng\", \"Lu\", , \"kaifenglu@gmail.com\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-6160-7119\")),\nperson(\"Brent\", \"McHenry\", , \"brent.mchenry@beigene.com\", role = c(\"aut\")))",
  "Description": "Predicts enrollment and events assumed enrollment and\ntreatment-specific time-to-event models, and calculates test\nstatistics for time-to-event data with cured population based\non the simulation.Methods for prediction event in the existence\nof cured population are as described in : Chen, Tai-Tsang(2016)\n<doi:10.1186/s12874-016-0117-3>.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 08:33:45 UTC",
    "User": "root"
  },
  "Author": "Bo Wei [aut, cre] (<https://orcid.org/0000-0002-4430-2882>),\nKaifeng Lu [aut] (<https://orcid.org/0000-0002-6160-7119>),\nBrent McHenry [aut]",
  "Maintainer": "Bo Wei <bowei1990@gmail.com>",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://bo-wei.r-universe.dev",
  "Date/Publication": "2024-01-13 02:37:25 UTC",
  "RemoteUrl": "https://github.com/cran/EventPredInCure",
  "RemoteRef": "HEAD",
  "RemoteSha": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
  "MD5sum": "22d305bb16807d86c9ddc386c93cc18b",
  "_user": "bo-wei",
  "_type": "src",
  "_file": "EventPredInCure_1.0.tar.gz",
  "_fileid": "6d7b9bc6e5f77c5bef2e395ebc5cc72eb020bbcecb5fd71e848fc55879014fd5",
  "_filesize": 287247,
  "_sha256": "6d7b9bc6e5f77c5bef2e395ebc5cc72eb020bbcecb5fd71e848fc55879014fd5",
  "_created": "2026-06-08T08:33:45.000Z",
  "_published": "2026-06-08T08:38:15.988Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80053326423,
      "time": 186,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7475202547"
    },
    {
      "job": 80053326492,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7475202728"
    },
    {
      "job": 80053326447,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7475203458"
    },
    {
      "job": 80053326444,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7475185107"
    },
    {
      "job": 80052636576,
      "time": 242,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475135514"
    },
    {
      "job": 80053326464,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7475181756"
    },
    {
      "job": 80053326534,
      "time": 145,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7475188809"
    },
    {
      "job": 80053326427,
      "time": 123,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7475180540"
    },
    {
      "job": 80053326433,
      "time": 153,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7475191364"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/EventPredInCure",
  "_commit": {
    "id": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
    "author": "Bo Wei <bowei1990@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0\n",
    "time": 1705113445
  },
  "_maintainer": {
    "name": "Bo Wei",
    "email": "bowei1990@gmail.com",
    "login": "bo-wei",
    "description": "",
    "uuid": 27465582,
    "orcid": "0000-0002-4430-2882"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "perm",
      "version": ">= 1.0.0.2",
      "role": "Imports"
    },
    {
      "package": "msm",
      "version": ">= 1.7.0",
      "role": "Imports"
    },
    {
      "package": "MLEcens",
      "version": ">= 0.1.7",
      "role": "Imports"
    },
    {
      "package": "KMsurv",
      "version": ">= 0.1.5",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "version": ">= 4.10.1",
      "role": "Imports"
    },
    {
      "package": "survival",
      "version": ">= 2.41-3",
      "role": "Imports"
    },
    {
      "package": "splines",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "version": ">= 1.2-14",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.1-3",
      "role": "Imports"
    },
    {
      "package": "rstpm2",
      "version": ">= 1.6.1",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "version": ">= 2016.8-1.1",
      "role": "Imports"
    },
    {
      "package": "tmvtnsim",
      "version": ">= 0.1.3",
      "role": "Imports"
    },
    {
      "package": "erify",
      "version": ">= 0.4.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "utils",
      "version": ">= 4.1.2",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "version": ">= 1.9.2",
      "role": "Imports"
    },
    {
      "package": "flexsurv",
      "version": ">= 2.2.2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "version": ">= 7.3.54",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "bo-wei",
      "count": 1,
      "uuid": 27465582
    }
  ],
  "_userbio": {
    "uuid": 27465582,
    "type": "user",
    "name": "bo-wei"
  },
  "_downloads": {
    "count": 139,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/EventPredInCure"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/EventPredInCure.html",
    "manual.pdf"
  ],
  "_realowner": "bo-wei",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2024-01-12"
    }
  ],
  "_exports": [
    "b4pst",
    "Chen_2016_event_time",
    "Chen_2016_event_time_abovetime0",
    "Chen_2016_event_time_piecewise_exp_abovetime0",
    "FH_test",
    "fitDropout",
    "fitEnrollment",
    "fitEvent",
    "getPrediction",
    "loglik_Chen_exponential",
    "loglik_Chen_log_logistic",
    "loglik_Chen_log_normal",
    "loglik_Chen_piecewise_exponential",
    "loglik_Chen_weibull",
    "predictEnrollment",
    "predictEvent",
    "smed",
    "SP_Chen_exponential",
    "SP_Chen_log_logistic",
    "SP_Chen_log_normal",
    "SP_Chen_piecewise_exponential",
    "SP_Chen_weibull",
    "summarizeObserved",
    "test_plot",
    "test_procedure",
    "tte"
  ],
  "_datasets": [
    {
      "name": "finalData",
      "title": "Final enrollment and event data after achieving the target number of events",
      "object": "finalData",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "trialsdt",
        "usubjid",
        "randdt",
        "treatment",
        "treatment_description",
        "time",
        "event",
        "dropout",
        "cutoffdt"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    },
    {
      "name": "interimData1",
      "title": "Interim enrollment and event data before enrollment completion",
      "object": "interimData1",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "trialsdt",
        "usubjid",
        "randdt",
        "treatment",
        "treatment_description",
        "time",
        "event",
        "dropout",
        "cutoffdt"
      ],
      "rows": 224,
      "table": true,
      "tojson": true
    },
    {
      "name": "interimData2",
      "title": "Interim enrollment and event data after enrollment completion",
      "object": "interimData2",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "trialsdt",
        "usubjid",
        "randdt",
        "treatment",
        "treatment_description",
        "time",
        "event",
        "dropout",
        "cutoffdt"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "EventPredInCure-package",
      "title": "Event Prediction Including Cured Population",
      "topics": [
        "EventPredInCure-package"
      ]
    },
    {
      "page": "b4pst",
      "title": "Function to calculate survival time and censor variables before and post a time lag (delay treatment effect time)",
      "topics": [
        "b4pst"
      ]
    },
    {
      "page": "Chen_2016_event_time",
      "title": "Function to generate event time in the existence of cured population",
      "topics": [
        "Chen_2016_event_time"
      ]
    },
    {
      "page": "Chen_2016_event_time_abovetime0",
      "title": "Function to generate event time based on Chen 2016 method for ongoing subject",
      "topics": [
        "Chen_2016_event_time_abovetime0"
      ]
    },
    {
      "page": "Chen_2016_event_time_piecewise_exp_abovetime0",
      "title": "Function to generate event time with piecewise exponential distribution for ongoing subject in the existence of cured population",
      "topics": [
        "Chen_2016_event_time_piecewise_exp_abovetime0"
      ]
    },
    {
      "page": "FH_test",
      "title": "Fleming-Harrington weighted log-rank tests",
      "topics": [
        "FH_test"
      ]
    },
    {
      "page": "finalData",
      "title": "Final enrollment and event data after achieving the target number of events",
      "topics": [
        "finalData"
      ]
    },
    {
      "page": "fitDropout",
      "title": "Fit time-to-dropout model",
      "topics": [
        "fitDropout"
      ]
    },
    {
      "page": "fitEnrollment",
      "title": "Fit enrollment model",
      "topics": [
        "fitEnrollment"
      ]
    },
    {
      "page": "fitEvent",
      "title": "Fit time-to-event model",
      "topics": [
        "fitEvent"
      ]
    },
    {
      "page": "getPrediction",
      "title": "Enrollment and event prediction",
      "topics": [
        "getPrediction"
      ]
    },
    {
      "page": "interimData1",
      "title": "Interim enrollment and event data before enrollment completion",
      "topics": [
        "interimData1"
      ]
    },
    {
      "page": "interimData2",
      "title": "Interim enrollment and event data after enrollment completion",
      "topics": [
        "interimData2"
      ]
    },
    {
      "page": "loglik_Chen_exponential",
      "title": "Log-likelihood function for exponential distribution with cured population",
      "topics": [
        "loglik_Chen_exponential"
      ]
    },
    {
      "page": "loglik_Chen_log_logistic",
      "title": "Log-likelihood function for log-logistic distribution with cured population",
      "topics": [
        "loglik_Chen_log_logistic"
      ]
    },
    {
      "page": "loglik_Chen_log_normal",
      "title": "Log-likelihood function for log-normal distribution with cured population",
      "topics": [
        "loglik_Chen_log_normal"
      ]
    },
    {
      "page": "loglik_Chen_piecewise_exponential",
      "title": "Log-likelihood function for piecewise-exponential distribution with cured population",
      "topics": [
        "loglik_Chen_piecewise_exponential"
      ]
    },
    {
      "page": "loglik_Chen_weibull",
      "title": "Log-likelihood function for Weibull distribution with cured population",
      "topics": [
        "loglik_Chen_weibull"
      ]
    },
    {
      "page": "predictEnrollment",
      "title": "Predict enrollment",
      "topics": [
        "predictEnrollment"
      ]
    },
    {
      "page": "predictEvent",
      "title": "Predict event time for ongoing subjects with or without cured population.",
      "topics": [
        "predictEvent"
      ]
    },
    {
      "page": "smed",
      "title": "Function to output summary statistics from survfit function output",
      "topics": [
        "smed"
      ]
    },
    {
      "page": "SP_Chen_exponential",
      "title": "Survival probability function of the exponential distribution with cured population",
      "topics": [
        "SP_Chen_exponential"
      ]
    },
    {
      "page": "SP_Chen_log_logistic",
      "title": "Survival probability function of the log-logistic distribution with cured population",
      "topics": [
        "SP_Chen_log_logistic"
      ]
    },
    {
      "page": "SP_Chen_log_normal",
      "title": "Survival probability function of the log-normal distribution with cured population",
      "topics": [
        "SP_Chen_log_normal"
      ]
    },
    {
      "page": "SP_Chen_piecewise_exponential",
      "title": "Survival probability function of the piecewise exponential distribution with cured population",
      "topics": [
        "SP_Chen_piecewise_exponential"
      ]
    },
    {
      "page": "SP_Chen_weibull",
      "title": "Survival probability function of the Weibull distribution with cured population",
      "topics": [
        "SP_Chen_weibull"
      ]
    },
    {
      "page": "summarizeObserved",
      "title": "Summarize observed data",
      "topics": [
        "summarizeObserved"
      ]
    },
    {
      "page": "test_plot",
      "title": "Function to plot KM plot for time-to-event data in simulation",
      "topics": [
        "test_plot"
      ]
    },
    {
      "page": "test_procedure",
      "title": "Function to provide summary and test statistics based on simulation.",
      "topics": [
        "test_procedure"
      ]
    },
    {
      "page": "tte",
      "title": "Calculating log-rank test p-value, median time from each arm, hazard ratio between two arms, number of subjects and events in time-to-event outcomes.",
      "topics": [
        "tte"
      ]
    }
  ],
  "_rundeps": [
    "askpass",
    "assertthat",
    "base64enc",
    "bbmle",
    "bdsmatrix",
    "bslib",
    "cachem",
    "cli",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "deSolve",
    "digest",
    "dplyr",
    "erify",
    "evaluate",
    "expm",
    "farver",
    "fastGHQuad",
    "fastmap",
    "flexsurv",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "KMsurv",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "lsoda",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mgcv",
    "mime",
    "MLEcens",
    "msm",
    "mstate",
    "muhaz",
    "mvtnorm",
    "nlme",
    "numDeriv",
    "openssl",
    "otel",
    "perm",
    "pillar",
    "pkgconfig",
    "plotly",
    "promises",
    "purrr",
    "quadprog",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rmarkdown",
    "rstpm2",
    "S7",
    "sass",
    "scales",
    "statmod",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tinytex",
    "tmvtnsim",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "eventpredincure",
  "_universes": [
    "bo-wei"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-06-08T08:36:18.000Z",
      "distro": "noble",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "c2b1247cfb442aff87a652101a9cd7c503a27efb84110b62a047725bf248b347",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-06-08T08:36:15.000Z",
      "distro": "noble",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "d532821ce77ba934baf54d350cce428344d5ed553294f6a2846dc1003a459f8a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-06-08T08:36:33.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "b091e29510a3db606a745323bff234dc97484e02ed3bedfc4d7bd27df266dcbe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0",
      "date": "2026-06-08T08:35:49.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "432f23dc404d1261c5fbd8fa3e2c28399726c229a4b9c3ebc851b1121c208643",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-06-08T08:36:16.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "5b0c9aed73569d752b2bc83c5de1b35a2d4d95061edc54a79183fd0011e8fc16",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-06-08T08:35:22.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "757d80d946e65cf2326ded12263653fb63d9f27f3d49a8315c58fd513f6eea43",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-06-08T08:35:18.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "26626340c8607dac9c41d23fe6885a84d3a6ca70e247e88cc3578d078a623dde",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-06-08T08:35:36.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "06a23f57f03e1fcf846fb81b56ff80377235f2365cc6dc801ef05b9d171a32a1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/27125398286"
    }
  ]
}