{
  "_id": "6accad44a14063b82c3a7c41",
  "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-10-12 09:43:51 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/c48135f9fdd0a33eff17ea35d34d0c5a37d285529f7967d443f82bf7f653fd7d",
  "_filesize": 189979,
  "_sha256": "c48135f9fdd0a33eff17ea35d34d0c5a37d285529f7967d443f82bf7f653fd7d",
  "_expires": "2027-01-20T09:49:54.000Z",
  "_created": "2026-10-12T09:43:51.000Z",
  "_published": "2026-10-12T09:49:56.720Z",
  "_buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114752847349,
      "time": 95,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11739280631"
    },
    {
      "job": 114752847472,
      "time": 122,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11739310590"
    },
    {
      "job": 114752847490,
      "time": 90,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738542992"
    },
    {
      "job": 114752847417,
      "time": 110,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738428438"
    },
    {
      "job": 114752847467,
      "time": 170,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11738748089"
    },
    {
      "job": 114752847305,
      "time": 273,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11738413835"
    },
    {
      "job": 114752847331,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738593125"
    },
    {
      "job": 114752847332,
      "time": 221,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738858142"
    },
    {
      "job": 114751760029,
      "time": 183,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11739495091"
    },
    {
      "job": 114752847390,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11738857827"
    },
    {
      "job": 114752847598,
      "time": 321,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11738359101"
    },
    {
      "job": 114752847566,
      "time": 141,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11738877887"
    },
    {
      "job": 114752847473,
      "time": 106,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11738757775"
    },
    {
      "job": 114752847553,
      "time": 319,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11738663585"
    },
    {
      "job": 114752847430,
      "time": 107,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11739127126"
    }
  ],
  "_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": 412,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/survivalmodels"
  },
  "_devurl": "https://github.com/foucher-y/survivalmodels",
  "_searchresults": 76,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_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.056904851336473,
  "_indexed": true,
  "_nocasepkg": "survivalmodels",
  "_universes": [
    "foucher-y"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-10-12T09:45:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/a8f18f9aabc23bd061eb3fa4608e7578c02dc89dac1f90a6b2e7bbf711d3b512",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-10-12T09:45:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/229a7cdd6e3128e5befc37dbe79a74901d706565d798bf39d02cbef51a5af73a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-10-12T09:45:34.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/7a8097e8d7850164ebd2d878569a7d4c1b9a13c18729604b967a86afd3249127",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.191",
      "date": "2026-10-12T09:45:47.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/883c9d360b063928e2fb5fccf6f27c378cc68b1c61bf09b00b3b171477e06b8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-10-12T09:46:27.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/d1d235ba96bdaa7312d970ddb70f5df4c599d546e02503ea64b86d09ab9c54f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-10-12T09:47:42.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/bdfdb6c9b29d48211103fde520abbbf05a418e1170b495fb9fac5c302654364d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-10-12T09:46:18.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/917d699dd36ee0c227ed5979b8946c56e9ff5de2e4916a0d5305db26aa1378f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.191",
      "date": "2026-10-12T09:47:01.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/b7517346d65ad2d4d6180610a9e40786b52206dbc5a3df9cb3572f396c23e3f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.191",
      "date": "2026-10-12T09:45:45.000Z",
      "arch": "emscripten",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/8a15742d0d47ec351e6ce338cffbef3d37b0c35a9409a11a5d2c4297e6f422b2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-10-12T09:48:35.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/65e77d64d876961e9e880bb45239b860e5d24dc6d331ec4d6b3751a6b10e0914",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-10-12T09:45:17.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/1e210be95068a06a844a13b5296cca811fea73591ed39e12141c1c6de237bd4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-10-12T09:45:18.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/8d4e5743b05b9cff3908f276d600d6990d2f08347028827a9fcdae3947349553",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-10-12T09:48:39.000Z",
      "arch": "aarch64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/6a6704cce3f183d27c4e2ee461206111cb1069f081ab3652924873d629fe8d43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.191",
      "date": "2026-10-12T09:45:21.000Z",
      "arch": "x86_64",
      "commit": "dd1db0ca588613794373ab74432e4c1420c05255",
      "fileid": "https://r2.ropensci.org/f2460131c49a6c4c2cb294ca5acb46e46cad042786fc7de00d4f79cf41cbd94d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/foucher-y/actions/runs/38231443147"
    }
  ]
}