{
  "_id": "6a11465facfb0bcc41ce7a43",
  "Package": "tehtuner",
  "Title": "Fit and Tune Models to Detect Treatment Effect Heterogeneity",
  "Version": "0.3.3",
  "Authors@R": "person(given = \"Jack\",\nfamily = \"Wolf\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jackwolf910@gmail.com\",\ncomment = c(ORCID = \"0000-0002-8919-8740\"))",
  "Description": "Implements methods to fit Virtual Twins models (Foster et\nal. (2011) <doi:10.1002/sim.4322>) for identifying subgroups\nwith differential effects in the context of clinical trials\nwhile controlling the probability of falsely detecting a\ndifferential effect when the conditional average treatment\neffect is uniform across the study population using parameter\nselection methods proposed in Wolf et al. (2022)\n<doi:10.1177/17407745221095855>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "RdMacros": "Rdpack",
  "Language": "en-US",
  "URL": "https://github.com/jackmwolf/tehtuner",
  "BugReports": "https://github.com/jackmwolf/tehtuner/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libuv1-dev\nlibxml2-dev libx11-dev",
  "Repository": "https://jackmwolf.r-universe.dev",
  "Date/Publication": "2025-04-09 23:09:08 UTC",
  "RemoteUrl": "https://github.com/jackmwolf/tehtuner",
  "RemoteRef": "HEAD",
  "RemoteSha": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 06:13:11 UTC",
    "User": "root"
  },
  "Author": "Jack Wolf [aut, cre] (ORCID: <https://orcid.org/0000-0002-8919-8740>)",
  "Maintainer": "Jack Wolf <jackwolf910@gmail.com>",
  "MD5sum": "28ab944645d56271f4c163758d5e2603",
  "_user": "jackmwolf",
  "_type": "src",
  "_file": "tehtuner_0.3.3.tar.gz",
  "_fileid": "0fec1fa13881137984cf6ccc4100748ff50ee4ccb413a5197eec3de0e4738608",
  "_filesize": 261116,
  "_sha256": "0fec1fa13881137984cf6ccc4100748ff50ee4ccb413a5197eec3de0e4738608",
  "_created": "2026-05-23T06:13:11.000Z",
  "_published": "2026-05-23T06:17:03.916Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77502362311,
      "time": 192,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7174854283"
    },
    {
      "job": 77502362306,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174852359"
    },
    {
      "job": 77502362312,
      "time": 196,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7174851084"
    },
    {
      "job": 77502362319,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174846589"
    },
    {
      "job": 77502172532,
      "time": 206,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174834395"
    },
    {
      "job": 77502362317,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174848995"
    },
    {
      "job": 77502362322,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7174845693"
    },
    {
      "job": 77502362324,
      "time": 125,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7174847911"
    },
    {
      "job": 77502362310,
      "time": 173,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7174852477"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jackmwolf/tehtuner",
  "_commit": {
    "id": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
    "author": "Jack M Wolf <38739875+jackmwolf@users.noreply.github.com>",
    "committer": "Jack M Wolf <38739875+jackmwolf@users.noreply.github.com>",
    "message": "Version 0.3.3\n",
    "time": 1744240148
  },
  "_maintainer": {
    "name": "Jack Wolf",
    "email": "jackwolf910@gmail.com",
    "login": "jackmwolf",
    "orcid": "0000-0002-8919-8740",
    "description": "",
    "uuid": 38739875
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "party",
      "role": "Imports"
    },
    {
      "package": "glmnet",
      "role": "Imports"
    },
    {
      "package": "Rdpack",
      "role": "Imports"
    },
    {
      "package": "rpart",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "SuperLearner",
      "role": "Imports"
    },
    {
      "package": "randomForestSRC",
      "role": "Imports"
    },
    {
      "package": "earth",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "jackmwolf",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "clinical-trials",
    "heterogeneity-of-treatment-effect",
    "subgroup-identification"
  ],
  "_stars": 6,
  "_contributors": [
    {
      "user": "jackmwolf",
      "count": 70,
      "uuid": 38739875
    }
  ],
  "_userbio": {
    "uuid": 38739875,
    "type": "user",
    "name": "Jack M Wolf"
  },
  "_downloads": {
    "count": 181,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tehtuner"
  },
  "_devurl": "https://github.com/jackmwolf/tehtuner",
  "_searchresults": 6,
  "_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/tehtuner.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jackmwolf/tehtuner",
  "_realowner": "jackmwolf",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2022-11-07"
    },
    {
      "version": "0.3.0",
      "date": "2023-04-01"
    }
  ],
  "_exports": [
    "tunevt"
  ],
  "_datasets": [
    {
      "name": "tehtuner_example",
      "title": "Simulated example data",
      "object": "tehtuner_example",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Trt",
        "Y",
        "V1",
        "V2",
        "V3",
        "V4",
        "V5",
        "V6",
        "V7",
        "V8",
        "V9",
        "V10"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "get_mnpp",
      "title": "Get the MNPP for the Step 2 model",
      "topics": [
        "get_mnpp"
      ]
    },
    {
      "page": "get_mnpp.classtree",
      "title": "Get the MNPP for a Classification Tree",
      "topics": [
        "get_mnpp.classtree"
      ]
    },
    {
      "page": "get_mnpp.ctree",
      "title": "Get the MNPP for a Conditional Inference Tree",
      "topics": [
        "get_mnpp.ctree"
      ]
    },
    {
      "page": "get_mnpp.lasso",
      "title": "Get the MNPP for a Model fit via Lasso",
      "topics": [
        "get_mnpp.lasso"
      ]
    },
    {
      "page": "get_mnpp.rtree",
      "title": "Get the MNPP for a Regression Tree",
      "topics": [
        "get_mnpp.rtree"
      ]
    },
    {
      "page": "get_theta_null",
      "title": "Permute a dataset under the null hypothesis and get the MNPP",
      "topics": [
        "get_theta_null"
      ]
    },
    {
      "page": "get_vt1",
      "title": "Get the appropriate Step 1 estimation function associated with a method",
      "topics": [
        "get_vt1"
      ]
    },
    {
      "page": "get_vt2",
      "title": "Get the appropriate Step 2 estimation function associated with a method",
      "topics": [
        "get_vt2"
      ]
    },
    {
      "page": "permute",
      "title": "Generate a dataset with permuted treatment indicators",
      "topics": [
        "permute"
      ]
    },
    {
      "page": "print.tunevt",
      "title": "Print an object of class tunevt",
      "topics": [
        "print.tunevt"
      ]
    },
    {
      "page": "tehtuner_example",
      "title": "Simulated example data",
      "topics": [
        "tehtuner_example"
      ]
    },
    {
      "page": "test_null_theta_ctree",
      "title": "Test if a Value Gives a Null Conditional Inference Tree",
      "topics": [
        "test_null_theta_ctree"
      ]
    },
    {
      "page": "tune_theta",
      "title": "Estimate the penalty parameter for Step 2 of Virtual Twins",
      "topics": [
        "tune_theta"
      ]
    },
    {
      "page": "tunevt",
      "title": "Fit a tuned Virtual Twins model",
      "topics": [
        "tunevt"
      ]
    },
    {
      "page": "validate_alpha0",
      "title": "Check if alpha0 is a valid input to tunevt",
      "topics": [
        "validate_alpha0"
      ]
    },
    {
      "page": "validate_p_reps",
      "title": "Check if p_reps is a valid input to tunevt",
      "topics": [
        "validate_p_reps"
      ]
    },
    {
      "page": "validate_Trt",
      "title": "Check if Trt is a valid input to tunevt",
      "topics": [
        "validate_Trt"
      ]
    },
    {
      "page": "validate_Y",
      "title": "Check if Y is a valid input to tunevt",
      "topics": [
        "validate_Y"
      ]
    },
    {
      "page": "vt1_lasso",
      "title": "Estimate the CATE Using the Lasso for Step 1 of Virtual Twins",
      "concept": [
        "VT Step 1 functions"
      ],
      "topics": [
        "vt1_lasso"
      ]
    },
    {
      "page": "vt1_mars",
      "title": "Estimate the CATE Using MARS for Step 1 of Virtual Twins",
      "concept": [
        "VT Step 1 functions"
      ],
      "topics": [
        "vt1_mars"
      ]
    },
    {
      "page": "vt1_rf",
      "title": "Estimate the CATE Using a Random Forest for Step 1 of Virtual Twins",
      "concept": [
        "VT Step 1 functions"
      ],
      "topics": [
        "vt1_rf"
      ]
    },
    {
      "page": "vt1_super",
      "title": "Estimate the CATE Using Super Learner for Step 1 of Virtual Twins",
      "concept": [
        "VT Step 1 functions"
      ],
      "topics": [
        "vt1_super"
      ]
    },
    {
      "page": "vt2_classtree",
      "title": "Estimate the CATE using a classification tree for Step 2",
      "concept": [
        "VT Step 2 functions"
      ],
      "topics": [
        "vt2_classtree"
      ]
    },
    {
      "page": "vt2_ctree",
      "title": "Estimate the CATE using a conditional inference tree for Step 2",
      "concept": [
        "VT Step 2 functions"
      ],
      "topics": [
        "vt2_ctree"
      ]
    },
    {
      "page": "vt2_lasso",
      "title": "Estimate the CATE using the Lasso for Step 2",
      "concept": [
        "VT Step 2 functions"
      ],
      "topics": [
        "vt2_lasso"
      ]
    },
    {
      "page": "vt2_rtree",
      "title": "Estimate the CATE using a regression tree for Step 2",
      "concept": [
        "VT Step 2 functions"
      ],
      "topics": [
        "vt2_rtree"
      ]
    }
  ],
  "_readme": "https://github.com/jackmwolf/tehtuner/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "bit",
    "bit64",
    "bitops",
    "bslib",
    "cachem",
    "caTools",
    "cli",
    "clipr",
    "codetools",
    "coin",
    "cpp11",
    "crayon",
    "cvAUC",
    "data.table",
    "data.tree",
    "DiagrammeR",
    "digest",
    "dplyr",
    "earth",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "Formula",
    "fs",
    "gam",
    "generics",
    "glmnet",
    "glue",
    "gplots",
    "gtools",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "libcoin",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "memoise",
    "mime",
    "modeltools",
    "multcomp",
    "mvtnorm",
    "nnls",
    "party",
    "pillar",
    "pkgconfig",
    "plotmo",
    "plotrix",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "randomForestSRC",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "readr",
    "rlang",
    "rmarkdown",
    "ROCR",
    "rpart",
    "rstudioapi",
    "sandwich",
    "sass",
    "scales",
    "shape",
    "stringi",
    "stringr",
    "strucchange",
    "SuperLearner",
    "survival",
    "TH.data",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "vroom",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "tehtuner",
  "_universes": [
    "jackmwolf"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-23T06:15:59.000Z",
      "distro": "noble",
      "commit": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
      "fileid": "1937696574bb232d4d859bf656f30a8a4f93b900cdf9492005816e0471410047",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-23T06:15:41.000Z",
      "distro": "noble",
      "commit": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
      "fileid": "f1b31fba5ea502b5a49f4f9ac30452ed1effd3695ddc01a5a8ad43759c0ea9f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-23T06:15:34.000Z",
      "commit": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
      "fileid": "f9c038476dcd24f83a879a43143aebef1845e0b33926849bdce8772c144fcd56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-23T06:14:59.000Z",
      "commit": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
      "fileid": "ff8d1db2c7730cd3c31b37123fd53032e7fbc128540ec1d6e5859c6248d7bc05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-05-23T06:15:47.000Z",
      "commit": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
      "fileid": "90b07765d61524b41b76354ce16e1b46ee11053eff097476b46e375af1882255",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-23T06:14:31.000Z",
      "commit": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
      "fileid": "8c45ce50a085610d53e359b3c442a505648b211e682ac37083a60a2779784508",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-23T06:14:49.000Z",
      "commit": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
      "fileid": "9f2760d3793b130963a51a363582f9650e10877bd8328d5c90bf7fd0b4185d3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-23T06:15:34.000Z",
      "commit": "3824aedbeaa17bf58c636ab7c7f9a0ea9cca2283",
      "fileid": "7c61b67f2d9012c2562e46bc6390167a4596334f7623e058accf710aa3e651ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jackmwolf/actions/runs/26325421574"
    }
  ]
}