{
  "_id": "6a55f2fdff0138dec5d6ad64",
  "Package": "survivalmodels",
  "Title": "Models for Survival Analysis",
  "Version": "0.1.191",
  "Authors@R": "c(person(given = \"Raphael\",\nfamily = \"Sonabend\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0001-9225-4654\")),\nperson(given = \"Yohann\",\nfamily = \"Foucher\",\nrole = c(\"cre\"),\nemail = \"yohann.foucher@univ-poitiers.fr\",\ncomment = c(ORCID = \"0000-0003-0330-7457\")))",
  "Description": "Implementations of classical and machine learning models\nfor survival analysis, including deep neural networks via\n'keras' and 'tensorflow'. Each model includes a separated fit\nand predict interface with consistent prediction types for\npredicting risk or survival probabilities. Models are either\nimplemented from 'Python' via 'reticulate'\n<https://CRAN.R-project.org/package=reticulate>, from code in\nGitHub packages, or novel implementations using 'Rcpp'\n<https://CRAN.R-project.org/package=Rcpp>. Neural networks are\nimplemented from the 'Python' package 'pycox'\n<https://github.com/havakv/pycox>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/RaphaelS1/survivalmodels/",
  "BugReports": "https://github.com/foucher-y/survivalmodels/issues",
  "Encoding": "UTF-8",
  "Repository": "https://foucher-y.r-universe.dev",
  "Date/Publication": "2024-03-18 21:11:45 UTC",
  "RemoteUrl": "https://github.com/foucher-y/survivalmodels",
  "RemoteRef": "HEAD",
  "RemoteSha": "dd1db0ca588613794373ab74432e4c1420c05255",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-14 08:22:48 UTC",
    "User": "root"
  },
  "Author": "Raphael Sonabend [aut] (ORCID: <https://orcid.org/0000-0001-9225-4654>),\nYohann Foucher [cre] (ORCID: <https://orcid.org/0000-0003-0330-7457>)",
  "Maintainer": "Yohann Foucher <yohann.foucher@univ-poitiers.fr>",
  "_user": "foucher-y",
  "_type": "src",
  "_file": "survivalmodels_0.1.191.tar.gz",
  "_fileid": "https://r2.ropensci.org/a2d30b26656a1034af1d593ca03a604a6b88dfabad5a5253b5fc80a3f9cb8280",
  "_filesize": 193728,
  "_sha256": "a2d30b26656a1034af1d593ca03a604a6b88dfabad5a5253b5fc80a3f9cb8280",
  "_expires": "2026-10-22T08:27:39.000Z",
  "_created": "2026-07-14T08:22:48.000Z",
  "_published": "2026-07-14T08:27:40.923Z",
  "_jobs": [
    {
      "job": 87035823244,
      "time": 159,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8304700959"
    },
    {
      "job": 87035823307,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8304689508"
    },
    {
      "job": 87035823256,
      "time": 176,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8304707488"
    },
    {
      "job": 87035823245,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8304691478"
    },
    {
      "job": 87035823233,
      "time": 80,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8304672147"
    },
    {
      "job": 87035823265,
      "time": 194,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8304712870"
    },
    {
      "job": 87035823267,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8304674517"
    },
    {
      "job": 87035823217,
      "time": 251,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8304733696"
    },
    {
      "job": 87035145791,
      "time": 215,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8304642921"
    },
    {
      "job": 87035823282,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8304682135"
    },
    {
      "job": 87035823241,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8304682488"
    },
    {
      "job": 87035823281,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8304677114"
    },
    {
      "job": 87035823275,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8304675142"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485",
  "_status": "success",
  "_upstream": "https://github.com/foucher-y/survivalmodels",
  "_commit": {
    "id": "dd1db0ca588613794373ab74432e4c1420c05255",
    "author": "foucher-y <yohann.foucher@univ-poitiers.fr>",
    "committer": "foucher-y <yohann.foucher@univ-poitiers.fr>",
    "message": "2024.03.18\n",
    "time": 1710796305
  },
  "_maintainer": {
    "name": "Yohann Foucher",
    "email": "yohann.foucher@univ-poitiers.fr",
    "login": "foucher-y",
    "linkedin": "in/yohann-foucher",
    "orcid": "0000-0003-0330-7457",
    "description": "Professor in Biostatistics",
    "uuid": 153531453
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.5",
      "role": "Imports"
    },
    {
      "package": "keras",
      "version": ">= 2.11.0",
      "role": "Suggests"
    },
    {
      "package": "pseudo",
      "role": "Suggests"
    },
    {
      "package": "reticulate",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    }
  ],
  "_owner": "foucher-y",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "raphaels1",
      "count": 122,
      "uuid": 25639974
    },
    {
      "user": "bblodfon",
      "count": 9,
      "uuid": 10909555
    },
    {
      "user": "foucher-y",
      "count": 3,
      "uuid": 153531453
    },
    {
      "user": "web-flow",
      "count": 2,
      "uuid": 19864447
    }
  ],
  "_userbio": {
    "uuid": 153531453,
    "type": "user",
    "name": "Yohann Foucher",
    "followers": 15,
    "description": "Professor in Biostatistics"
  },
  "_downloads": {
    "count": 538,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/survivalmodels"
  },
  "_devurl": "https://github.com/foucher-y/survivalmodels",
  "_searchresults": 72,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/survivalmodels.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/foucher-y/survivalmodels",
  "_realowner": "foucher-y",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-10-15"
    },
    {
      "version": "0.1.1",
      "date": "2020-10-20"
    },
    {
      "version": "0.1.2",
      "date": "2020-11-03"
    },
    {
      "version": "0.1.3",
      "date": "2020-11-11"
    },
    {
      "version": "0.1.4",
      "date": "2020-11-18"
    },
    {
      "version": "0.1.5",
      "date": "2021-01-17"
    },
    {
      "version": "0.1.6",
      "date": "2021-02-09"
    },
    {
      "version": "0.1.7",
      "date": "2021-03-09"
    },
    {
      "version": "0.1.8",
      "date": "2021-04-17"
    },
    {
      "version": "0.1.9",
      "date": "2021-09-12"
    },
    {
      "version": "0.1.11",
      "date": "2022-02-16"
    },
    {
      "version": "0.1.12",
      "date": "2022-03-11"
    },
    {
      "version": "0.1.13",
      "date": "2022-03-24"
    },
    {
      "version": "0.1.191",
      "date": "2024-03-19"
    }
  ],
  "_exports": [
    "build_keras_net",
    "build_pytorch_net",
    "cindex",
    "coxtime",
    "deephit",
    "deepsurv",
    "get_keras_optimizer",
    "get_pycox_activation",
    "get_pycox_callbacks",
    "get_pycox_init",
    "get_pycox_optim",
    "install_keras",
    "install_pycox",
    "install_torch",
    "loghaz",
    "pchazard",
    "pycox_prepare_train_data",
    "requireNamespaces",
    "set_seed",
    "simsurvdata",
    "surv_to_risk"
  ],
  "_help": [
    {
      "page": "survivalmodels-package",
      "title": "survivalmodels: Models for Survival Analysis",
      "topics": [
        "survivalmodels-package",
        "survivalmodels"
      ]
    },
    {
      "page": "build_keras_net",
      "title": "Build a Keras Multilayer Perceptron",
      "topics": [
        "build_keras_net"
      ]
    },
    {
      "page": "build_pytorch_net",
      "title": "Build a Pytorch Multilayer Perceptron",
      "topics": [
        "build_pytorch_net"
      ]
    },
    {
      "page": "cindex",
      "title": "Compute Concordance of survivalmodel Risk",
      "topics": [
        "cindex"
      ]
    },
    {
      "page": "coxtime",
      "title": "Cox-Time Survival Neural Network",
      "topics": [
        "coxtime"
      ]
    },
    {
      "page": "deephit",
      "title": "DeepHit Survival Neural Network",
      "topics": [
        "deephit"
      ]
    },
    {
      "page": "deepsurv",
      "title": "DeepSurv Survival Neural Network",
      "topics": [
        "deepsurv"
      ]
    },
    {
      "page": "get_keras_optimizer",
      "title": "Get Keras Optimizer",
      "topics": [
        "get_keras_optimizer"
      ]
    },
    {
      "page": "get_pycox_activation",
      "title": "Get Pytorch Activation Function",
      "topics": [
        "get_pycox_activation"
      ]
    },
    {
      "page": "get_pycox_callbacks",
      "title": "Get Torchtuples Callbacks",
      "topics": [
        "get_pycox_callbacks"
      ]
    },
    {
      "page": "get_pycox_init",
      "title": "Get Pytorch Weight Initialization Method",
      "topics": [
        "get_pycox_init"
      ]
    },
    {
      "page": "get_pycox_optim",
      "title": "Get Pytorch Optimizer",
      "topics": [
        "get_pycox_optim"
      ]
    },
    {
      "page": "install_keras",
      "title": "Install Keras and Tensorflow",
      "topics": [
        "install_keras"
      ]
    },
    {
      "page": "install_pycox",
      "title": "Install Pycox With Reticulate",
      "topics": [
        "install_pycox"
      ]
    },
    {
      "page": "install_torch",
      "title": "Install Torch With Reticulate",
      "topics": [
        "install_torch"
      ]
    },
    {
      "page": "loghaz",
      "title": "Logistic-Hazard Survival Neural Network",
      "topics": [
        "loghaz"
      ]
    },
    {
      "page": "pchazard",
      "title": "PC-Hazard Survival Neural Network",
      "topics": [
        "pchazard"
      ]
    },
    {
      "page": "predict.pycox",
      "title": "Predict Method for pycox Neural Networks",
      "topics": [
        "predict.pycox"
      ]
    },
    {
      "page": "pycox_prepare_train_data",
      "title": "Prepare Data for Pycox Model Training",
      "topics": [
        "pycox_prepare_train_data"
      ]
    },
    {
      "page": "requireNamespaces",
      "title": "Vectorised Logical requireNamespace",
      "topics": [
        "requireNamespaces"
      ]
    },
    {
      "page": "set_seed",
      "title": "Set seed in R numpy and torch",
      "topics": [
        "set_seed"
      ]
    },
    {
      "page": "simsurvdata",
      "title": "Simulate Survival Data",
      "topics": [
        "simsurvdata"
      ]
    },
    {
      "page": "surv_to_risk",
      "title": "Safely convert a survival matrix prediction to a relative risk",
      "topics": [
        "surv_to_risk"
      ]
    }
  ],
  "_readme": "https://github.com/foucher-y/survivalmodels/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_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": 4.03342375548695,
  "_indexed": true,
  "_nocasepkg": "survivalmodels",
  "_universes": [
    "foucher-y"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-07-14T08:25:36.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/b73af961bb3f86a3e77134f32f7b8c738d9e2feb3af68e4a5c0df41bb7517747",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-07-14T08:24:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/b661ec10faf7d5ebfeb23eb025da8bd572938ef7154411e6cfaf37f4e4355ffc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-07-14T08:25:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/c0d4ba97e2ada28e13049dba9485fb69fee77506df1ac6c10e28ec547e32253c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-07-14T08:25:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/b2b84f180950d13efe0c4ee75cdfc0968114933ba5e60c10e25eec94c928fa6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-07-14T08:24:14.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/a8f974204c389fe04b25bb2cb62c5a46054008cbe99748ba815e8e72303c39e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-07-14T08:25:45.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/1214709685f0954b5a0f3fa1c651fd1f1a59cef25bea79ef20582f0175a37da5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-07-14T08:24:13.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/fc9156739cfdf99826d393203827e8ea6bda014867220ac139a0055ee629bc6c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-07-14T08:26:28.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/58cdcb280f6f4722ab1930eca6e8ce0c5bea95a1db3e2690524260220372d6ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.191",
      "date": "2026-07-14T08:24:50.000Z",
      "arch": "emscripten",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/f4d4863d5bd5941b954db91468a6dac633b545af62e23b5cb1d259876c1545f8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-07-14T08:24:20.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/fe6ee18243c644732ed30829357d810f1fd1c6d50f06c359fb661c5ca8e38f1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-07-14T08:23:57.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/a1733a830487e99aa21e409fb1e2f2b51ac2e274ac6f1631b9d0913bcba49c60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-07-14T08:23:56.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/db762bd2d1e24e64ce97ca5dcfd135e7e42c9d6593999c788ae021ad8803e234",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/29317588485"
    }
  ]
}