{
  "_id": "6a102d80acfb0bcc41c93c8b",
  "Package": "WRI",
  "Type": "Package",
  "Title": "Wasserstein Regression and Inference",
  "Version": "0.2.3",
  "Authors@R": "c(\nperson(\"Alexander\", \"Petersen\", email = \"petersen@stat.byu.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Xi\", \"Liu\", email = \"xiliu@ucsb.edu\",  role = \"aut\"),\nperson(\"Chao\", \"Zhang\", email = \"czhang@pstat.ucsb.edu\", role = \"aut\"),\nperson(\"Matthew\", \"Coleman\", email = \"matthewbcoleman@ucsb.edu\", role = \"aut\"))",
  "Author": "Alexander Petersen [aut, cre], Xi Liu [aut], Chao Zhang [aut],\nMatthew Coleman [aut]",
  "Description": "Implementation of the methodologies described in 1)\nAlexander Petersen, Xi Liu and Afshin A. Divani (2021)\n<doi:10.1214/20-aos1971>, including global F tests, partial F\ntests, intrinsic Wasserstein-infinity bands and Wasserstein\ndensity bands, and 2) Chao Zhang, Piotr Kokoszka and Alexander\nPetersen (2022) <doi:10.1111/jtsa.12590>, including estimation,\nprediction, and inference of the Wasserstein autoregressive\nmodels.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-22 10:06:33 UTC",
    "User": "root"
  },
  "Maintainer": "Alexander Petersen <petersen@stat.byu.edu>",
  "Config/pak/sysreqs": "cmake libgmp3-dev make libicu-dev libuv1-dev\npkg-config libclang-dev",
  "Repository": "https://alexpete.r-universe.dev",
  "Date/Publication": "2026-03-30 09:51:29 UTC",
  "RemoteUrl": "https://github.com/cran/WRI",
  "RemoteRef": "HEAD",
  "RemoteSha": "3cef791c5d1725806d68dc241971e3010ec420b5",
  "MD5sum": "338cf9f94f3cf030a847069806d6867c",
  "_user": "alexpete",
  "_type": "src",
  "_file": "WRI_0.2.3.tar.gz",
  "_fileid": "acfe6538db1d8d6c16ed5d3974030b8c4ca6324558bc997fc8f68fa2aae92f3a",
  "_filesize": 760318,
  "_sha256": "acfe6538db1d8d6c16ed5d3974030b8c4ca6324558bc997fc8f68fa2aae92f3a",
  "_created": "2026-05-22T10:06:33.000Z",
  "_published": "2026-05-22T10:18:40.257Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77358925709,
      "time": 190,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158031040"
    },
    {
      "job": 77358925783,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158026738"
    },
    {
      "job": 77358925726,
      "time": 193,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158031993"
    },
    {
      "job": 77358925672,
      "time": 208,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158036293"
    },
    {
      "job": 77358925706,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7158015222"
    },
    {
      "job": 77358925722,
      "time": 667,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7158160277"
    },
    {
      "job": 77358925693,
      "time": 166,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158017326"
    },
    {
      "job": 77358925665,
      "time": 329,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158066640"
    },
    {
      "job": 77358254878,
      "time": 264,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157970715"
    },
    {
      "job": 77358925713,
      "time": 172,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158024367"
    },
    {
      "job": 77358925653,
      "time": 204,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7158035834"
    },
    {
      "job": 77358925670,
      "time": 118,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7158008128"
    },
    {
      "job": 77358925662,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158016858"
    }
  ],
  "_buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/WRI",
  "_commit": {
    "id": "3cef791c5d1725806d68dc241971e3010ec420b5",
    "author": "Alexander Petersen <petersen@stat.byu.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.3\n",
    "time": 1774864289
  },
  "_maintainer": {
    "name": "Alexander Petersen",
    "email": "petersen@stat.byu.edu",
    "login": "alexpete",
    "description": "",
    "uuid": 3698637
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "fdapace",
      "version": ">= 0.2.0",
      "role": "Imports"
    },
    {
      "package": "Rfast",
      "version": ">= 1.9.8",
      "role": "Imports"
    },
    {
      "package": "CVXR",
      "version": ">= 0.99.7",
      "role": "Imports"
    },
    {
      "package": "expm",
      "version": ">= 0.999-4",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.2.1",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "version": ">= 2.3",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.3",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.1-0",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "polynom",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "modeest",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-51",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.1",
      "date": "2025-12-16"
    },
    {
      "name": "0.2.2",
      "date": "2026-03-28"
    },
    {
      "name": "0.2.3",
      "date": "2026-03-30"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "alexpete",
      "count": 1,
      "uuid": 3698637
    }
  ],
  "_userbio": {
    "uuid": 3698637,
    "type": "user",
    "name": "alexpete"
  },
  "_downloads": {
    "count": 592,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/WRI"
  },
  "_searchresults": 9,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_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/WRI.html",
    "manual.pdf"
  ],
  "_realowner": "alexpete",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-11-23"
    },
    {
      "version": "0.2.0",
      "date": "2022-07-09"
    },
    {
      "version": "0.2.1",
      "date": "2025-12-16"
    },
    {
      "version": "0.2.2",
      "date": "2026-03-28"
    },
    {
      "version": "0.2.3",
      "date": "2026-03-30"
    }
  ],
  "_exports": [
    "confidenceBands",
    "den2Q_qd",
    "globalFtest",
    "partialFtest",
    "quan2den_qd",
    "simulate_quantile_curves",
    "WARp",
    "warSim",
    "wass_R2",
    "wass_regress"
  ],
  "_datasets": [
    {
      "name": "strokeCTdensity",
      "title": "Stroke data: clinical, radiological scalar variables and density curves of the hematoma of 393 stroke patients",
      "object": "strokeCTdensity",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "confidenceBands",
      "title": "Confidence Bands for Wasserstein Regression",
      "topics": [
        "confidenceBands"
      ]
    },
    {
      "page": "den2Q_qd",
      "title": "convert density function to quantile and quantile density function",
      "topics": [
        "den2Q_qd"
      ]
    },
    {
      "page": "globalFtest",
      "title": "global F test for Wasserstein regression",
      "topics": [
        "globalFtest"
      ]
    },
    {
      "page": "partialFtest",
      "title": "partial F test for Wasserstein regression",
      "topics": [
        "partialFtest"
      ]
    },
    {
      "page": "predict.WARp",
      "title": "Prediction by WAR(p) models",
      "topics": [
        "predict.WARp"
      ]
    },
    {
      "page": "print.summary.WRI",
      "title": "print the summary of WRI object",
      "topics": [
        "print.summary.WRI"
      ]
    },
    {
      "page": "quan2den_qd",
      "title": "convert density function to quantile and quantile density function",
      "topics": [
        "quan2den_qd"
      ]
    },
    {
      "page": "simulate_quantile_curves",
      "title": "Simulate quantile curves",
      "topics": [
        "simulate_quantile_curves"
      ]
    },
    {
      "page": "strokeCTdensity",
      "title": "Stroke data: clinical, radiological scalar variables and density curves of the hematoma of 393 stroke patients",
      "topics": [
        "strokeCTdensity"
      ]
    },
    {
      "page": "summary.WRI",
      "title": "Summary Function of Wasserstein Regression Model",
      "topics": [
        "summary.WRI"
      ]
    },
    {
      "page": "WARp",
      "title": "WAR(p) models: estimation and forecast",
      "topics": [
        "WARp"
      ]
    },
    {
      "page": "warSim",
      "title": "Generate simulation data",
      "topics": [
        "warSim"
      ]
    },
    {
      "page": "wass_R2",
      "title": "Compute Wasserstein Coefficient of Determination",
      "topics": [
        "wass_R2"
      ]
    },
    {
      "page": "wass_regress",
      "title": "Perform Frechet Regression with the Wasserstein Distance",
      "topics": [
        "wass_regress"
      ]
    }
  ],
  "_readme": "https://github.com/cran/WRI/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "base64enc",
    "bslib",
    "cachem",
    "checkmate",
    "clarabel",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "CVXR",
    "data.table",
    "digest",
    "evaluate",
    "expm",
    "farver",
    "fastmap",
    "fdapace",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "ggplot2",
    "glue",
    "gmp",
    "gridExtra",
    "gtable",
    "highr",
    "highs",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "mvtnorm",
    "nnet",
    "numDeriv",
    "osqp",
    "polynom",
    "pracma",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "Rfast",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sass",
    "scales",
    "scs",
    "slam",
    "stringi",
    "stringr",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zigg"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "WRI-vignette.Rmd",
      "filename": "WRI-vignette.html",
      "title": "Introduction to the WRI Package",
      "author": "Matthew Coleman, Lucy Liu and Alexander Petersen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Wasserstein Regression",
        "The effect of Sup grid vector when Ytype == 'quantile'",
        "Usage of wass_regress function",
        "Summary",
        "Wasserstein Coefficient of Determination, $R^2$",
        "Hypothesis Testing",
        "Global F-test",
        "Partial F-test",
        "Confidence Bands",
        "Usage of confidenceBands function",
        "Investigate the effect of hematoma volume"
      ],
      "created": "2020-11-23 07:00:06",
      "modified": "2020-11-23 07:00:06",
      "commits": 1
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "wri",
  "_universes": [
    "alexpete"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-22T10:09:38.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "fd8e7f207db69bf0e004fd06cf707bf7ff1607f5a129a786fcbd992722d75057",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-22T10:09:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "cc7c85e3d26783b9eecb771d747a77c8cf8022140f1aff83c872021a98906ed1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-22T10:09:39.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "aeb40f49d7272d4e254d4bd575fe8426152cd35a438dc3965589b90fbcde337d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-22T10:09:49.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "0ac3ab152b01d66fced433581cb99d13395d33dd64a6f8ea057910a1904c482c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-22T10:08:57.000Z",
      "arch": "aarch64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "a0af8b2f2e2f50b71f3cad90fa96c124d561fcadd4fd908bf65491c52fa07bcc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-22T10:15:35.000Z",
      "arch": "x86_64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "ded90d059ff59315d776e8063044d2066d3abfab671c92b8232a4f49fd7ec54b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-22T10:08:57.000Z",
      "arch": "aarch64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "4863f90cf75369e55e5f44171116c6548d8fbacfd3dc2a261ad7b02e7279c70e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-22T10:11:03.000Z",
      "arch": "x86_64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "d8e508492c32fddd0b695dd47dcb4b2f67ec8a409b819521c16d5d8edb612823",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-05-22T10:09:39.000Z",
      "arch": "emscripten",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "eedb55ec388957de09ce7228ea1cb72bacdefd7e43a94a045ffd9e3807467c59",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T10:09:24.000Z",
      "arch": "x86_64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "7fe6fbcaf7228f24789f2f573629b7d24e5f656e4fbfbac4e00eb42127e0e671",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T10:08:02.000Z",
      "arch": "x86_64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "140df28e09ad24a12b88435904496511e3b69b0add7e31d9dfefb92e7c73c3fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T10:08:14.000Z",
      "arch": "x86_64",
      "commit": "3cef791c5d1725806d68dc241971e3010ec420b5",
      "fileid": "fb0a02afc5cd86592e4c08993087f0d847cf0d7a0828eb1c79feb6d13c13ab0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexpete/actions/runs/26281401167"
    }
  ]
}