{
  "_id": "6ab8f68399f7aa8c6aa3903d",
  "Package": "GPTCM",
  "Title": "Generalized Promotion Time Cure Model with Bayesian Shrinkage\nPriors",
  "Version": "2.1.0",
  "Description": "Generalized promotion time cure model (GPTCM) via Bayesian\nhierarchical modeling for multiscale data integration (Zhao et\nal. (2025) <doi:10.48550/arXiv.2509.01001>). The Bayesian\nGPTCMs are applicable for both low- and high-dimensional data.",
  "Authors@R": "c(person(\"Zhi\", \"Zhao\", role=c(\"aut\",\"cre\"), email = \"zhi.zhao@medisin.uio.no\"))",
  "Maintainer": "Zhi Zhao <zhi.zhao@medisin.uio.no>",
  "Copyright": "The code in src/arms.cpp is slightly modified based on the\nresearch paper implementation written by Wally Gilks.",
  "URL": "https://github.com/ocbe-uio/GPTCM",
  "BugReports": "https://github.com/ocbe-uio/GPTCM/issues",
  "License": "GPL-3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "SystemRequirements": "C++17",
  "Config/roxygen2/version": "8.0.0",
  "Packaged": {
    "Date": "2026-09-27 10:46:34 UTC",
    "User": "root"
  },
  "Author": "Zhi Zhao [aut, cre]",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://ocbe-uio.r-universe.dev",
  "Date/Publication": "2026-07-29 12:03:34 UTC",
  "RemoteUrl": "https://github.com/ocbe-uio/GPTCM",
  "RemoteRef": "HEAD",
  "RemoteSha": "c515c44248e9deb88343a3c1ca3ead122393c584",
  "_user": "ocbe-uio",
  "_type": "src",
  "_file": "GPTCM_2.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/56ca6535cf3d0c3df0b9ab28f1bdeabbb50e3f60c766eea8102252f13399a6c9",
  "_filesize": 861702,
  "_sha256": "56ca6535cf3d0c3df0b9ab28f1bdeabbb50e3f60c766eea8102252f13399a6c9",
  "_expires": "2027-01-05T10:57:03.000Z",
  "_created": "2026-09-27T10:46:34.000Z",
  "_published": "2026-09-27T10:57:07.476Z",
  "_jobs": [
    {
      "job": 108604226142,
      "time": 272,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10929921995"
    },
    {
      "job": 108604226138,
      "time": 299,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10929946895"
    },
    {
      "job": 108604226118,
      "time": 280,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10930430226"
    },
    {
      "job": 108604226146,
      "time": 331,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10929872468"
    },
    {
      "job": 108604226145,
      "time": 214,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10929847278"
    },
    {
      "job": 108604226172,
      "time": 348,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10929668722"
    },
    {
      "job": 108604226103,
      "time": 257,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10928984826"
    },
    {
      "job": 108604226104,
      "time": 530,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10930047113"
    },
    {
      "job": 108603403109,
      "time": 335,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10929856905"
    },
    {
      "job": 108604226124,
      "time": 199,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10929862157"
    },
    {
      "job": 108604226127,
      "time": 555,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10930296442"
    },
    {
      "job": 108604226121,
      "time": 445,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "10930610148"
    },
    {
      "job": 108604226153,
      "time": 424,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "10930166532"
    },
    {
      "job": 108604226109,
      "time": 490,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10929857543"
    },
    {
      "job": 108604226141,
      "time": 290,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "10930440229"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617",
  "_status": "success",
  "_upstream": "https://github.com/ocbe-uio/GPTCM",
  "_commit": {
    "id": "c515c44248e9deb88343a3c1ca3ead122393c584",
    "author": "zhizuio <zhi.zhao@medisin.uio.no>",
    "committer": "zhizuio <zhi.zhao@medisin.uio.no>",
    "message": "validate input 'dat$proportion'\n",
    "time": 1785326614
  },
  "_maintainer": {
    "name": "Zhi Zhao",
    "email": "zhi.zhao@medisin.uio.no",
    "login": "zhizuio",
    "description": "",
    "uuid": 39630023
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "riskRegression",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggridges",
      "role": "Imports"
    },
    {
      "package": "miCoPTCM",
      "role": "Imports"
    },
    {
      "package": "loo",
      "role": "Imports"
    },
    {
      "package": "mvnfast",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "survminer",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "ocbe-uio",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-39",
      "n": 5
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2025-42",
      "n": 2
    },
    {
      "week": "2025-43",
      "n": 3
    },
    {
      "week": "2025-44",
      "n": 9
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-05",
      "n": 11
    },
    {
      "week": "2026-23",
      "n": 10
    },
    {
      "week": "2026-24",
      "n": 7
    },
    {
      "week": "2026-25",
      "n": 16
    },
    {
      "week": "2026-26",
      "n": 9
    },
    {
      "week": "2026-28",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.2.0",
      "date": "2025-09-29"
    },
    {
      "name": "v1.1.3",
      "date": "2025-10-31"
    },
    {
      "name": "v2.0.0",
      "date": "2026-06-03"
    }
  ],
  "_topics": [
    "bayesian-inference",
    "cell-populations",
    "multiscale-data",
    "omics-data-integration",
    "survival-analysis",
    "tumor-heterogeneity",
    "tumor-microenvironment",
    "variable-selection",
    "openblas",
    "cpp",
    "openmp"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zhizuio",
      "count": 120,
      "uuid": 39630023
    }
  ],
  "_userbio": {
    "uuid": 58079878,
    "type": "organization",
    "name": "Oslo Centre for Biostatistics and Epidemiology",
    "followers": 60,
    "description": "This is where we host most of the scientific software we produce at OCBE, a joint center between the University of Oslo and the Oslo University Hospital."
  },
  "_downloads": {
    "count": 441,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/GPTCM"
  },
  "_devurl": "https://github.com/ocbe-uio/gptcm",
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/GPTCM.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/ocbe-uio/gptcm",
  "_realowner": "ocbe-uio",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.1",
      "date": "2025-09-16"
    },
    {
      "version": "1.1.2",
      "date": "2025-09-26"
    },
    {
      "version": "1.1.3",
      "date": "2025-11-01"
    },
    {
      "version": "2.0.0",
      "date": "2026-06-03"
    }
  ],
  "_exports": [
    "getEstimator",
    "GPTCM",
    "metropolis_sampler",
    "plotBrier",
    "plotCoeff",
    "plotMCMC",
    "simData",
    "target"
  ],
  "_help": [
    {
      "page": "getEstimator",
      "title": "Extract the posterior estimate of parameters",
      "topics": [
        "getEstimator"
      ]
    },
    {
      "page": "GPTCM",
      "title": "Fit Bayesian GPTCM Models",
      "topics": [
        "GPTCM"
      ]
    },
    {
      "page": "metropolis_sampler",
      "title": "Metropolis sampler for a target density",
      "topics": [
        "metropolis_sampler"
      ]
    },
    {
      "page": "plotBrier",
      "title": "Plot curves of time-dependent Brier score",
      "topics": [
        "plotBrier"
      ]
    },
    {
      "page": "plotCoeff",
      "title": "Plot posterior estimates of regression coefficients",
      "topics": [
        "plotCoeff"
      ]
    },
    {
      "page": "plotMCMC",
      "title": "MCMC trace-plots",
      "topics": [
        "plotMCMC"
      ]
    },
    {
      "page": "predict.GPTCM",
      "title": "Prediction of survival probability",
      "topics": [
        "predict.GPTCM"
      ]
    },
    {
      "page": "run_mcmc",
      "title": "Main function implemented in C++ for the MCMC loop",
      "topics": [
        "run_mcmc"
      ]
    },
    {
      "page": "simData",
      "title": "Simulate data",
      "topics": [
        "simData"
      ]
    },
    {
      "page": "target",
      "title": "Target density",
      "topics": [
        "target"
      ]
    }
  ],
  "_pkglogo": "https://github.com/ocbe-uio/GPTCM/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/ocbe-uio/GPTCM/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "base64enc",
    "BH",
    "brio",
    "bslib",
    "cachem",
    "callr",
    "checkmate",
    "cli",
    "cluster",
    "cmprsk",
    "codetools",
    "colorspace",
    "cpp11",
    "crayon",
    "data.table",
    "desc",
    "diagram",
    "diffobj",
    "digest",
    "distr",
    "distributional",
    "doParallel",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "foreign",
    "Formula",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "ggridges",
    "glmnet",
    "globals",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "matrixStats",
    "memoise",
    "mets",
    "miCoPTCM",
    "mime",
    "multcomp",
    "mvnfast",
    "mvtnorm",
    "nleqslv",
    "nlme",
    "nnet",
    "numDeriv",
    "otel",
    "parallelly",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "plotrix",
    "polspline",
    "posterior",
    "praise",
    "processx",
    "prodlim",
    "progressr",
    "ps",
    "Publish",
    "quantreg",
    "R6",
    "ranger",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "riskRegression",
    "rlang",
    "rmarkdown",
    "rms",
    "rpart",
    "rprojroot",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "sfsmisc",
    "shape",
    "SparseM",
    "SQUAREM",
    "startupmsg",
    "stringi",
    "stringr",
    "survival",
    "tensorA",
    "testthat",
    "TH.data",
    "tibble",
    "timereg",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "waldo",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "GPTCM.Rmd",
      "filename": "GPTCM.html",
      "title": "Introduction",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "A simulation study",
        "References"
      ],
      "created": "2025-09-07 18:11:34",
      "modified": "2026-06-04 22:37:03",
      "commits": 8
    }
  ],
  "_score": 4.903089986991944,
  "_indexed": true,
  "_nocasepkg": "gptcm",
  "_universes": [
    "ocbe-uio",
    "zhizuio"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-09-27T10:49:54.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/94aff6526c2f2005feda75f92515bd0c372468e5bcb0c817fced774bbe549c64",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-09-27T10:50:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/68f58f865449eef96338b19b5e1c4f589849f2ebadf48230a1b0c47ab0166296",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-09-27T10:49:59.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/7017594e66d56b7023968a42f34db08291b120cdeeadc48c13c505e88c1358ed",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.0",
      "date": "2026-09-27T10:52:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/130db7d00a52f76f24b9354fbb7a5a95a8fc80e1f8d5b09b8a00167b6e591a40",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-09-27T10:49:11.000Z",
      "arch": "aarch64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/a6ac55ee48bd19de1a03b7e31d0f0b34c4b36c6e5faf33d3351ec3e5741ed6ba",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-09-27T10:49:52.000Z",
      "arch": "x86_64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/556626cae933625592736d7d28e4dd6dcf6faec0d52861d78594a1486e2bdc96",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-09-27T10:49:29.000Z",
      "arch": "aarch64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/6b885baceaf8ab908f416cc4c445c207f6ef8f6fb2b3bab2f7aed1cbd8046e9b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.0",
      "date": "2026-09-27T10:51:04.000Z",
      "arch": "x86_64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/e78a69c8c7b308892f6254dbe31006fab04beb977737ee432bf5a3d4be7f08cd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.0",
      "date": "2026-09-27T10:50:18.000Z",
      "arch": "emscripten",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/269aed2240f082c2ad8eb9be683ba925f8d1e88f23afbc071d8839728640f432",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-09-27T10:53:25.000Z",
      "arch": "aarch64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/108ca9ec851b7d434e055db0ffecd4125ee03c5708ff8af486e001c45ab713ad",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-09-27T10:49:21.000Z",
      "arch": "x86_64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/77f71dcdf32947d5e633a2d8b677b3282d0bb5f3312fffd328e9390d18e4410f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-09-27T10:48:49.000Z",
      "arch": "x86_64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/d659ecedcdd2164e0fd5dbfa3f30ed25c9e4a7aa0e702c2984d8a9e154e7bed9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-09-27T10:52:20.000Z",
      "arch": "aarch64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/f125c9867389f4ceffb374726920e7da123c9c6162e70db44fac4f0bf5cac428",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.0",
      "date": "2026-09-27T10:48:43.000Z",
      "arch": "x86_64",
      "commit": "c515c44248e9deb88343a3c1ca3ead122393c584",
      "fileid": "https://r2.ropensci.org/7d091732f5deb73da5e36dad65df7a5fa3d711fbbeb29fb8c96bbe561b582974",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ocbe-uio/actions/runs/36313345617"
    }
  ]
}