{
  "_id": "6af438ec535793c853327b91",
  "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-11-11 09:14:15 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/18e9a65b37f2d68936eb40a660d58e35efa80540c3301a31649f3a6afe747a07",
  "_filesize": 190234,
  "_sha256": "18e9a65b37f2d68936eb40a660d58e35efa80540c3301a31649f3a6afe747a07",
  "_expires": "2027-02-19T09:44:10.000Z",
  "_created": "2026-11-11T09:14:15.000Z",
  "_published": "2026-11-11T09:44:12.668Z",
  "_upstream": "https://github.com/foucher-y/survivalmodels",
  "_status": "success",
  "_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
  },
  "_jobs": [
    {
      "job": 130431902874,
      "time": 95,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13842911565"
    },
    {
      "job": 130431903050,
      "time": 106,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13842766984"
    },
    {
      "job": 130431902845,
      "time": 93,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13842956516"
    },
    {
      "job": 130431902898,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13842034824"
    },
    {
      "job": 130431902937,
      "time": 73,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13842969418"
    },
    {
      "job": 130431902964,
      "time": 445,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13842569731"
    },
    {
      "job": 130431902948,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13844951351"
    },
    {
      "job": 130431902942,
      "time": 276,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13842919356"
    },
    {
      "job": 130430613337,
      "time": 165,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13843230847"
    },
    {
      "job": 130431902852,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13842472393"
    },
    {
      "job": 130431903002,
      "time": 324,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13842472912"
    },
    {
      "job": 130431903029,
      "time": 118,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13842776953"
    },
    {
      "job": 130431902880,
      "time": 85,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13842104347"
    },
    {
      "job": 130431902950,
      "time": 320,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13842542891"
    },
    {
      "job": 130431903250,
      "time": 98,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13842388757"
    }
  ],
  "_buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 628,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/survivalmodels"
  },
  "_devurl": "https://github.com/foucher-y/survivalmodels",
  "_searchresults": 109,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/survivalmodels.html",
    "LICENSE"
  ],
  "_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.213517756996305,
  "_indexed": true,
  "_nocasepkg": "survivalmodels",
  "_universes": [
    "foucher-y"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-11-11T09:16:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/b3f651093a7713c25944f8ac75e8457a15201f0c0beedf8b38c7f175c7db338a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-11-11T09:16:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/e3ce3212a7423901e6e4702c877e36daa55044d48ebec9ef0fcb3b956396d776",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-11-11T09:16:04.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/09d06d2b1bdd902b561ec5667d912ce5b990b3fe42fe452b992f2d2c447d154e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-11-11T09:16:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/8e5906c7b404a9e6fe49257b5d7f9ac46a3b6cb52a5be54c47df82bce2da4023",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-11-11T09:33:26.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/61383c2fc4485bf97852af52e598e17d1f34fe7b7be6b0902c2ed1b96f9fbd6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-11-11T09:23:22.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/eaaab7eda296a90e4ae615044b069d8df948c268d6f56eb97261a626c94f9f1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-11-11T09:43:11.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/7d090b22dd3cb22174f6876f894fa735ab658afa9ef60a825ce606e9cac4ea1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-11-11T09:32:39.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/ed81c2f3fe6f7cf070d7a41c77ee93d8eed3f818d1613d4bb42f01132ecd53ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.191",
      "date": "2026-11-11T09:16:13.000Z",
      "arch": "emscripten",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/5a832123dc65df1e834106a9973486c583130f01f3a447cb388a95ab504762c9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-11-11T09:19:02.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/e2adeffd89bef41992fe203545b8481b252b9fade38116eddedaf2034aa0c9d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-11-11T09:15:33.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/559df3c0b29eb0b107947eb19927e78f69f76890b435d926ee78cce5f9798e15",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-11-11T09:15:28.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/0a214cc0987615233279ee8788050692f90aa8252ad2983f7b315e03a3b57568",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-11-11T09:19:10.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/d910a1304b57af311dbcb86be209e83179992fd820aa2b1212ff0546272ef6b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-11-11T09:15:37.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/d8b1634e7491dc9d977e8bd4790befd10de930e0e39ddb35d62a8758749aecae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/42993097008"
    }
  ]
}