{
  "_id": "6a57be28ff0138dec5d71bd3",
  "Package": "causalmlr",
  "Type": "Package",
  "Title": "Causal Machine Learning in R",
  "Version": "0.1.0",
  "Authors@R": "person(\"Damian\", \"Machlanski\", email = \"d.machlanski@ed.ac.uk\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Estimation and evaluation of average and conditional\naverage treatment effects (ATE/CATE) from observational data\nusing machine learning. Provides classical estimators (naive\ndifference in means, inverse propensity weighting, doubly\nrobust / AIPW, double machine learning) and meta-learners (S-,\nT- and X-Learner), all built on top of the 'mlr3' ecosystem so\nthat any regression or classification learner can be plugged in\nas a nuisance model. Also includes causal model evaluation\nutilities (ATE error, PEHE, R-Loss) with optional\ncross-fitting, and a collection of benchmark datasets commonly\nused for teaching machine learning for causal inference.",
  "License": "LGPL (>= 2.1)",
  "URL": "https://github.com/dmachlanski/causalmlr",
  "BugReports": "https://github.com/dmachlanski/causalmlr/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://dmachlanski.r-universe.dev",
  "Date/Publication": "2026-07-15 12:10:54 UTC",
  "RemoteUrl": "https://github.com/dmachlanski/causalmlr",
  "RemoteRef": "main",
  "RemoteSha": "110b181309a65d0e818c374fa8747f0043a149a7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-15 17:00:46 UTC",
    "User": "root"
  },
  "Author": "Damian Machlanski [aut, cre]",
  "Maintainer": "Damian Machlanski <d.machlanski@ed.ac.uk>",
  "_user": "dmachlanski",
  "_type": "src",
  "_file": "causalmlr_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/d9954f16b58455c27ee7758aa937b815856218f2982c72f547abe41ea7cd668b",
  "_filesize": 586727,
  "_sha256": "d9954f16b58455c27ee7758aa937b815856218f2982c72f547abe41ea7cd668b",
  "_expires": "2026-10-23T17:06:45.000Z",
  "_created": "2026-07-15T17:00:46.000Z",
  "_published": "2026-07-15T17:06:48.069Z",
  "_jobs": [
    {
      "job": 87418580426,
      "time": 162,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8350976992"
    },
    {
      "job": 87418580465,
      "time": 199,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8350994212"
    },
    {
      "job": 87418580436,
      "time": 273,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8351027336"
    },
    {
      "job": 87418580500,
      "time": 196,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8350999626"
    },
    {
      "job": 87417841293,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8350899190"
    },
    {
      "job": 87418580421,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8350955592"
    },
    {
      "job": 87418580445,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8350955929"
    },
    {
      "job": 87418580477,
      "time": 189,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8350996582"
    },
    {
      "job": 87418580442,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8350951907"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328",
  "_status": "success",
  "_upstream": "https://github.com/dmachlanski/causalmlr",
  "_commit": {
    "id": "110b181309a65d0e818c374fa8747f0043a149a7",
    "author": "dmachlanski <damian.machlanski@gmail.com>",
    "committer": "dmachlanski <damian.machlanski@gmail.com>",
    "message": "Compute CIs for CATE learners\n",
    "time": 1784117454
  },
  "_maintainer": {
    "name": "Damian Machlanski",
    "email": "d.machlanski@ed.ac.uk"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "mlr3",
      "version": ">= 0.14.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lgr",
      "role": "Suggests"
    },
    {
      "package": "mlr3learners",
      "role": "Suggests"
    },
    {
      "package": "mlr3tuning",
      "role": "Suggests"
    },
    {
      "package": "mlr3tuningspaces",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rpart",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "dmachlanski",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 5
    },
    {
      "week": "2026-29",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-07-09"
    }
  ],
  "_topics": [
    "causal-inference",
    "causal-machine-learning",
    "causal-ml"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "dmachlanski",
      "count": 8,
      "uuid": 3237421
    }
  ],
  "_userbio": {
    "uuid": 3237421,
    "type": "user",
    "name": "Damian Machlanski",
    "followers": 25,
    "description": "Research Associate in Causal AI"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/causalmlr"
  },
  "_devurl": "https://github.com/dmachlanski/causalmlr",
  "_searchresults": 3,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/causalmlr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "ate",
    "ate_dml",
    "ate_dr",
    "ate_ipw",
    "ate_naive",
    "cate_ci",
    "dr_learner",
    "eps_ate",
    "pehe",
    "r_learner",
    "r_loss",
    "rloss_nuisance",
    "s_learner",
    "t_learner",
    "x_learner"
  ],
  "_datasets": [
    {
      "name": "abalone",
      "title": "Abalone (regression practice data)",
      "object": "abalone",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sex",
        "length",
        "diameter",
        "height",
        "whole_weight",
        "shucked_weight",
        "viscera_weight",
        "shell_weight",
        "rings"
      ],
      "rows": 4177,
      "table": true,
      "tojson": true
    },
    {
      "name": "diabetes",
      "title": "Pima Indians diabetes (classification practice data)",
      "object": "diabetes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "n_pregnant",
        "glucose",
        "blood_pressure",
        "thickness",
        "insulin",
        "bmi",
        "function.",
        "age",
        "diabetes"
      ],
      "rows": 768,
      "table": true,
      "tojson": true
    },
    {
      "name": "housing",
      "title": "Boston housing (regression practice data)",
      "object": "housing",
      "class": [
        "data.frame"
      ],
      "fields": [
        "CRIM",
        "ZN",
        "INDUS",
        "CHAS",
        "NOX",
        "RM",
        "AGE",
        "DIS",
        "RAD",
        "TAX",
        "PTRATIO",
        "B",
        "LSTAT",
        "MEDV"
      ],
      "rows": 506,
      "table": true,
      "tojson": true
    },
    {
      "name": "ihdp_test",
      "title": "IHDP semi-synthetic benchmark (test set)",
      "object": "ihdp_test",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x0",
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "x7",
        "x8",
        "x9",
        "x10",
        "x11",
        "x12",
        "x13",
        "x14",
        "x15",
        "x16",
        "x17",
        "x18",
        "x19",
        "x20",
        "x21",
        "x22",
        "x23",
        "x24",
        "t",
        "y",
        "tau"
      ],
      "rows": 75,
      "table": true,
      "tojson": true
    },
    {
      "name": "ihdp_train",
      "title": "IHDP semi-synthetic benchmark (training set)",
      "object": "ihdp_train",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x0",
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "x7",
        "x8",
        "x9",
        "x10",
        "x11",
        "x12",
        "x13",
        "x14",
        "x15",
        "x16",
        "x17",
        "x18",
        "x19",
        "x20",
        "x21",
        "x22",
        "x23",
        "x24",
        "t",
        "y",
        "tau"
      ],
      "rows": 672,
      "table": true,
      "tojson": true
    },
    {
      "name": "jobs_test",
      "title": "Jobs benchmark (test set)",
      "object": "jobs_test",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x0",
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "x7",
        "x8",
        "x9",
        "x10",
        "x11",
        "x12",
        "x13",
        "x14",
        "x15",
        "x16",
        "t",
        "y",
        "e"
      ],
      "rows": 321,
      "table": true,
      "tojson": true
    },
    {
      "name": "jobs_train",
      "title": "Jobs benchmark (training set)",
      "object": "jobs_train",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x0",
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "x7",
        "x8",
        "x9",
        "x10",
        "x11",
        "x12",
        "x13",
        "x14",
        "x15",
        "x16",
        "t",
        "y",
        "e"
      ],
      "rows": 2891,
      "table": true,
      "tojson": true
    },
    {
      "name": "sodium",
      "title": "Sodium intake and blood pressure (synthetic)",
      "object": "sodium",
      "class": [
        "data.frame"
      ],
      "fields": [
        "age",
        "sodium",
        "bp"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    },
    {
      "name": "spirals",
      "title": "Spirals (classification practice data)",
      "object": "spirals",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x0",
        "x1",
        "y"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "synth_test",
      "title": "Synthetic CATE benchmark (test set)",
      "object": "synth_test",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x0",
        "x1",
        "x2",
        "x3",
        "x4",
        "tau"
      ],
      "rows": 250,
      "table": true,
      "tojson": true
    },
    {
      "name": "synth_train",
      "title": "Synthetic CATE benchmark (training set)",
      "object": "synth_train",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x0",
        "x1",
        "x2",
        "x3",
        "x4",
        "t",
        "y"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "abalone",
      "title": "Abalone (regression practice data)",
      "topics": [
        "abalone"
      ]
    },
    {
      "page": "ate",
      "title": "Average treatment effect of a fitted CATE model",
      "topics": [
        "ate",
        "ate.cate_learner"
      ]
    },
    {
      "page": "ate_dml",
      "title": "Double machine learning (DML) ATE estimator",
      "topics": [
        "ate_dml"
      ]
    },
    {
      "page": "ate_dr",
      "title": "Doubly robust (AIPW) ATE estimator",
      "topics": [
        "ate_dr"
      ]
    },
    {
      "page": "ate_ipw",
      "title": "Inverse propensity weighting (IPW) ATE estimator",
      "topics": [
        "ate_ipw"
      ]
    },
    {
      "page": "ate_naive",
      "title": "Naive ATE estimator (difference in means)",
      "topics": [
        "ate_naive"
      ]
    },
    {
      "page": "cate_ci",
      "title": "Bootstrap confidence intervals for predicted CATEs",
      "topics": [
        "cate_ci"
      ]
    },
    {
      "page": "diabetes",
      "title": "Pima Indians diabetes (classification practice data)",
      "topics": [
        "diabetes"
      ]
    },
    {
      "page": "dr_learner",
      "title": "DR-Learner for CATE estimation",
      "topics": [
        "dr_learner",
        "predict.dr_learner"
      ]
    },
    {
      "page": "eps_ate",
      "title": "Absolute error of an ATE estimate",
      "topics": [
        "eps_ate"
      ]
    },
    {
      "page": "housing",
      "title": "Boston housing (regression practice data)",
      "topics": [
        "housing"
      ]
    },
    {
      "page": "ihdp_test",
      "title": "IHDP semi-synthetic benchmark (test set)",
      "topics": [
        "ihdp_test"
      ]
    },
    {
      "page": "ihdp_train",
      "title": "IHDP semi-synthetic benchmark (training set)",
      "topics": [
        "ihdp_train"
      ]
    },
    {
      "page": "jobs_test",
      "title": "Jobs benchmark (test set)",
      "topics": [
        "jobs_test"
      ]
    },
    {
      "page": "jobs_train",
      "title": "Jobs benchmark (training set)",
      "topics": [
        "jobs_train"
      ]
    },
    {
      "page": "pehe",
      "title": "Precision in estimation of heterogeneous effects (PEHE)",
      "topics": [
        "pehe"
      ]
    },
    {
      "page": "r_learner",
      "title": "R-Learner for CATE estimation",
      "topics": [
        "predict.r_learner",
        "r_learner"
      ]
    },
    {
      "page": "r_loss",
      "title": "R-Loss: an observable score for CATE models",
      "topics": [
        "r_loss"
      ]
    },
    {
      "page": "rloss_nuisance",
      "title": "Nuisance models for the R-Loss",
      "topics": [
        "rloss_nuisance"
      ]
    },
    {
      "page": "s_learner",
      "title": "S-Learner for CATE estimation",
      "topics": [
        "predict.s_learner",
        "s_learner"
      ]
    },
    {
      "page": "sodium",
      "title": "Sodium intake and blood pressure (synthetic)",
      "topics": [
        "sodium"
      ]
    },
    {
      "page": "spirals",
      "title": "Spirals (classification practice data)",
      "topics": [
        "spirals"
      ]
    },
    {
      "page": "synth_test",
      "title": "Synthetic CATE benchmark (test set)",
      "topics": [
        "synth_test"
      ]
    },
    {
      "page": "synth_train",
      "title": "Synthetic CATE benchmark (training set)",
      "topics": [
        "synth_train"
      ]
    },
    {
      "page": "t_learner",
      "title": "T-Learner for CATE estimation",
      "topics": [
        "predict.t_learner",
        "t_learner"
      ]
    },
    {
      "page": "x_learner",
      "title": "X-Learner for CATE estimation",
      "topics": [
        "predict.x_learner",
        "x_learner"
      ]
    }
  ],
  "_readme": "https://github.com/dmachlanski/causalmlr/raw/main/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "codetools",
    "data.table",
    "digest",
    "evaluate",
    "future",
    "future.apply",
    "globals",
    "lgr",
    "listenv",
    "mirai",
    "mlbench",
    "mlr3",
    "mlr3measures",
    "mlr3misc",
    "nanonext",
    "palmerpenguins",
    "paradox",
    "parallelly",
    "PRROC",
    "R6",
    "rlang",
    "uuid"
  ],
  "_vignettes": [
    {
      "source": "causalmlr.Rmd",
      "filename": "causalmlr.html",
      "title": "Getting started with causalmlr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "ATE estimation",
        "CATE estimation with meta-learners",
        "Confidence intervals for predicted CATEs",
        "Model selection without ground truth: the R-Loss",
        "Tuning nuisance models directly with mlr3tuning",
        "Included datasets",
        "References"
      ],
      "created": "2026-07-08 15:51:37",
      "modified": "2026-07-15 12:10:54",
      "commits": 4
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "causalmlr",
  "_universes": [
    "dmachlanski"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-15T17:03:07.000Z",
      "distro": "resolute",
      "commit": "110b181309a65d0e818c374fa8747f0043a149a7",
      "fileid": "https://r2.ropensci.org/81679f10c5ab6119b8837b2fa927e9f5b8e79b1afd0f5c2e6dd75af42e22ce44",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-07-15T17:03:46.000Z",
      "distro": "resolute",
      "commit": "110b181309a65d0e818c374fa8747f0043a149a7",
      "fileid": "https://r2.ropensci.org/84c120ebc0cc6b16597a465d057c9448219d300d21e33735004c5b56a2418cf6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-15T17:04:56.000Z",
      "commit": "110b181309a65d0e818c374fa8747f0043a149a7",
      "fileid": "https://r2.ropensci.org/13b8e4a186811143d08198bf6928e56bf19b2def0e709db292e86351da9f12b6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-07-15T17:03:56.000Z",
      "commit": "110b181309a65d0e818c374fa8747f0043a149a7",
      "fileid": "https://r2.ropensci.org/6d9215f5853b9d7f3858a430d70925007efa19cecfadc94c4b4a107db0b181d7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-07-15T17:03:01.000Z",
      "commit": "110b181309a65d0e818c374fa8747f0043a149a7",
      "fileid": "https://r2.ropensci.org/7cf332ef6692695f6989676a4e40ddeef86c471c1b92a04d35d93b6f0019d1e7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-15T17:02:12.000Z",
      "commit": "110b181309a65d0e818c374fa8747f0043a149a7",
      "fileid": "https://r2.ropensci.org/4f5297b4b37d1b8b92aabe5521d1221ec925b1b7b37b84b5804768d44fec224b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-15T17:03:42.000Z",
      "commit": "110b181309a65d0e818c374fa8747f0043a149a7",
      "fileid": "https://r2.ropensci.org/888566a7bdbe32c922c9e4711c0ecedcfff3e73d1efc2e6dfb9eca162093d00e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-07-15T17:02:03.000Z",
      "commit": "110b181309a65d0e818c374fa8747f0043a149a7",
      "fileid": "https://r2.ropensci.org/6e2185f1f2e2a61c52c2abee7cbe4c4816b26e9c3db42f9a223afbe308cbffb0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/29434546328"
    }
  ]
}