{
  "_id": "6a13fce4acfb0bcc41d3692d",
  "Package": "bunsen",
  "Title": "Marginal Survival Estimation with Covariate Adjustment",
  "Version": "0.1.0",
  "Authors@R": "c(person(given = \"Xinlei\",\nfamily = \"Deng\",\nemail = \"xinlei.deng@novartis.com\",\nrole = c(\"cre\", \"aut\"),\ncomment = c(ORCID = \"0000-0001-8129-6007\")\n),\nperson(given = \"Mark\",\nfamily = \"Baillie\",\nemail = \"mark.baillie@novartis.com\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-5618-0667\")\n),\nperson(given = \"Craig\",\nfamily = \"Wang\",\nemail = \"craig.wang@novartis.com\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-1804-2463\")\n),\nperson(given = \"Dominic\",\nfamily = \"Magirr\",\nemail = \"dominic.magirr@novartis.com\",\nrole = c(\"aut\")\n),\nperson(given = \"Alex\",\nfamily = \"Przybylski\",\nemail = \"alexander.przybylski@novartis.com\",\nrole = c(\"aut\")\n))",
  "Description": "Provides an efficient and robust implementation for\nestimating marginal Hazard Ratio (HR) and Restricted Mean\nSurvival Time (RMST) with covariate adjustment using Daniel et\nal. (2021) <doi:10.1002/bimj.201900297> and Karrison et al.\n(2018) <doi:10.1177/1740774518759281>.",
  "Maintainer": "Xinlei Deng <xinlei.deng@novartis.com>",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-25 07:37:19 UTC",
    "User": "root"
  },
  "Author": "Xinlei Deng [cre, aut] (ORCID:\n<https://orcid.org/0000-0001-8129-6007>), Mark Baillie [aut]\n(ORCID: <https://orcid.org/0000-0002-5618-0667>), Craig Wang\n[aut] (ORCID: <https://orcid.org/0000-0003-1804-2463>), Dominic\nMagirr [aut], Alex Przybylski [aut]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2025-05-29 08:50:10 UTC",
  "RemoteUrl": "https://github.com/cran/bunsen",
  "RemoteRef": "HEAD",
  "RemoteSha": "8bf62e13baffac1fd6743420fa036494b33bcbcd",
  "MD5sum": "f33298ba09b14a56e22e62d684feb87c",
  "_user": "cran",
  "_type": "src",
  "_file": "bunsen_0.1.0.tar.gz",
  "_fileid": "7807d535ec52ec1474c5cb81e22e695b62200f67c56162d91040c7c15fad5534",
  "_filesize": 243800,
  "_sha256": "7807d535ec52ec1474c5cb81e22e695b62200f67c56162d91040c7c15fad5534",
  "_created": "2026-05-25T07:37:19.000Z",
  "_published": "2026-05-25T07:40:20.175Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77674737077,
      "time": 130,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7193848197"
    },
    {
      "job": 77674737035,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7193848708"
    },
    {
      "job": 77674736991,
      "time": 135,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193849516"
    },
    {
      "job": 77674737021,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193849988"
    },
    {
      "job": 77674397409,
      "time": 165,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193812859"
    },
    {
      "job": 77674736974,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7193844719"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26389122635",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/bunsen",
  "_commit": {
    "id": "8bf62e13baffac1fd6743420fa036494b33bcbcd",
    "author": "Xinlei Deng <xinlei.deng@novartis.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1748508610
  },
  "_maintainer": {
    "name": "Xinlei Deng",
    "email": "xinlei.deng@novartis.com",
    "orcid": "0000-0001-8129-6007"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "clustermq",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2025-05-29"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 532,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bunsen"
  },
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bunsen.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-05-29"
    }
  ],
  "_exports": [
    "calculate_statistics",
    "calculate_trt_effect",
    "clmqControl",
    "get_marginal_effect",
    "get_point_estimate",
    "get_rmst_estimate",
    "get_variance_estimation",
    "rmst_delta",
    "rmst_point_estimate",
    "rmst_unadjust",
    "simulate_counterfactuals"
  ],
  "_datasets": [
    {
      "name": "oak",
      "title": "Oak trial data",
      "object": "oak",
      "class": [
        "data.frame"
      ],
      "fields": [
        "trt",
        "btmb",
        "pdl1",
        "OS",
        "os.status"
      ],
      "rows": 578,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_statistics",
      "title": "Estimate the marginal causal survival curves using potential outcome framework",
      "topics": [
        "calculate_statistics"
      ]
    },
    {
      "page": "calculate_trt_effect",
      "title": "Calculate the marginal treatment effect using counterfactual simulations",
      "topics": [
        "calculate_trt_effect"
      ]
    },
    {
      "page": "clmqControl",
      "title": "Control of marginal HR estimation via clustermq",
      "topics": [
        "clmqControl"
      ]
    },
    {
      "page": "get_marginal_effect",
      "title": "Calculate the marginal treatment effects for hazard ratio (HR) adjusting covariates in clinical trials",
      "topics": [
        "get_marginal_effect"
      ]
    },
    {
      "page": "get_point_estimate",
      "title": "Calculate the marginal treatment effects (only the point estimate) for hazard ratio (HR) adjusting covariates in clinical trials",
      "topics": [
        "get_point_estimate"
      ]
    },
    {
      "page": "get_rmst_estimate",
      "title": "Calculate the marginal restricted mean survival time (RMST) when adjusting covariates in clinical trials",
      "topics": [
        "get_rmst_estimate"
      ]
    },
    {
      "page": "get_variance_estimation",
      "title": "Calculate the variance (SE) of the marginal treatment effects (hazard ratio) adjusting covariates in clinical trials",
      "topics": [
        "get_variance_estimation"
      ]
    },
    {
      "page": "oak",
      "title": "Oak trial data",
      "topics": [
        "oak"
      ]
    },
    {
      "page": "rmst_delta",
      "title": "Calculate the variance of the marginal restricted mean survival time (RMST) when adjusting covariates using the delta method",
      "topics": [
        "rmst_delta"
      ]
    },
    {
      "page": "rmst_point_estimate",
      "title": "Calculate the point estimate of the marginal restricted mean survival time (RMST) when adjusting covariates in clinical trials",
      "topics": [
        "rmst_point_estimate"
      ]
    },
    {
      "page": "rmst_unadjust",
      "title": "Calculate the unadjusted restricted mean survival time (RMST)",
      "topics": [
        "rmst_unadjust"
      ]
    },
    {
      "page": "simulate_counterfactuals",
      "title": "Calculate the potential outcomes using marginal survival causual curves",
      "topics": [
        "simulate_counterfactuals"
      ]
    }
  ],
  "_readme": "https://github.com/cran/bunsen/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "clustermq",
    "codetools",
    "crayon",
    "globals",
    "glue",
    "hms",
    "lattice",
    "lifecycle",
    "Matrix",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "Rcpp",
    "rlang",
    "survival",
    "vctrs"
  ],
  "_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": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "bunsen",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-25T07:39:24.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8bf62e13baffac1fd6743420fa036494b33bcbcd",
      "fileid": "049e94f8304d18816707845afc7a38ce3433b454b79f11d63196f6ff9974af2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26389122635"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-25T07:39:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8bf62e13baffac1fd6743420fa036494b33bcbcd",
      "fileid": "9ad7c6860b4e462f4df17acb0cce867d17649ce1efa78a27a4f256f62226999d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26389122635"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-25T07:39:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8bf62e13baffac1fd6743420fa036494b33bcbcd",
      "fileid": "30e578155bd4f935c1bfbbb377423d1f3e1619c3dedf9e7acd2f9b0cf00295ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26389122635"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-25T07:39:24.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8bf62e13baffac1fd6743420fa036494b33bcbcd",
      "fileid": "7fcc3a0c7e7710135291b60019f68d5699293fa6cb9d79dd01b6742dfaa1e685",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26389122635"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-25T07:39:36.000Z",
      "arch": "emscripten",
      "commit": "8bf62e13baffac1fd6743420fa036494b33bcbcd",
      "fileid": "5aa6185db1345426ebd37b5eee7eae526c209100714ca2b55aaad0de36f76dee",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26389122635"
    }
  ]
}