{
  "_id": "6af8086cbe2268deb4a40205",
  "Package": "BATTS",
  "Title": "Boosting and Bayesian Additive Trees for Two-Sample Comparison",
  "Version": "0.4.0",
  "Authors@R": "c(person(\"Naoki\", \"Awaya\", email = \"nawaya@waseda.jp\", role = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Yuliang\", \"Xu\", role = c(\"aut\", \"cph\")),\nperson(\"Li\", \"Ma\", role = c(\"aut\", \"cph\")))",
  "Description": "Implements boosting and Bayesian additive tree methods for\ntwo-sample comparison through density ratio estimation,\nfollowing Awaya, Xu, and Ma (2025)\n<doi:10.48550/arXiv.2508.03059>. The package supports both\npoint estimation and uncertainty quantification via Bayesian\nadditive tree ensembles.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "SystemRequirements": "C++17",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/nawaya040/BATTS/tree/cran/dev,\nhttps://arxiv.org/abs/2508.03059",
  "BugReports": "https://github.com/nawaya040/BATTS/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-14 07:01:02 UTC",
    "User": "root"
  },
  "Author": "Naoki Awaya [aut, cre, cph], Yuliang Xu [aut, cph], Li Ma [aut,\ncph]",
  "Maintainer": "Naoki Awaya <nawaya@waseda.jp>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-13 22:50:20 UTC",
  "RemoteUrl": "https://github.com/cran/BATTS",
  "RemoteRef": "HEAD",
  "RemoteSha": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
  "_user": "cran",
  "_type": "src",
  "_file": "BATTS_0.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/4282ec9d352bfde3979f9c276661f50869217281f2924bc9bd2792f38826ac38",
  "_filesize": 1333060,
  "_sha256": "4282ec9d352bfde3979f9c276661f50869217281f2924bc9bd2792f38826ac38",
  "_expires": "2027-02-22T07:06:18.000Z",
  "_created": "2026-11-14T07:01:02.000Z",
  "_published": "2026-11-14T07:06:20.531Z",
  "_upstream": "https://github.com/cran/BATTS",
  "_status": "success",
  "_maintainer": {
    "name": "Naoki Awaya",
    "email": "nawaya@waseda.jp",
    "login": "nawaya040",
    "description": "Naoki Awaya",
    "uuid": 61252480
  },
  "_jobs": [
    {
      "job": 132369416112,
      "time": 144,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14103487125"
    },
    {
      "job": 132369416095,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14103940319"
    },
    {
      "job": 132369416092,
      "time": 105,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14103735603"
    },
    {
      "job": 132369416133,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14103655887"
    },
    {
      "job": 132368461889,
      "time": 241,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14102724409"
    },
    {
      "job": 132369416033,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14103970832"
    },
    {
      "job": 132369416035,
      "time": 235,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14104390424"
    },
    {
      "job": 132369416111,
      "time": 260,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14104240888"
    },
    {
      "job": 132369416099,
      "time": 226,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14103507179"
    },
    {
      "job": 132369416136,
      "time": 208,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14103716588"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414",
  "_commit": {
    "id": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
    "author": "Naoki Awaya <nawaya@waseda.jp>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.0\n",
    "time": 1794610220
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.4.0",
      "date": "2026-11-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nawaya040",
      "count": 1,
      "uuid": 61252480
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BATTS"
  },
  "_devurl": "https://github.com/nawaya040/batts",
  "_searchresults": 11,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/BATTS.html",
    "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/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.4.0",
      "date": "2026-11-13"
    }
  ],
  "_exports": [
    "bart_control",
    "batts",
    "batts_bart",
    "batts_boost",
    "boost_control",
    "boots",
    "density_ratio",
    "eval_balance_weight"
  ],
  "_help": [
    {
      "page": "BATTS-package",
      "title": "Boosting and Bayesian Additive Trees for Two-Sample Comparison",
      "topics": [
        "BATTS-package",
        "BATTS"
      ]
    },
    {
      "page": "bart_control",
      "title": "Settings for Bayesian additive tree fits",
      "topics": [
        "bart_control"
      ]
    },
    {
      "page": "batts_bart",
      "title": "Fit a two-sample density ratio by Bayesian additive trees",
      "topics": [
        "batts_bart"
      ]
    },
    {
      "page": "batts_boost",
      "title": "Fit a two-sample density ratio by boosting",
      "topics": [
        "batts_boost"
      ]
    },
    {
      "page": "batts-methods",
      "title": "Methods for BATTS fits",
      "topics": [
        "batts-methods",
        "nobs.batts_fit",
        "print.batts_bart",
        "print.batts_boost",
        "print.summary.batts_fit",
        "summary.batts_fit"
      ]
    },
    {
      "page": "batts-plot",
      "title": "Plot a BATTS fit",
      "topics": [
        "batts-plot",
        "plot.batts_bart",
        "plot.batts_boost"
      ]
    },
    {
      "page": "batts-predict",
      "title": "Predict balancing weights and density ratios",
      "topics": [
        "batts-predict",
        "fitted.batts_bart",
        "fitted.batts_boost",
        "predict.batts_bart",
        "predict.batts_boost"
      ]
    },
    {
      "page": "boost_control",
      "title": "Settings for boosting fits",
      "topics": [
        "boost_control"
      ]
    },
    {
      "page": "density_ratio",
      "title": "Density ratio of a fitted BATTS model",
      "topics": [
        "density_ratio",
        "density_ratio.batts_fit"
      ]
    }
  ],
  "_readme": "https://github.com/cran/BATTS/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp",
    "RcppArmadillo"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "BATTS-introduction.Rmd",
      "filename": "BATTS-introduction.html",
      "title": "Introduction to BATTS",
      "engine": "knitr::rmarkdown",
      "headings": [
        "One-dimensional examples",
        "Location shift",
        "Scale difference",
        "Fit the models",
        "Inspect fitted objects",
        "Convergence",
        "Estimated density ratios",
        "Two-dimensional examples",
        "Global shift",
        "Local shift",
        "Practical notes",
        "References"
      ],
      "created": "2026-11-13 22:50:20",
      "modified": "2026-11-13 22:50:20",
      "commits": 1
    }
  ],
  "_score": 2.740362689494244,
  "_indexed": true,
  "_nocasepkg": "batts",
  "_universes": [
    "cran",
    "nawaya040"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-11-14T07:03:32.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/e4999bfb23b3eedfe843692cc1b23ff959bd989b99e31fb47323a5d647c1117f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-11-14T07:03:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/412ae66599feabb47de491cf50212167756174557e45aeff09f1003f89bcda54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-11-14T07:02:53.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/6399dcff9a00da31cab5ee8faa83c49ae33d07b4d8e7aed33149acd88b49ce12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-11-14T07:03:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/a49e13b85006fd12a0dff4068382f43b71ed22df31c9940a0dcb26b64af54d56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-11-14T07:03:05.000Z",
      "arch": "emscripten",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/3271688e23862198bfc4b99b78ee4b50062864bc5b6b11666d01c1246b82105b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-11-14T07:04:33.000Z",
      "arch": "aarch64",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/48450f6c3cbc77b11a39bcd656d0ac204e2dc9001d5e94e14a6a3b42647197b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-11-14T07:03:11.000Z",
      "arch": "x86_64",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/c52f749f794e378d465fced15238f000d35f47947efaa74c556dac74efd47190",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-11-14T07:04:21.000Z",
      "arch": "aarch64",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/927a96f541e84c0fe0fe37df17fe1bdbdb40a14b1a37879a293de4aced9c28c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-11-14T07:03:04.000Z",
      "arch": "x86_64",
      "commit": "d2c58a1f7e886e328c4610d9c578bea8e2a621f9",
      "fileid": "https://r2.ropensci.org/e74392572e26d11cadde81f5190d24879aaa2d69448e2ade4f738aeb5c72fa79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43568781414"
    }
  ]
}