{
  "_id": "6ac2106f773a0037682c1467",
  "Package": "RCTrep",
  "Type": "Package",
  "Title": "Validation of Estimates of Treatment Effects in Observational\nData",
  "Version": "1.0.0",
  "Authors@R": "c(person(\"Lingjie\", \"Shen\", role = c(\"aut\", \"cre\", \"cph\"), email = \"602249910@qq.com\"), person(\"Gijs\",\"Geleijnse\", role = \"aut\", email = \"g.geleijnse@iknl.nl\"), person(\"Maurits\",\"Kaptein\", role = \"aut\", email = \"M.C.Kaptein@tilburguniversity.edu\"))",
  "Author": "Lingjie Shen [aut, cre, cph], Gijs Geleijnse [aut], Maurits\nKaptein [aut]",
  "Maintainer": "Lingjie Shen <602249910@qq.com>",
  "Description": "Validates estimates of (conditional) average treatment\neffects obtained using observational data by a) making it easy\nto obtain and visualize estimates derived using a large variety\nof methods (G-computation, inverse propensity score weighting,\netc.), and b) ensuring that estimates are easily compared to a\ngold standard (i.e., estimates derived from randomized\ncontrolled trials). 'RCTrep' offers a generic protocol for\ntreatment effect validation based on four simple steps, namely,\nset-selection, estimation, diagnosis, and validation. 'RCTrep'\nprovides a simple dashboard to review the obtained results. The\nvalidation approach is introduced by Shen, L., Geleijnse, G.\nand Kaptein, M. (2023) <doi:10.21203/rs.3.rs-2559287/v1>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/duolajiang/RCTrep",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.1.2",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libgsl0-dev libicu-dev libuv1-dev\nzlib1g-dev",
  "Repository": "https://duolajiang.r-universe.dev",
  "Date/Publication": "2023-03-31 14:02:44 UTC",
  "RemoteUrl": "https://github.com/duolajiang/rctrep",
  "RemoteRef": "HEAD",
  "RemoteSha": "9b53d9ea2164afe630aca908d984e771043fcf05",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-04 08:17:19 UTC",
    "User": "root"
  },
  "_user": "duolajiang",
  "_type": "src",
  "_file": "RCTrep_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/3e0593abc8a2bc288bf5b8d695c207faefa48a4bfe0e76b936a7323f91f5968f",
  "_filesize": 2053292,
  "_sha256": "3e0593abc8a2bc288bf5b8d695c207faefa48a4bfe0e76b936a7323f91f5968f",
  "_expires": "2027-01-12T08:38:04.000Z",
  "_created": "2026-10-04T08:17:19.000Z",
  "_published": "2026-10-04T08:38:07.041Z",
  "_jobs": [
    {
      "job": 111395405529,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11298068219"
    },
    {
      "job": 111395405445,
      "time": 218,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11298227610"
    },
    {
      "job": 111395405439,
      "time": 247,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11298214226"
    },
    {
      "job": 111395405559,
      "time": 202,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11298134483"
    },
    {
      "job": 111394536380,
      "time": 312,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11297533903"
    },
    {
      "job": 111395405492,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11297467893"
    },
    {
      "job": 111395405474,
      "time": 158,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11298327271"
    },
    {
      "job": 111395405481,
      "time": 150,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11297333136"
    },
    {
      "job": 111395405482,
      "time": 109,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11298023100"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186",
  "_status": "success",
  "_upstream": "https://github.com/duolajiang/rctrep",
  "_commit": {
    "id": "9b53d9ea2164afe630aca908d984e771043fcf05",
    "author": "Lingjie Shen <l.shen@iknl.nl>",
    "committer": "Lingjie Shen <l.shen@iknl.nl>",
    "message": "revise quasar.agg quasar.obj\n",
    "time": 1680271364
  },
  "_maintainer": {
    "name": "Lingjie Shen",
    "email": "602249910@qq.com",
    "login": "duolajiang",
    "description": "Causal inference",
    "uuid": 26816954
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "base",
      "role": "Depends"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "MatchIt",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpubr",
      "role": "Imports"
    },
    {
      "package": "PSweight",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "geex",
      "role": "Imports"
    },
    {
      "package": "optmatch",
      "role": "Imports"
    },
    {
      "package": "BART",
      "role": "Imports"
    },
    {
      "package": "fastDummies",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "copula",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "shinydashboard",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "duolajiang",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "duolajiang",
      "count": 43,
      "uuid": 26816954
    }
  ],
  "_userbio": {
    "uuid": 26816954,
    "type": "user",
    "name": "Lingjie",
    "followers": 7,
    "description": "Causal inference"
  },
  "_downloads": {
    "count": 305,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RCTrep"
  },
  "_devurl": "https://github.com/duolajiang/rctrep",
  "_searchresults": 13,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/RCTrep.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/duolajiang/rctrep",
  "_realowner": "duolajiang",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2023-03-29"
    },
    {
      "version": "1.1.0",
      "date": "2023-08-09"
    },
    {
      "version": "1.2.0",
      "date": "2023-11-02"
    }
  ],
  "_exports": [
    "call_dashboard",
    "DGM",
    "Fusion",
    "GenerateSyntheticData",
    "RCTREP",
    "SEstimator_wrapper",
    "TEstimator_wrapper"
  ],
  "_datasets": [
    {
      "name": "quasar.agg",
      "title": "Aggregated data derived from paper of QUASAR trial",
      "object": "quasar.agg",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "quasar.obj",
      "title": "An object of class TEstimator_Synthetic using quasar.synthetic",
      "object": "quasar.obj",
      "class": [
        "TEstimator_Synthetic",
        "TEstimator",
        "R6"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "quasar.synthetic",
      "title": "A synthetic QUASAR trial dataset, where outcome is a binary variable, treatment is a binary variable.",
      "object": "quasar.synthetic",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Stage2",
        "male",
        "age"
      ],
      "rows": 3232,
      "table": true,
      "tojson": true
    },
    {
      "name": "source.binary.data",
      "title": "A dataset of simulated observational data, where outcome is binary variable. The data is filtered after compared to target.binary.data",
      "object": "source.binary.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "z",
        "y",
        "pt"
      ],
      "rows": 2624,
      "table": true,
      "tojson": true
    },
    {
      "name": "source.data",
      "title": "A data set of simulated observational data, where outcome is continuous variable, treatment is a binary variable.",
      "object": "source.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "z",
        "y",
        "pt"
      ],
      "rows": 2622,
      "table": true,
      "tojson": true
    },
    {
      "name": "target.binary.data",
      "title": "A dataset of simulated RCT data, where outcome is binary variable. The data is filtered after compared to source.binary.data",
      "object": "target.binary.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "z",
        "y",
        "pt"
      ],
      "rows": 3194,
      "table": true,
      "tojson": true
    },
    {
      "name": "target.data",
      "title": "A data set of simulated RCT data, where outcome is continuous variable, treatment is a binary variable.",
      "object": "target.data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "x1",
        "x2",
        "x3",
        "x4",
        "x5",
        "x6",
        "z",
        "y",
        "pt"
      ],
      "rows": 2718,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "call_dashboard",
      "title": "Visualizing validation results according to four steps, namely, set-selection, estimation, diagnosis, and validation",
      "topics": [
        "call_dashboard"
      ]
    },
    {
      "page": "DGM",
      "title": "Generating RCT data or observational data for the examples used in the package",
      "topics": [
        "DGM"
      ]
    },
    {
      "page": "Fusion",
      "title": "Validation of estimates of conditional average treatment effects in objects of class 'TEstimator' and 'SEstimator'.",
      "topics": [
        "Fusion"
      ]
    },
    {
      "page": "GenerateSyntheticData",
      "title": "Generating the synthetic RCT data given marginal distribution of each covariate",
      "topics": [
        "GenerateSyntheticData"
      ]
    },
    {
      "page": "quasar.agg",
      "title": "Aggregated data derived from paper of QUASAR trial",
      "topics": [
        "quasar.agg"
      ]
    },
    {
      "page": "quasar.obj",
      "title": "An object of class TEstimator_Synthetic using quasar.synthetic",
      "topics": [
        "quasar.obj"
      ]
    },
    {
      "page": "quasar.synthetic",
      "title": "A synthetic QUASAR trial dataset, where outcome is a binary variable, treatment is a binary variable.",
      "topics": [
        "quasar.synthetic"
      ]
    },
    {
      "page": "RCTREP",
      "title": "Replicate treatment effect estimates obtained from a randomized control trial using observational data",
      "topics": [
        "RCTREP"
      ]
    },
    {
      "page": "SEstimator_wrapper",
      "title": "Estimating the weighted conditional average treatment effects in 'source.obj' based on input objects 'source.obj' and 'target.obj' of class 'TEstimator'.",
      "topics": [
        "SEstimator_wrapper"
      ]
    },
    {
      "page": "source.binary.data",
      "title": "A dataset of simulated observational data, where outcome is binary variable. The data is filtered after compared to target.binary.data",
      "topics": [
        "source.binary.data"
      ]
    },
    {
      "page": "source.data",
      "title": "A data set of simulated observational data, where outcome is continuous variable, treatment is a binary variable.",
      "topics": [
        "source.data"
      ]
    },
    {
      "page": "target.binary.data",
      "title": "A dataset of simulated RCT data, where outcome is binary variable. The data is filtered after compared to source.binary.data",
      "topics": [
        "target.binary.data"
      ]
    },
    {
      "page": "target.data",
      "title": "A data set of simulated RCT data, where outcome is continuous variable, treatment is a binary variable.",
      "topics": [
        "target.data"
      ]
    },
    {
      "page": "TEstimator_wrapper",
      "title": "Estimating conditional average treatment effects",
      "topics": [
        "TEstimator_wrapper"
      ]
    }
  ],
  "_readme": "https://github.com/duolajiang/rctrep/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ADGofTest",
    "arg",
    "backports",
    "BART",
    "base64enc",
    "bitops",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "caret",
    "caTools",
    "class",
    "cli",
    "clock",
    "cluster",
    "codetools",
    "colorspace",
    "commonmark",
    "copula",
    "corrplot",
    "cowplot",
    "cpp11",
    "cvAUC",
    "data.table",
    "DBI",
    "Deriv",
    "diagram",
    "digest",
    "doBy",
    "dplyr",
    "e1071",
    "farver",
    "fastDummies",
    "fastmap",
    "fontawesome",
    "foreach",
    "forecast",
    "Formula",
    "fracdiff",
    "fs",
    "future",
    "future.apply",
    "gam",
    "gbm",
    "geex",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "globals",
    "glue",
    "gower",
    "gplots",
    "gridExtra",
    "gsl",
    "gtable",
    "gtools",
    "hardhat",
    "htmltools",
    "httpuv",
    "ipred",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "later",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lme4",
    "lmtest",
    "lubridate",
    "magrittr",
    "MASS",
    "MatchIt",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mgcv",
    "mime",
    "minqa",
    "mitools",
    "ModelMetrics",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "nnls",
    "numDeriv",
    "optmatch",
    "otel",
    "parallelly",
    "pbkrtest",
    "pcaPP",
    "pillar",
    "pkgconfig",
    "plyr",
    "polynom",
    "pROC",
    "prodlim",
    "progressr",
    "promises",
    "proxy",
    "pspline",
    "PSweight",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppProgress",
    "Rdpack",
    "recipes",
    "reformulas",
    "reshape2",
    "rlang",
    "rlemon",
    "ROCR",
    "rootSolve",
    "rpart",
    "rstatix",
    "S7",
    "sass",
    "scales",
    "shape",
    "shiny",
    "shinydashboard",
    "sourcetools",
    "SparseM",
    "sparsevctrs",
    "SQUAREM",
    "stabledist",
    "stringi",
    "stringr",
    "SuperLearner",
    "survey",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tzdb",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "vignette.Rmd",
      "filename": "vignette.html",
      "title": "RCTrep: An R package for replicating treatment effect estimates of a randomized control trial using observational data: A Vignette",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Demonstration of usage",
        "Basic usage",
        "Step 1: Set-selection",
        "Step 2: Estimation",
        "Step 2.1 Estimation of the (C)ATEs",
        "Step 2.2: Estimation of the weighted (C)ATEs",
        "Step 3: Diagnosis",
        "Step 4: Validation",
        "Easy visualization of results obtained from the four steps",
        "Validation at scale.",
        "Validation using aggregated data",
        "Validation using synthetic RCT data"
      ],
      "created": "2021-12-16 09:44:57",
      "modified": "2023-03-28 08:37:31",
      "commits": 4
    }
  ],
  "_score": 4.7160033436347994,
  "_indexed": true,
  "_nocasepkg": "rctrep",
  "_universes": [
    "duolajiang"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-04T08:20:14.000Z",
      "distro": "resolute",
      "commit": "9b53d9ea2164afe630aca908d984e771043fcf05",
      "fileid": "https://r2.ropensci.org/a1e96589d1dcfe0667219b42364bf48f356436a7b8768a2aa1fb224e43ab6bbe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-04T08:20:22.000Z",
      "distro": "resolute",
      "commit": "9b53d9ea2164afe630aca908d984e771043fcf05",
      "fileid": "https://r2.ropensci.org/3c39260f2f4acff7224b00801530ea6cd0ee33274b5073358979700f21c4a30d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-04T08:34:46.000Z",
      "commit": "9b53d9ea2164afe630aca908d984e771043fcf05",
      "fileid": "https://r2.ropensci.org/b1d8193d82ca2e70d4feb881ec479b32ba5109413ca070c25196a55ee9d4ba46",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-04T08:36:20.000Z",
      "commit": "9b53d9ea2164afe630aca908d984e771043fcf05",
      "fileid": "https://r2.ropensci.org/a319c1beee4f8ab7e8a53e6ab71a86f7eb8844a69b9280584eedc7ca455517cb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-04T08:20:16.000Z",
      "commit": "9b53d9ea2164afe630aca908d984e771043fcf05",
      "fileid": "https://r2.ropensci.org/2d3fdac59573aab381290de2794406b97a503c0d2895ffa88074cd7a1d7760ae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-04T08:19:01.000Z",
      "commit": "9b53d9ea2164afe630aca908d984e771043fcf05",
      "fileid": "https://r2.ropensci.org/6d35448bff7ee35e8fd57000bc8d4b6e6491b1871e4878263d3974f705536b14",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-04T08:18:58.000Z",
      "commit": "9b53d9ea2164afe630aca908d984e771043fcf05",
      "fileid": "https://r2.ropensci.org/4d753e114aaaf2540d8acdd8875b02225bc63c3a469d5d2d8ba40f0787a7924b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-04T08:18:43.000Z",
      "commit": "9b53d9ea2164afe630aca908d984e771043fcf05",
      "fileid": "https://r2.ropensci.org/611f150d1381089503e8c27ce0cd676af3b27dfd600afd1b376a9d15f18a52a1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/duolajiang/actions/runs/37188158186"
    }
  ]
}