{
  "_id": "6ae54324327abcdf8686944e",
  "Package": "simtte",
  "Title": "Simulate Time-to-Event Data from PK/PD and Bespoke ODE Models",
  "Version": "1.1.0",
  "Language": "en-US",
  "Authors@R": "person(\"Carlos\", \"Traynor\", email = \"carlos.traynor.qcp@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Simulates time-to-event (survival) datasets for clinical\ntrial design and analysis, including datasets driven by a joint\npharmacokinetic/pharmacodynamic (PK/PD) model solved via the\n'mrgsolve' backend. Event times can be located directly during\nODE integration ('in-solver' event detection) using a library\nof built-in PK/PD hazard models or a user-supplied 'mrgsolve'\nmodel converted for this purpose, or generated by inverse\ntransform sampling from a closed-form Weibull or flexible\nM-spline baseline hazard, or from any externally simulated\nsurvival trajectory. See Bender et al. (2005)\n<doi:10.1002/sim.2059> for the inverse transform sampling\nmethodology and Royston and Parmar (2002)\n<doi:10.1002/sim.1203> for flexible parametric survival models.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/csetraynor/simtte",
  "BugReports": "https://github.com/csetraynor/simtte/issues",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "RoxygenNote": "8.0.0",
  "Repository": "https://csetraynor.r-universe.dev",
  "Date/Publication": "2026-10-30 22:43:53 UTC",
  "RemoteUrl": "https://github.com/csetraynor/simtte",
  "RemoteRef": "HEAD",
  "RemoteSha": "652c6ee92553c617d5b2d5edbd97785a258f7072",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-31 01:18:54 UTC",
    "User": "root"
  },
  "Author": "Carlos Traynor [aut, cre]",
  "Maintainer": "Carlos Traynor <carlos.traynor.qcp@gmail.com>",
  "_user": "csetraynor",
  "_type": "src",
  "_file": "simtte_1.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d394fb088a09485bc5611a3de1e93236854732a0f356a2ce071123366d262ae8",
  "_filesize": 776713,
  "_sha256": "d394fb088a09485bc5611a3de1e93236854732a0f356a2ce071123366d262ae8",
  "_expires": "2027-02-08T01:23:46.000Z",
  "_created": "2026-10-31T01:18:54.000Z",
  "_published": "2026-10-31T01:23:48.301Z",
  "_upstream": "https://github.com/csetraynor/simtte",
  "_status": "success",
  "_maintainer": {
    "name": "Carlos Traynor",
    "email": "carlos.traynor.qcp@gmail.com",
    "login": "carlostraynorqcp",
    "description": "",
    "uuid": 150864737
  },
  "_jobs": [
    {
      "job": 124399032472,
      "time": 165,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13024583116"
    },
    {
      "job": 124399032448,
      "time": 158,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13024951827"
    },
    {
      "job": 124399032524,
      "time": 233,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13024332516"
    },
    {
      "job": 124399032479,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13024747767"
    },
    {
      "job": 124398093749,
      "time": 208,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "13024372135"
    },
    {
      "job": 124399032540,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13024662687"
    },
    {
      "job": 124399032571,
      "time": 192,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13023958151"
    },
    {
      "job": 124399032489,
      "time": 155,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13024072791"
    },
    {
      "job": 124399032529,
      "time": 208,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13024886511"
    }
  ],
  "_buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008",
  "_commit": {
    "id": "652c6ee92553c617d5b2d5edbd97785a258f7072",
    "author": "Carlos Traynor <carlostraynor@nievess-MacBook-Air.local>",
    "committer": "Carlos Traynor <carlostraynor@nievess-MacBook-Air.local>",
    "message": "Stop tracking simtte.code-workspace\n",
    "time": 1793400233
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mrgsolve",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "callr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "splines2",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    }
  ],
  "_owner": "csetraynor",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 6
    },
    {
      "week": "2026-27",
      "n": 5
    },
    {
      "week": "2026-29",
      "n": 1
    },
    {
      "week": "2026-31",
      "n": 6
    },
    {
      "week": "2026-37",
      "n": 4
    },
    {
      "week": "2026-38",
      "n": 3
    },
    {
      "week": "2026-41",
      "n": 3
    },
    {
      "week": "2026-42",
      "n": 2
    },
    {
      "week": "2026-44",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "carltra",
      "count": 21,
      "uuid": 69875272
    },
    {
      "user": "csetraynor",
      "count": 7,
      "uuid": 33321804
    }
  ],
  "_userbio": {
    "uuid": 33321804,
    "type": "user",
    "name": "Carlos Traynor",
    "followers": 18,
    "description": "Quantitative Researcher | R & Python | Unix  \r\nExploring AI and reasoning, open-source, and web development"
  },
  "_downloads": {
    "count": 155,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/simtte"
  },
  "_devurl": "https://github.com/csetraynor/simtte",
  "_searchresults": 19,
  "_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/simtte.html"
  ],
  "_homeurl": "https://github.com/csetraynor/simtte",
  "_realowner": "csetraynor",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2026-07-11"
    },
    {
      "version": "1.0.2",
      "date": "2026-07-31"
    }
  ],
  "_exports": [
    "%>%",
    "add_censoring",
    "add_interval_censoring",
    "censoring_rate_for",
    "draw_censoring_times",
    "explore_pi_tq_surv",
    "sim_tte",
    "sim_tte_df",
    "sim_tte_ode",
    "sim_tte_ode_models",
    "simtte_example_model",
    "simtte_example_models",
    "simtte_model_cache",
    "simtte_model_cache_clear",
    "simtte_prepare_model",
    "thin_visits",
    "tte_model",
    "visit_schedule",
    "visit_schedule_informative"
  ],
  "_datasets": [
    {
      "name": "ms_data",
      "title": "Simulated Data for M-Splines Model Demonstration",
      "object": "ms_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_censoring",
      "title": "Apply independent right censoring to a simulated events data frame",
      "topics": [
        "add_censoring"
      ]
    },
    {
      "page": "add_interval_censoring",
      "title": "Map simulated event/censoring times onto an assessment-time interval",
      "topics": [
        "add_interval_censoring"
      ]
    },
    {
      "page": "censoring_rate_for",
      "title": "Solve for a censoring-distribution parameter giving a target censoring fraction",
      "topics": [
        "censoring_rate_for"
      ]
    },
    {
      "page": "draw_censoring_times",
      "title": "Draw independent times from a censoring/delay distribution spec",
      "topics": [
        "draw_censoring_times"
      ]
    },
    {
      "page": "explore_pi_tq_surv",
      "title": "Explore Prognostic Index and Quantile Survival Times",
      "topics": [
        "explore_pi_tq_surv"
      ]
    },
    {
      "page": "ms_data",
      "title": "Simulated Data for M-Splines Model Demonstration",
      "topics": [
        "ms_data"
      ]
    },
    {
      "page": "print.simtte_model",
      "title": "Print a converted PK/PD model",
      "topics": [
        "print.simtte_model"
      ]
    },
    {
      "page": "print.simtte_ode_sim",
      "title": "Print an in-solver simulation result",
      "topics": [
        "print.simtte_ode_sim"
      ]
    },
    {
      "page": "print.simtte_prepared_model",
      "title": "Print a prepared model",
      "topics": [
        "print.simtte_prepared_model"
      ]
    },
    {
      "page": "sim_tte",
      "title": "Simulate Time-to-Event Data",
      "topics": [
        "sim_tte"
      ]
    },
    {
      "page": "sim_tte_df",
      "title": "Simulate Time-to-Event Data from a Custom mrgsolve Output",
      "topics": [
        "sim_tte_df"
      ]
    },
    {
      "page": "sim_tte_ode",
      "title": "Simulate Time-to-Event Data via In-Solver Event Detection",
      "topics": [
        "sim_tte_ode"
      ]
    },
    {
      "page": "sim_tte_ode_models",
      "title": "List sim_tte_ode()'s bundled library models",
      "topics": [
        "sim_tte_ode_models"
      ]
    },
    {
      "page": "simtte_example_model",
      "title": "Load a bundled simtte example mrgsolve model",
      "topics": [
        "simtte_example_model"
      ]
    },
    {
      "page": "simtte_example_models",
      "title": "List simtte's bundled example mrgsolve models",
      "topics": [
        "simtte_example_models"
      ]
    },
    {
      "page": "simtte_model_cache",
      "title": "Where simtte builds and caches compiled models",
      "topics": [
        "simtte_model_cache"
      ]
    },
    {
      "page": "simtte_model_cache_clear",
      "title": "Clear simtte's compiled-model cache",
      "topics": [
        "simtte_model_cache_clear"
      ]
    },
    {
      "page": "simtte_prepare_model",
      "title": "Prepare a model for simulation on this process, once",
      "topics": [
        "simtte_prepare_model"
      ]
    },
    {
      "page": "thin_visits",
      "title": "Thin a visit schedule with missed visits and dropout (C1)",
      "topics": [
        "thin_visits"
      ]
    },
    {
      "page": "tte_model",
      "title": "Convert a PK/PD mrgsolve model into a `sim_tte_ode()`-ready model",
      "topics": [
        "tte_model"
      ]
    },
    {
      "page": "visit_schedule",
      "title": "Generate a per-subject visit schedule with fixed spacing and jitter",
      "topics": [
        "visit_schedule"
      ]
    },
    {
      "page": "visit_schedule_informative",
      "title": "Generate an outcome-informative visit schedule (C2)",
      "topics": [
        "visit_schedule_informative"
      ]
    }
  ],
  "_pkglogo": "https://github.com/csetraynor/simtte/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/csetraynor/simtte/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "mrgsolve",
    "pillar",
    "pkgconfig",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "advanced-usage.Rmd",
      "filename": "advanced-usage.html",
      "title": "Advanced Simulation Scenarios",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Exploring the Prognostic Index",
        "Visualisation",
        "Custom mrgsolve Models with sim_tte_df",
        "Event-Time Interpolation",
        "Multiple Treatment Arms"
      ],
      "created": "2026-05-15 21:51:23",
      "modified": "2026-09-13 17:11:46",
      "commits": 3
    },
    {
      "source": "bring-your-own-model.Rmd",
      "filename": "bring-your-own-model.html",
      "title": "Bring Your Own PK/PD Model",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. A minimal conversion",
        "2. What conversion actually does",
        "3. $OMEGA coexistence",
        "4. The lp/hazard boundary",
        "5. Compile cost and caching"
      ],
      "created": "2026-09-13 17:11:46",
      "modified": "2026-10-18 21:09:11",
      "commits": 4
    },
    {
      "source": "censoring-and-assessment.Rmd",
      "filename": "censoring-and-assessment.html",
      "title": "Censoring and Realistic Assessment Schedules",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Right censoring",
        "Choosing the censoring rate for a target censoring fraction",
        "2. Interval censoring",
        "Left censoring",
        "Delayed entry (not implemented)",
        "3. Realistic visit schedules",
        "Missed visits and assessment dropout",
        "Informative assessment schedules"
      ],
      "created": "2026-09-13 17:11:46",
      "modified": "2026-09-13 19:44:48",
      "commits": 2
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Getting Started with simtte",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Statistical Framework",
        "Weibull Model",
        "M-Spline Model",
        "Inverse Transform Sampling",
        "Basic Workflow",
        "Weibull Example",
        "M-Splines Example",
        "Event-Time Interpolation",
        "Output Structure",
        "References"
      ],
      "created": "2026-05-15 21:51:23",
      "modified": "2026-09-13 17:11:46",
      "commits": 2
    },
    {
      "source": "pkpd-time-to-event.Rmd",
      "filename": "pkpd-time-to-event.html",
      "title": "Joint PK/PD and Time-to-Event Simulation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. What this is for",
        "2. Library models",
        "3. Covariates and the linear predictor",
        "Where a covariate ends and a model parameter begins",
        "Combining dosing data with covariates",
        "4. Between-subject variability",
        "5. Beyond this tour",
        "6. Accuracy, messages, and when things get slow",
        "7. Backward compatibility"
      ],
      "created": "2026-09-13 17:11:46",
      "modified": "2026-10-18 21:09:11",
      "commits": 3
    }
  ],
  "_score": 5.630936119064192,
  "_indexed": true,
  "_nocasepkg": "simtte",
  "_universes": [
    "csetraynor",
    "carlostraynorqcp"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-31T01:21:06.000Z",
      "distro": "resolute",
      "commit": "652c6ee92553c617d5b2d5edbd97785a258f7072",
      "fileid": "https://r2.ropensci.org/1a81f4005ebeff710f3ee4e68379719d3c1b4d6041c0cd1ef03b55baa63609d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-10-31T01:21:06.000Z",
      "distro": "resolute",
      "commit": "652c6ee92553c617d5b2d5edbd97785a258f7072",
      "fileid": "https://r2.ropensci.org/e135d077182531db4a21d8b8fc286bf41cac5777befc13fc1738acb83fbe6517",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-31T01:21:38.000Z",
      "commit": "652c6ee92553c617d5b2d5edbd97785a258f7072",
      "fileid": "https://r2.ropensci.org/7fab7eba42fd9751c12ea8f49d1cba5a926e0163d66d7b2507fadfb579d35dc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-10-31T01:21:05.000Z",
      "commit": "652c6ee92553c617d5b2d5edbd97785a258f7072",
      "fileid": "https://r2.ropensci.org/a2905f4c9f6cef9950087f1720ad09a6f867900e3a628791a96fe7ab3c5ed9f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-10-31T01:21:01.000Z",
      "commit": "652c6ee92553c617d5b2d5edbd97785a258f7072",
      "fileid": "https://r2.ropensci.org/f44c3ce3bf25113ef7272b38b0854b3e397e35d8344f77b6dc47130d60949eae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-31T01:20:32.000Z",
      "commit": "652c6ee92553c617d5b2d5edbd97785a258f7072",
      "fileid": "https://r2.ropensci.org/1d7a88d43a7342ec905e2ff62759232e5de14ea3f144b9e4eadca955ce49d310",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-31T01:20:23.000Z",
      "commit": "652c6ee92553c617d5b2d5edbd97785a258f7072",
      "fileid": "https://r2.ropensci.org/820fada318518ebbd120c7b83ca557230991d54e3fe0a223959e2d7565121c8e",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-10-31T01:21:10.000Z",
      "commit": "652c6ee92553c617d5b2d5edbd97785a258f7072",
      "fileid": "https://r2.ropensci.org/7a80a5a87ad7e9fe1c8f0f0310680d14263d215c5edd21865054106f4349e003",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/csetraynor/actions/runs/41154445008"
    }
  ]
}