{
  "_id": "6aae6b1b3d719c1f8407c856",
  "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-09-19 10:54:51 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",
  "_user": "bo-wei",
  "_type": "src",
  "_file": "EventPredInCure_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9763bc0d0e9f77080cba2eac858dfae2ce90d0a03596237e4cfeff3dcfebecf6",
  "_filesize": 288632,
  "_sha256": "9763bc0d0e9f77080cba2eac858dfae2ce90d0a03596237e4cfeff3dcfebecf6",
  "_expires": "2026-12-28T10:59:37.000Z",
  "_created": "2026-09-19T10:54:51.000Z",
  "_published": "2026-09-19T10:59:39.259Z",
  "_jobs": [
    {
      "job": 105885679671,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10583027151"
    },
    {
      "job": 105885679655,
      "time": 239,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10582963467"
    },
    {
      "job": 105885679682,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10583416661"
    },
    {
      "job": 105885679703,
      "time": 234,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10582329211"
    },
    {
      "job": 105885272256,
      "time": 212,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10582688588"
    },
    {
      "job": 105885679710,
      "time": 141,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10583286776"
    },
    {
      "job": 105885679704,
      "time": 133,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10582723569"
    },
    {
      "job": 105885679684,
      "time": 137,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10583002156"
    },
    {
      "job": 105885679727,
      "time": 134,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10583421637"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 0
  },
  "_downloads": {
    "count": 244,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/EventPredInCure"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/EventPredInCure.html",
    "extra/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-09-19T10:57:31.000Z",
      "distro": "resolute",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "https://r2.ropensci.org/133a379424249e2d0a74044f583c70a36522e16b79b908934460806f0d20b3ef",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-09-19T10:58:14.000Z",
      "distro": "resolute",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "https://r2.ropensci.org/8dcac1abb4f2c7b39008900e7f8948a063fd8b0875a38f2a6b7cd809666e429b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-09-19T10:57:22.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "https://r2.ropensci.org/8bf4affd01ef404b00ecf33e7e4078c375b8e2225ed6a0b1616e2a69d1008767",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0",
      "date": "2026-09-19T10:58:02.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "https://r2.ropensci.org/b156d0ba0c0ea892a2e080d0d6163ee871d81d19072fb4d8aa0fadbdf97d5afc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-09-19T10:57:37.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "https://r2.ropensci.org/5298e2a7276474bd68d4da6130fc013135e093e595528ad783a2a525b1692394",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-09-19T10:56:22.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "https://r2.ropensci.org/f228323a7a508a477dd7104f45b0c278a835252894148ba24fb8f10561b3e285",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-09-19T10:56:26.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "https://r2.ropensci.org/515b5fbccc4c9727629a129ba490acf887769921addf6833d4548f4f7483e84a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-09-19T10:56:11.000Z",
      "commit": "6d18c9ea82606f80c8bd4bc10414bdd35454fdd2",
      "fileid": "https://r2.ropensci.org/94282a43e157720b77e4eee4d48ae46950e8b1c71c276678b873c61a4498f01a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/bo-wei/actions/runs/35438533193"
    }
  ]
}