{
  "_id": "6acf4d0bd9de2f3f33fca8ee",
  "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-16 08:27:15 UTC",
  "RemoteUrl": "https://github.com/dmachlanski/causalmlr",
  "RemoteRef": "main",
  "RemoteSha": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-14 08:40:16 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/c087e1b901d74e1fbe5da31b623787178ac2b2a1a3ff23f99ebaf0b1e69290c1",
  "_filesize": 588575,
  "_sha256": "c087e1b901d74e1fbe5da31b623787178ac2b2a1a3ff23f99ebaf0b1e69290c1",
  "_expires": "2027-01-22T09:36:09.000Z",
  "_created": "2026-10-14T08:40:16.000Z",
  "_published": "2026-10-14T09:36:11.249Z",
  "_buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115761512621,
      "time": 169,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11879829919"
    },
    {
      "job": 115761512709,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11880601889"
    },
    {
      "job": 115761512579,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11883750013"
    },
    {
      "job": 115761512694,
      "time": 203,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11882854268"
    },
    {
      "job": 115760037182,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11880715776"
    },
    {
      "job": 115761512555,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11881025739"
    },
    {
      "job": 115761512713,
      "time": 128,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "11880252567"
    },
    {
      "job": 115761512547,
      "time": 109,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "11881265266"
    },
    {
      "job": 115761512856,
      "time": 98,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "11881435153"
    }
  ],
  "_upstream": "https://github.com/dmachlanski/causalmlr",
  "_commit": {
    "id": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
    "author": "dmachlanski <damian.machlanski@gmail.com>",
    "committer": "dmachlanski <damian.machlanski@gmail.com>",
    "message": "Add info to R-universe\n",
    "time": 1784190435
  },
  "_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": 4
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-07-09"
    }
  ],
  "_topics": [
    "causal-inference",
    "causal-machine-learning",
    "causal-ml"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "dmachlanski",
      "count": 9,
      "uuid": 3237421
    }
  ],
  "_userbio": {
    "uuid": 3237421,
    "type": "user",
    "name": "Damian Machlanski",
    "followers": 28,
    "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/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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-10-14T08:42:39.000Z",
      "distro": "resolute",
      "commit": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
      "fileid": "https://r2.ropensci.org/3bf073bd017c3cdfa2b5ab4e97277b859a01cd324f99162e2700abbaa37873f0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-14T08:42:41.000Z",
      "distro": "resolute",
      "commit": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
      "fileid": "https://r2.ropensci.org/9cdbea02efc019e0d88be82373e60238bc769195fb6eec924164aba7d498130d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-14T09:32:37.000Z",
      "commit": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
      "fileid": "https://r2.ropensci.org/e0f12fe11ee9d0042799b1d5eac4761055c691f377cba1eef27e85be91a72802",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-14T09:34:10.000Z",
      "commit": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
      "fileid": "https://r2.ropensci.org/55075cd95f7d900d381a11b310548e891856ad4c0940b0517232d506d4051fd1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-14T08:42:08.000Z",
      "commit": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
      "fileid": "https://r2.ropensci.org/7cc3c6cd3a32cf8296cd0454d92646a3402e6e015d23aaa52130cfcf440e97bb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T08:41:51.000Z",
      "commit": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
      "fileid": "https://r2.ropensci.org/aecdd2b237db258aa2c2cc3fd2adb30a538f3cd2a0c8b144f1f1eaf54c156723",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T08:41:32.000Z",
      "commit": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
      "fileid": "https://r2.ropensci.org/46ed0102218048ba98afc2a5f352a0fa09a347015f888829b0159cc0a0020b99",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-14T08:41:23.000Z",
      "commit": "6a3df30ea501daa48fd4151f7169b5386dfa8f03",
      "fileid": "https://r2.ropensci.org/909ed1626ddfb0e656ae9fda657d63212a26b0e565b55cbf02e467ff9e8a525d",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/dmachlanski/actions/runs/38536292507"
    }
  ]
}