{
  "_id": "6a1053d2acfb0bcc41ca1e63",
  "Package": "tidyhte",
  "Title": "Tidy Estimation of Heterogeneous Treatment Effects",
  "Version": "1.0.4",
  "Authors@R": "person(given = \"Drew\",\nfamily = \"Dimmery\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"cran@ddimmery.com\",\ncomment = c(ORCID = \"0000-0001-9602-6325\"))",
  "Description": "Estimates heterogeneous treatment effects using tidy\nsemantics on experimental or observational data.  Methods are\nbased on the doubly-robust learner of Kennedy (2023)\n<doi:10.1214/23-EJS2157>. You provide a simple recipe for what\nmachine learning algorithms to use in estimating the nuisance\nfunctions and 'tidyhte' will take care of cross-validation,\nestimation, model selection, diagnostics and construction of\nrelevant quantities of interest about the variability of\ntreatment effects.",
  "URL": "https://github.com/ddimmery/tidyhte\nhttps://ddimmery.github.io/tidyhte/index.html",
  "BugReports": "https://github.com/ddimmery/tidyhte/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Repository": "https://ddimmery.r-universe.dev",
  "Date/Publication": "2025-10-09 19:52:05 UTC",
  "RemoteUrl": "https://github.com/ddimmery/tidyhte",
  "RemoteRef": "HEAD",
  "RemoteSha": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-09 08:48:11 UTC",
    "User": "root"
  },
  "Author": "Drew Dimmery [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-9602-6325>)",
  "Maintainer": "Drew Dimmery <cran@ddimmery.com>",
  "MD5sum": "daa1d29f29b8be345dea235aa5cb2945",
  "_user": "ddimmery",
  "_type": "src",
  "_file": "tidyhte_1.0.4.tar.gz",
  "_fileid": "a1f8f2527032aa16ec726394f14b2bf8d17790955e38ebb8ca1fb198f0d9aaf1",
  "_filesize": 1082878,
  "_sha256": "a1f8f2527032aa16ec726394f14b2bf8d17790955e38ebb8ca1fb198f0d9aaf1",
  "_created": "2026-05-09T08:48:11.000Z",
  "_published": "2026-05-22T13:02:10.456Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77384674409,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894444437"
    },
    {
      "job": 77384674479,
      "time": 217,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894449768"
    },
    {
      "job": 77384674464,
      "time": 176,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894444094"
    },
    {
      "job": 77384675109,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894441071"
    },
    {
      "job": 77384674282,
      "time": 394,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894428915"
    },
    {
      "job": 77384673910,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161120213"
    },
    {
      "job": 77384674602,
      "time": 117,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894440267"
    },
    {
      "job": 77384675201,
      "time": 130,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894441609"
    },
    {
      "job": 77384675199,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894440167"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ddimmery/tidyhte",
  "_commit": {
    "id": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
    "author": "Drew Dimmery <drew.dimmery@gmail.com>",
    "committer": "Drew Dimmery <drew.dimmery@gmail.com>",
    "message": "Update docs\n",
    "time": 1760039525
  },
  "_maintainer": {
    "name": "Drew Dimmery",
    "email": "cran@ddimmery.com",
    "orcid": "0000-0001-9602-6325"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "progress",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "SuperLearner",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "estimatr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mockr",
      "role": "Suggests"
    },
    {
      "package": "nprobust",
      "role": "Suggests"
    },
    {
      "package": "palmerpenguins",
      "role": "Suggests"
    },
    {
      "package": "quadprog",
      "role": "Suggests"
    },
    {
      "package": "quickblock",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vimp",
      "role": "Suggests"
    },
    {
      "package": "WeightedROC",
      "role": "Suggests"
    }
  ],
  "_owner": "ddimmery",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 6
    },
    {
      "week": "2025-33",
      "n": 1
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2025-41",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v1.0.3",
      "date": "2025-07-28"
    }
  ],
  "_stars": 16,
  "_contributors": [
    {
      "user": "ddimmery",
      "count": 123,
      "uuid": 618093
    }
  ],
  "_userbio": {
    "uuid": 618093,
    "type": "user",
    "name": "Drew Dimmery"
  },
  "_downloads": {
    "count": 692,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidyhte"
  },
  "_devurl": "https://github.com/ddimmery/tidyhte",
  "_searchresults": 15,
  "_rbuild": "4.6.0",
  "_assets": [
    "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",
    "extra/tidyhte.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ddimmery/tidyhte",
  "_realowner": "ddimmery",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2023-08-14"
    },
    {
      "version": "1.0.4",
      "date": "2025-08-01"
    }
  ],
  "_exports": [
    "add_effect_diagnostic",
    "add_effect_model",
    "add_known_propensity_score",
    "add_moderator",
    "add_outcome_diagnostic",
    "add_outcome_model",
    "add_propensity_diagnostic",
    "add_propensity_score_model",
    "add_vimp",
    "attach_config",
    "basic_config",
    "Constant_cfg",
    "construct_pseudo_outcomes",
    "Diagnostics_cfg",
    "estimate_diagnostic",
    "estimate_QoI",
    "HTE_cfg",
    "KernelSmooth_cfg",
    "Known_cfg",
    "make_splits",
    "MCATE_cfg",
    "Model_cfg",
    "Model_data",
    "PCATE_cfg",
    "produce_plugin_estimates",
    "QoI_cfg",
    "remove_vimp",
    "SL.glmnet.interaction",
    "SLEnsemble_cfg",
    "SLLearner_cfg",
    "Stratified_cfg",
    "VIMP_cfg"
  ],
  "_help": [
    {
      "page": "add_effect_diagnostic",
      "title": "Add an additional diagnostic to the effect model",
      "topics": [
        "add_effect_diagnostic"
      ]
    },
    {
      "page": "add_effect_model",
      "title": "Add an additional model to the joint effect ensemble",
      "topics": [
        "add_effect_model"
      ]
    },
    {
      "page": "add_known_propensity_score",
      "title": "Uses a known propensity score",
      "topics": [
        "add_known_propensity_score"
      ]
    },
    {
      "page": "add_moderator",
      "title": "Adds moderators to the configuration",
      "topics": [
        "add_moderator"
      ]
    },
    {
      "page": "add_outcome_diagnostic",
      "title": "Add an additional diagnostic to the outcome model",
      "topics": [
        "add_outcome_diagnostic"
      ]
    },
    {
      "page": "add_outcome_model",
      "title": "Add an additional model to the outcome ensemble",
      "topics": [
        "add_outcome_model"
      ]
    },
    {
      "page": "add_propensity_diagnostic",
      "title": "Add an additional diagnostic to the propensity score",
      "topics": [
        "add_propensity_diagnostic"
      ]
    },
    {
      "page": "add_propensity_score_model",
      "title": "Add an additional model to the propensity score ensemble",
      "topics": [
        "add_propensity_score_model"
      ]
    },
    {
      "page": "add_vimp",
      "title": "Adds variable importance information",
      "topics": [
        "add_vimp"
      ]
    },
    {
      "page": "attach_config",
      "title": "Attach an 'HTE_cfg' to a dataframe",
      "topics": [
        "attach_config"
      ]
    },
    {
      "page": "basic_config",
      "title": "Create a basic config for HTE estimation",
      "topics": [
        "basic_config"
      ]
    },
    {
      "page": "Constant_cfg",
      "title": "Configuration of a Constant Estimator",
      "topics": [
        "Constant_cfg"
      ]
    },
    {
      "page": "construct_pseudo_outcomes",
      "title": "Construct Pseudo-outcomes",
      "topics": [
        "construct_pseudo_outcomes"
      ]
    },
    {
      "page": "Diagnostics_cfg",
      "title": "Configuration of Model Diagnostics",
      "topics": [
        "Diagnostics_cfg"
      ]
    },
    {
      "page": "estimate_QoI",
      "title": "Estimate Quantities of Interest",
      "topics": [
        "estimate_QoI"
      ]
    },
    {
      "page": "HTE_cfg",
      "title": "Configuration of Quantities of Interest",
      "topics": [
        "HTE_cfg"
      ]
    },
    {
      "page": "KernelSmooth_cfg",
      "title": "Configuration for a Kernel Smoother",
      "topics": [
        "KernelSmooth_cfg"
      ]
    },
    {
      "page": "Known_cfg",
      "title": "Configuration of Known Model",
      "topics": [
        "Known_cfg"
      ]
    },
    {
      "page": "make_splits",
      "title": "Define splits for cross-fitting",
      "topics": [
        "make_splits"
      ]
    },
    {
      "page": "MCATE_cfg",
      "title": "Configuration of Marginal CATEs",
      "topics": [
        "MCATE_cfg"
      ]
    },
    {
      "page": "Model_cfg",
      "title": "Base Class of Model Configurations",
      "topics": [
        "Model_cfg"
      ]
    },
    {
      "page": "Model_data",
      "title": "R6 class to represent data to be used in estimating a model",
      "topics": [
        "Model_data"
      ]
    },
    {
      "page": "predict.SL.glmnet.interaction",
      "title": "Prediction for an SL.glmnet object",
      "topics": [
        "predict.SL.glmnet.interaction"
      ]
    },
    {
      "page": "produce_plugin_estimates",
      "title": "Estimate models of nuisance functions",
      "topics": [
        "produce_plugin_estimates"
      ]
    },
    {
      "page": "QoI_cfg",
      "title": "Configuration of Quantities of Interest",
      "topics": [
        "QoI_cfg"
      ]
    },
    {
      "page": "remove_vimp",
      "title": "Removes variable importance information",
      "topics": [
        "remove_vimp"
      ]
    },
    {
      "page": "SL.glmnet.interaction",
      "title": "Elastic net regression with pairwise interactions",
      "topics": [
        "SL.glmnet.interaction"
      ]
    },
    {
      "page": "SLEnsemble_cfg",
      "title": "Configuration for a SuperLearner Ensemble",
      "topics": [
        "SLEnsemble_cfg"
      ]
    },
    {
      "page": "SLLearner_cfg",
      "title": "Configuration of SuperLearner Submodel",
      "topics": [
        "SLLearner_cfg"
      ]
    },
    {
      "page": "Stratified_cfg",
      "title": "Configuration for a Stratification Estimator",
      "topics": [
        "Stratified_cfg"
      ]
    },
    {
      "page": "VIMP_cfg",
      "title": "Configuration of Variable Importance",
      "topics": [
        "VIMP_cfg"
      ]
    }
  ],
  "_readme": "https://github.com/ddimmery/tidyhte/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bitops",
    "caTools",
    "checkmate",
    "cli",
    "codetools",
    "crayon",
    "cvAUC",
    "data.table",
    "dplyr",
    "foreach",
    "gam",
    "generics",
    "glue",
    "gplots",
    "gtools",
    "hms",
    "iterators",
    "KernSmooth",
    "lifecycle",
    "magrittr",
    "nnls",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rlang",
    "ROCR",
    "SuperLearner",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "experimental_analysis.Rmd",
      "filename": "experimental_analysis.html",
      "title": "HTE Analysis in an Experiment",
      "author": "Drew Dimmery (cran@ddimmery.com)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load packages and setup environment",
        "Simulate data",
        "Define Recipe",
        "Propensity Score Model",
        "Outcome Model",
        "Quantities of interest",
        "Estimate Models",
        "ATEs",
        "Plots",
        "Plot Ensemble Coefficients",
        "Plot risk for each submodel",
        "Plot Regression ROC Curves",
        "Plot VIMP",
        "Plot Continuous Covariates' MCATE",
        "Plot Discrete Covariates' MCATE",
        "Session Info"
      ],
      "created": "2021-10-25 21:44:13",
      "modified": "2025-10-09 16:46:20",
      "commits": 10
    },
    {
      "source": "observational_analysis.Rmd",
      "filename": "observational_analysis.html",
      "title": "HTE Analysis on Observational Data",
      "author": "Drew Dimmery (cran@ddimmery.com)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Load packages and setup environment",
        "Simulate data",
        "Define Recipe",
        "Propensity score and Outcome Model",
        "Quantities of interest",
        "Estimate Models",
        "ATEs",
        "Plots",
        "Plot Ensemble Coefficients",
        "Plot risk for each submodel",
        "Plot Regression ROC Curves",
        "Plot VIMP",
        "Plot Continuous Covariates' MCATE",
        "Plot Discrete Covariates' MCATE",
        "Session Info"
      ],
      "created": "2021-10-25 21:44:13",
      "modified": "2025-10-09 16:46:20",
      "commits": 10
    },
    {
      "source": "methodological_details.Rmd",
      "filename": "methodological_details.html",
      "title": "Methodological Details",
      "author": "Drew Dimmery (cran@ddimmery.com), Edward Kennedy (edward@stat.cmu.edu)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary",
        "Preliminaries",
        "Problem Setting",
        "Overview of Method",
        "Principles",
        "Clustered data",
        "Population weights",
        "Recipe API",
        "Cross-validation",
        "Nuisance function estimation",
        "Pseudo-outcome construction",
        "Quantities of interest",
        "Plotting MCATEs",
        "Plotting diagnostics",
        "Plotting VIMP",
        "Replicating analyses",
        "Conclusion",
        "Acknowledgements",
        "References"
      ],
      "created": "2021-11-18 16:04:54",
      "modified": "2025-10-09 16:46:20",
      "commits": 9
    }
  ],
  "_score": 6.15836249209525,
  "_indexed": true,
  "_nocasepkg": "tidyhte",
  "_universes": [
    "ddimmery"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-09T08:50:39.000Z",
      "distro": "noble",
      "commit": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
      "fileid": "f1625e254f9a4ec7f6b646dc0059d1e17373756d3a8d660a614ffda7b9dde683",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.4",
      "date": "2026-05-09T08:51:23.000Z",
      "distro": "noble",
      "commit": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
      "fileid": "4d13fc459c721892ad11d8acd8631ebbd069126d78ecf40953cefb7a7d411933",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-09T08:50:41.000Z",
      "commit": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
      "fileid": "34110c85bb7ff29f5a3e3cb5b6ff61e1f730053556820c4c8880dcbd9920a299",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.4",
      "date": "2026-05-09T08:50:10.000Z",
      "commit": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
      "fileid": "5469d6dda94fb13c0d4703c26d49edb9f9837390d7fa6fc1d81008ca02692eb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-09T08:49:37.000Z",
      "commit": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
      "fileid": "14791e901f8339d564ac300d916744f7809298b739641298b522172b065d5a4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-09T08:49:49.000Z",
      "commit": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
      "fileid": "1060e57898727590e015164b5d7471e514bcafac0138ef7498e168b97d2f1cf4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.4",
      "date": "2026-05-09T08:49:37.000Z",
      "commit": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
      "fileid": "50fa14a407334c91f1412453f51fe95db644091282335f846e868a6e1d40e036",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.4",
      "date": "2026-05-22T13:01:53.000Z",
      "commit": "ee927ee94b99e8ce93489267f0cb38c90bca0ae2",
      "fileid": "0041afdd78d441ca6d36f8bce39019a99d5f5af903b0ad8be6cfa28a64cc0753",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ddimmery/actions/runs/25596781830"
    }
  ]
}