{
  "_id": "6ac2faaad743750d376d9b8d",
  "Package": "rpsurv",
  "Title": "Fast Royston-Parmar Flexible Parametric Survival Models",
  "Version": "0.8.0",
  "Authors@R": "person(\"Imad\", \"El Badisy\", email = \"elbadisyimad@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Fits Royston-Parmar flexible parametric survival models\n(Royston and Parmar, 2002) <doi:10.1002/sim.1203> on the log\ncumulative hazard, odds, and probit scales, with time-varying\n(non-proportional) covariate effects via restricted cubic\nsplines in log time, and smooth non-linear covariate effects\nvia restricted cubic splines in the covariate, each with its\nown argument. The likelihood and its analytic gradient are\nevaluated in C++ with 'RcppParallel', giving large speedups\nover pure-R implementations for large datasets.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/ielbadisy/rpsurv",
  "BugReports": "https://github.com/ielbadisy/rpsurv/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "GNU make",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://ielbadisy.r-universe.dev",
  "Date/Publication": "2026-10-04 23:50:57 UTC",
  "RemoteUrl": "https://github.com/ielbadisy/rpsurv",
  "RemoteRef": "HEAD",
  "RemoteSha": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-05 01:11:25 UTC",
    "User": "root"
  },
  "Author": "Imad El Badisy [aut, cre]",
  "Maintainer": "Imad El Badisy <elbadisyimad@gmail.com>",
  "_user": "ielbadisy",
  "_type": "src",
  "_file": "rpsurv_0.8.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e3a06876acc34b3d658acb5660655aa327b840e0dd44436fd526c20d77dcba74",
  "_filesize": 565553,
  "_sha256": "e3a06876acc34b3d658acb5660655aa327b840e0dd44436fd526c20d77dcba74",
  "_expires": "2027-01-13T01:17:28.000Z",
  "_created": "2026-10-05T01:11:25.000Z",
  "_published": "2026-10-05T01:17:30.473Z",
  "_jobs": [
    {
      "job": 111576857241,
      "time": 120,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11320842746"
    },
    {
      "job": 111576857187,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11320558502"
    },
    {
      "job": 111576857232,
      "time": 113,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11321086090"
    },
    {
      "job": 111576857221,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11320309222"
    },
    {
      "job": 111576857297,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11321081278"
    },
    {
      "job": 111576857249,
      "time": 205,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11320463967"
    },
    {
      "job": 111576857267,
      "time": 122,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11320198119"
    },
    {
      "job": 111576857244,
      "time": 232,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11320658260"
    },
    {
      "job": 111576129482,
      "time": 217,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11320596863"
    },
    {
      "job": 111576857245,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11320327747"
    },
    {
      "job": 111576857258,
      "time": 192,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11321086248"
    },
    {
      "job": 111576857273,
      "time": 157,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11320149729"
    },
    {
      "job": 111576857275,
      "time": 116,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11320463624"
    },
    {
      "job": 111576857208,
      "time": 191,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11320173138"
    },
    {
      "job": 111576857243,
      "time": 92,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11320697960"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706",
  "_status": "success",
  "_upstream": "https://github.com/ielbadisy/rpsurv",
  "_commit": {
    "id": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
    "author": "ielbadisy <elbadisyimad@gmail.com>",
    "committer": "ielbadisy <elbadisyimad@gmail.com>",
    "message": "Bump version to 0.8.0\n",
    "time": 1791157857
  },
  "_maintainer": {
    "name": "Imad El Badisy",
    "email": "elbadisyimad@gmail.com",
    "login": "ielbadisy",
    "description": "PhD, Research Engineer in Biostatistics | Health Data Scientist",
    "uuid": 52789515
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "rstpm2",
      "role": "Suggests"
    },
    {
      "package": "flexsurv",
      "role": "Suggests"
    },
    {
      "package": "numDeriv",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "ielbadisy",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-34",
      "n": 47
    },
    {
      "week": "2026-35",
      "n": 1
    },
    {
      "week": "2026-36",
      "n": 2
    },
    {
      "week": "2026-40",
      "n": 13
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ielbadisy",
      "count": 63,
      "uuid": 52789515
    }
  ],
  "_userbio": {
    "uuid": 52789515,
    "type": "user",
    "name": "Imad EL BADISY ",
    "followers": 17,
    "description": "PhD, Research Engineer in Biostatistics | Health Data Scientist"
  },
  "_downloads": {
    "count": 349,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rpsurv"
  },
  "_devurl": "https://github.com/ielbadisy/rpsurv",
  "_searchresults": 0,
  "_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/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rpsurv.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ielbadisy/rpsurv",
  "_realowner": "ielbadisy",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.7.1",
      "date": "2026-09-11"
    }
  ],
  "_exports": [
    "coxsnell_plot",
    "km_compare_plot",
    "nlecurve",
    "rmst_diff",
    "rpsurv",
    "tvecurve"
  ],
  "_datasets": [
    {
      "name": "brcancer",
      "title": "German breast cancer data",
      "object": "brcancer",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "hormon",
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "x7",
        "rectime",
        "censrec",
        "x4a",
        "x4b",
        "x5e"
      ],
      "rows": 686,
      "table": true,
      "tojson": true
    },
    {
      "name": "heart",
      "title": "Stanford heart transplant data",
      "object": "heart",
      "class": [
        "data.frame"
      ],
      "fields": [
        "start",
        "stop",
        "event",
        "age",
        "year",
        "surgery",
        "transplant",
        "id"
      ],
      "rows": 172,
      "table": true,
      "tojson": true
    },
    {
      "name": "veteran",
      "title": "Veterans' Administration lung cancer trial",
      "object": "veteran",
      "class": [
        "data.frame"
      ],
      "fields": [
        "trt",
        "celltype",
        "time",
        "status",
        "karno",
        "diagtime",
        "age",
        "prior"
      ],
      "rows": 137,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "brcancer",
      "title": "German breast cancer data",
      "topics": [
        "brcancer"
      ]
    },
    {
      "page": "coxsnell_plot",
      "title": "Cox-Snell residual diagnostic plot",
      "topics": [
        "coxsnell_plot"
      ]
    },
    {
      "page": "heart",
      "title": "Stanford heart transplant data",
      "topics": [
        "heart"
      ]
    },
    {
      "page": "km_compare_plot",
      "title": "Compare the fitted survival curve against the Kaplan-Meier estimate",
      "topics": [
        "km_compare_plot"
      ]
    },
    {
      "page": "nlecurve",
      "title": "Non-linear effect component of a covariate",
      "topics": [
        "nlecurve"
      ]
    },
    {
      "page": "plot.rpsurv",
      "title": "Plot predicted curves from a Royston-Parmar model",
      "topics": [
        "plot.rpsurv"
      ]
    },
    {
      "page": "predict.rpsurv",
      "title": "Predict from a fitted Royston-Parmar model",
      "topics": [
        "predict.rpsurv"
      ]
    },
    {
      "page": "residuals.rpsurv",
      "title": "Residuals for a Royston-Parmar model",
      "topics": [
        "residuals.rpsurv"
      ]
    },
    {
      "page": "rmst_diff",
      "title": "Restricted mean survival time difference between two covariate profiles",
      "topics": [
        "rmst_diff"
      ]
    },
    {
      "page": "rpsurv",
      "title": "Fit a Royston-Parmar flexible parametric survival model",
      "topics": [
        "rpsurv"
      ]
    },
    {
      "page": "tvecurve",
      "title": "Time-varying effect component of a covariate",
      "topics": [
        "tvecurve"
      ]
    },
    {
      "page": "veteran",
      "title": "Veterans' Administration lung cancer trial",
      "topics": [
        "veteran"
      ]
    }
  ],
  "_readme": "https://github.com/ielbadisy/rpsurv/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppParallel",
    "survival"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "rpsurv.Rmd",
      "filename": "rpsurv.html",
      "title": "rpsurv: Fast Royston-Parmar Flexible Parametric Survival Models",
      "author": "Imad El Badisy",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The Royston-Parmar model",
        "Spline basis",
        "Linear predictor and scales",
        "Log-likelihood",
        "Analytic gradient",
        "Fitting API and output",
        "Prediction and plots",
        "Time-varying effect vs. time-varying covariate",
        "Time-varying effect (non-proportional hazards)",
        "Time-varying covariate",
        "Diagnostics",
        "Validation against rstpm2 and flexsurv",
        "Speed benchmark",
        "What is delegated to C++",
        "Benchmark",
        "Session info"
      ],
      "created": "2026-08-20 13:26:28",
      "modified": "2026-08-21 11:14:56",
      "commits": 3
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "rpsurv",
  "_universes": [
    "ielbadisy"
  ],
  "_previous": "0.7.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.0",
      "date": "2026-10-05T01:13:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/b44024767bb5b3462621b04ea0688511f47facf4384e0344fbdaf33b571f58bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.8.0",
      "date": "2026-10-05T01:13:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/6c0e4af2f9a47256f441c78b0f7a79e66210c93bea0b026820d3a7e27b454c4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.8.0",
      "date": "2026-10-05T01:13:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/4e2543c0e521bbfab240a33cc7ff72756d2261ce76e5cc7e972a72324bf96c08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.8.0",
      "date": "2026-10-05T01:13:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/913bad2d1a1acfea37e21f590a12acd3238686568d3304ec2172c634970f8c59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.0",
      "date": "2026-10-05T01:13:13.000Z",
      "arch": "aarch64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/0808937304299e9d2c72c07e2e3199f5cd818306e57dec633b68f970bf27c035",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.8.0",
      "date": "2026-10-05T01:16:01.000Z",
      "arch": "x86_64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/bfcdb6809eed01b6a46bf221d3a00cde32b85336916ee68cd4c5fb5c2f886903",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.8.0",
      "date": "2026-10-05T01:14:46.000Z",
      "arch": "aarch64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/05592c346e8016270a833817ad3cf78ba60d7d5ba2df866b6754218b8e384bd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.8.0",
      "date": "2026-10-05T01:14:54.000Z",
      "arch": "x86_64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/8f37f8085c70a446b86e9facf81ec3dfe4d2522d3846cfd2313ebb110240473a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.8.0",
      "date": "2026-10-05T01:13:25.000Z",
      "arch": "emscripten",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/7b3f4c56892e65a58b3c7476bbbb2fd99253a576bbba4716a2d3e65af96780cf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.0",
      "date": "2026-10-05T01:14:16.000Z",
      "arch": "aarch64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/4c6a3f0753ed2b72289f6c0b7e9d5968eb63ea299d561e76bf68afd428230176",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.8.0",
      "date": "2026-10-05T01:12:38.000Z",
      "arch": "x86_64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/7976e3d75f968e4bc78d2738553b6c15ceaaba046cc7232af3cc311c6a85e156",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.8.0",
      "date": "2026-10-05T01:12:46.000Z",
      "arch": "x86_64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/4e8d9fe5807f9eff587af4f949e6730aeb8a6e9696b0ea0c6faaef0e73c3eea0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.8.0",
      "date": "2026-10-05T01:14:17.000Z",
      "arch": "aarch64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/c5fbc130c2610273598cecf013f2373232b3a897c6030e633c0877c2418fef41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.8.0",
      "date": "2026-10-05T01:12:33.000Z",
      "arch": "x86_64",
      "commit": "af1b2c5eabd7c861b4f288afe4bbdc7ff41573d7",
      "fileid": "https://r2.ropensci.org/793fd12ec91ec9552fe9602ff7b5e2d3269e48c1acae275d82919d7c923e87f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ielbadisy/actions/runs/37250191706"
    }
  ]
}