{
  "_id": "6a1f35e1b401979e73428758",
  "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-05-15 06:23:42 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>",
  "MD5sum": "2ff1a2c2664d3d60c5528544723077c3",
  "_user": "foucher-y",
  "_type": "src",
  "_file": "survivalmodels_0.1.191.tar.gz",
  "_fileid": "7758d382c5fef0a9cc004c461b4f4ecfd5e7962bf86b6905b1e2272b58853277",
  "_filesize": 189444,
  "_sha256": "7758d382c5fef0a9cc004c461b4f4ecfd5e7962bf86b6905b1e2272b58853277",
  "_created": "2026-05-15T06:23:42.000Z",
  "_published": "2026-06-02T19:58:25.593Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79160096306,
      "time": 116,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7011377338"
    },
    {
      "job": 79160096139,
      "time": 121,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7011378364"
    },
    {
      "job": 79160096468,
      "time": 112,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7011376491"
    },
    {
      "job": 79160096141,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7011378352"
    },
    {
      "job": 79160096525,
      "time": 134,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7011376889"
    },
    {
      "job": 79160096497,
      "time": 229,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7011397417"
    },
    {
      "job": 79160096187,
      "time": 155,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7011379332"
    },
    {
      "job": 79160096161,
      "time": 364,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7011419499"
    },
    {
      "job": 79160095445,
      "time": 200,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7011352108"
    },
    {
      "job": 79160095046,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7368389024"
    },
    {
      "job": 79160095933,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7011376881"
    },
    {
      "job": 79160096278,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7011372245"
    },
    {
      "job": 79160096663,
      "time": 131,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7011380374"
    }
  ],
  "_buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 153531453
  },
  "_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",
    "description": "Professor in Biostatistics"
  },
  "_downloads": {
    "count": 536,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/survivalmodels"
  },
  "_devurl": "https://github.com/foucher-y/survivalmodels",
  "_searchresults": 69,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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",
    "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": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.014940349792937,
  "_indexed": true,
  "_nocasepkg": "survivalmodels",
  "_universes": [
    "foucher-y"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "6838e0ccb7f175c202403e2c7ae1adbeb62ea751bc71d46866f55f46054c587f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:51.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "8bf45fc2458c070171091a042ccfbd7406dc6b7de4da47bfba0d2e8253d08570",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:46.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "de1fb5d43a06f3438ead187374282003b06f9cac45b441de358bfd5cf14a236a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:51.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "38b1a4eab397a32782e2b132cd17a93d3a15c44664792a4433efe011677f6b70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:47.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "38380b7896221bc0d046a5271b591d473fa2d7234b54cf15a885ca9f70257e61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-05-15T06:27:11.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "a4b04f09e7aafd5d32ebd05b59ad2c0e45343022e905ece7a3b256eb8244aff5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:54.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "ba261f96dfae3e13ffa9ef947dd3aa5a85adcb8dff88c010754ae965328a2591",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-05-15T06:28:33.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "38880e0d74bbdd36fd67b496896c8a513064b853d34dc3b6b7654f9093a5acd1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:19.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "03fd3914621c64db95a28b353f36908531af1bc4116cfa1a0340c6567c3ea237",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:01.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "f98b4a0b906963d7ca2a169fb5f4d1a236be4d71757e45fbc6a725592dde63a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-05-15T06:25:26.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "496ebce4e26024bff9fcefacc22176fb8ad7ee98fe753005359038beaecd261b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.191",
      "date": "2026-06-02T19:58:05.000Z",
      "arch": "emscripten",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "0aa633f3bf9d78b2b198dd8da821aed64591e5b97d5426758c20d5c299f34758",
      "status": "success",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/25903642846"
    }
  ]
}