{
  "_id": "6a27be8424555f66ed53c39c",
  "Package": "flintyR",
  "Title": "Flexible and Interpretable Non-Parametric Tests of\nExchangeability",
  "Version": "0.0.2",
  "Date": "2021-09-27",
  "Authors@R": "c(person(\"Alan\", \"Aw\", email = \"alanaw1@berkeley.edu\", role = c(\"cre\", \"aut\"), comment = c(ORCID = \"0000-0001-9455-7878\")), person(\"Jeffrey\", \"Spence\", email = \"jspence@stanford.edu\", role = \"ctb\"))",
  "Description": "Given a multivariate dataset and some knowledge about the\ndependencies between its features, it is important to ensure\nthe observations or individuals are exchangeable before fitting\na model to the data in order to make inferences from it, or\nassigning randomized treatments in order to estimate treatment\neffects. This package provides a flexible non-parametric test\nof exchangeability, allowing the user to specify the feature\ndependencies by hand. It can be used directly to evaluate\nwhether a sample is exchangeable, and can also be piped into\nlarger procedures that require exchangeable samples as outputs\n(e.g., clustering or community detection). See Aw, Spence and\nSong (2021+) for the accompanying paper.",
  "License": "GPL (>= 3)",
  "URL": "https://alanaw1.github.io/flintyR/",
  "BugReports": "https://github.com/alanaw1/flintyR/issues",
  "RoxygenNote": "7.2.0",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libuv1-dev",
  "Repository": "https://alanaw1.r-universe.dev",
  "Date/Publication": "2022-06-13 21:54:59 UTC",
  "RemoteUrl": "https://github.com/alanaw1/flintyr",
  "RemoteRef": "HEAD",
  "RemoteSha": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 06:50:30 UTC",
    "User": "root"
  },
  "Author": "Alan Aw [cre, aut] (ORCID: <https://orcid.org/0000-0001-9455-7878>),\nJeffrey Spence [ctb]",
  "Maintainer": "Alan Aw <alanaw1@berkeley.edu>",
  "MD5sum": "1d34c2b03598643c005eb0daa3934d8c",
  "_user": "alanaw1",
  "_type": "src",
  "_file": "flintyR_0.0.2.tar.gz",
  "_fileid": "1132dc7807a034ee526cc6051a0d4455a41929b440f44e26b8ad52606919f66d",
  "_filesize": 246015,
  "_sha256": "1132dc7807a034ee526cc6051a0d4455a41929b440f44e26b8ad52606919f66d",
  "_created": "2026-06-09T06:50:30.000Z",
  "_published": "2026-06-09T07:19:32.840Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80264777180,
      "time": 175,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7500513512"
    },
    {
      "job": 80264777159,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7500510303"
    },
    {
      "job": 80264777225,
      "time": 211,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7500523491"
    },
    {
      "job": 80264777187,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7500510830"
    },
    {
      "job": 80264777156,
      "time": 495,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7500882473"
    },
    {
      "job": 80264777160,
      "time": 1665,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7500973765"
    },
    {
      "job": 80264777154,
      "time": 548,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7500765832"
    },
    {
      "job": 80264777143,
      "time": 1291,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7500905253"
    },
    {
      "job": 80264108571,
      "time": 292,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500460265"
    },
    {
      "job": 80264777120,
      "time": 145,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500504378"
    },
    {
      "job": 80264777165,
      "time": 118,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7500495798"
    },
    {
      "job": 80264777177,
      "time": 202,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7500520503"
    },
    {
      "job": 80264777125,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7500498874"
    }
  ],
  "_buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/alanaw1/flintyr",
  "_commit": {
    "id": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
    "author": "Alan <alanaw1@berkeley.edu>",
    "committer": "Alan <alanaw1@berkeley.edu>",
    "message": "rephrase some pedantic details\n\n- clarify that failing to reject the null is not by itself evidence of the null holding\n- suggest that subsampling analysis + the test together support the null\n",
    "time": 1655157299
  },
  "_maintainer": {
    "name": "Alan Aw",
    "email": "alanaw1@berkeley.edu",
    "login": "alanaw1",
    "description": "",
    "uuid": 29695123,
    "orcid": "0000-0001-9455-7878"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    }
  ],
  "_owner": "alanaw1",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "alanaw1",
      "count": 115,
      "uuid": 29695123
    }
  ],
  "_userbio": {
    "uuid": 29695123,
    "type": "user",
    "name": "Alan Aw"
  },
  "_downloads": {
    "count": 212,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/flintyR"
  },
  "_devurl": "https://github.com/alanaw1/flintyr",
  "_pkgdown": "https://alanaw1.github.io/flintyR/",
  "_searchresults": 15,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/flintyR.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/alanaw1/flintyr",
  "_realowner": "alanaw1",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2021-09-06"
    },
    {
      "version": "0.0.2",
      "date": "2021-09-28"
    },
    {
      "version": "0.1.0",
      "date": "2023-03-23"
    }
  ],
  "_exports": [
    "blockGaussian",
    "blockLargeP",
    "blockPermute",
    "buildForward",
    "buildReverse",
    "cacheBlockPermute1",
    "cacheBlockPermute2",
    "cachePermute",
    "distDataLargeP",
    "distDataPermute",
    "distDataPValue",
    "getBinVStat",
    "getBlockCov",
    "getChi2Weights",
    "getCov",
    "getHammingDistance",
    "getLpDistance",
    "getPValue",
    "getRealVStat",
    "hamming_bitwise",
    "indGaussian",
    "indLargeP",
    "lp_distance",
    "naiveBlockPermute1",
    "naiveBlockPermute2",
    "weightedChi2P"
  ],
  "_help": [
    {
      "page": "flintyR-package",
      "title": "Flexible and Interpretable Non-Parametric Tests of Exchangeability",
      "topics": [
        "flintyR-package",
        "flintyR"
      ]
    },
    {
      "page": "blockGaussian",
      "title": "Approximate p-value for Test of Exchangeability (Assuming Large N and P with Block Dependencies)",
      "topics": [
        "blockGaussian"
      ]
    },
    {
      "page": "blockLargeP",
      "title": "Approximate p-value for Test of Exchangeability (Assuming Large P with Block Dependencies)",
      "topics": [
        "blockLargeP"
      ]
    },
    {
      "page": "blockPermute",
      "title": "p-value Computation for Test of Exchangeability with Block Dependencies",
      "topics": [
        "blockPermute"
      ]
    },
    {
      "page": "buildForward",
      "title": "Map from Indices to Label Pairs",
      "topics": [
        "buildForward"
      ]
    },
    {
      "page": "buildReverse",
      "title": "Map from Label Pairs to Indices",
      "topics": [
        "buildReverse"
      ]
    },
    {
      "page": "cacheBlockPermute1",
      "title": "Resampling Many V Statistics (Version 1)",
      "topics": [
        "cacheBlockPermute1"
      ]
    },
    {
      "page": "cacheBlockPermute2",
      "title": "Resampling Many V Statistics (Version 2)",
      "topics": [
        "cacheBlockPermute2"
      ]
    },
    {
      "page": "cachePermute",
      "title": "Permutation by Caching Distances",
      "topics": [
        "cachePermute"
      ]
    },
    {
      "page": "distDataLargeP",
      "title": "Asymptotic p-value of Exchangeability Using Distance Data",
      "topics": [
        "distDataLargeP"
      ]
    },
    {
      "page": "distDataPermute",
      "title": "p-value Computation for Test of Exchangeability Using Distance Data",
      "topics": [
        "distDataPermute"
      ]
    },
    {
      "page": "distDataPValue",
      "title": "A Non-parametric Test for Exchangeability and Homogeneity (Distance List Version)",
      "topics": [
        "distDataPValue"
      ]
    },
    {
      "page": "getBinVStat",
      "title": "V Statistic for Binary Matrices",
      "topics": [
        "getBinVStat"
      ]
    },
    {
      "page": "getBlockCov",
      "title": "Covariance Computations Between Pairs of Distances (Block Dependencies Case)",
      "topics": [
        "getBlockCov"
      ]
    },
    {
      "page": "getChi2Weights",
      "title": "Get Chi Square Weights",
      "topics": [
        "getChi2Weights"
      ]
    },
    {
      "page": "getCov",
      "title": "Covariance Computations Between Pairs of Distances (Independent Case)",
      "topics": [
        "getCov"
      ]
    },
    {
      "page": "getHammingDistance",
      "title": "A Hamming Distance Vector Calculator",
      "topics": [
        "getHammingDistance"
      ]
    },
    {
      "page": "getLpDistance",
      "title": "A l_p^p Distance Vector Calculator",
      "topics": [
        "getLpDistance"
      ]
    },
    {
      "page": "getPValue",
      "title": "A Non-parametric Test for Exchangeability and Homogeneity",
      "topics": [
        "getPValue"
      ]
    },
    {
      "page": "getRealVStat",
      "title": "V Statistic for Real Matrices",
      "topics": [
        "getRealVStat"
      ]
    },
    {
      "page": "hamming_bitwise",
      "title": "Fast Bitwise Hamming Distance Vector Computation",
      "topics": [
        "hamming_bitwise"
      ]
    },
    {
      "page": "indGaussian",
      "title": "Approximate p-value for Test of Exchangeability (Assuming Large N and P)",
      "topics": [
        "indGaussian"
      ]
    },
    {
      "page": "indLargeP",
      "title": "Approximate p-value for Test of Exchangeability (Assuming Large P)",
      "topics": [
        "indLargeP"
      ]
    },
    {
      "page": "lp_distance",
      "title": "Fast l_p^p Distance Vector Computation",
      "topics": [
        "lp_distance"
      ]
    },
    {
      "page": "naiveBlockPermute1",
      "title": "Resampling V Statistic (Version 1)",
      "topics": [
        "naiveBlockPermute1"
      ]
    },
    {
      "page": "naiveBlockPermute2",
      "title": "Resampling V Statistic (Version 2)",
      "topics": [
        "naiveBlockPermute2"
      ]
    },
    {
      "page": "weightedChi2P",
      "title": "Tail Probability for Chi Square Convolution Random Variable",
      "topics": [
        "weightedChi2P"
      ]
    }
  ],
  "_readme": "https://github.com/alanaw1/flintyr/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "brio",
    "callr",
    "cli",
    "codetools",
    "crayon",
    "desc",
    "diffobj",
    "doParallel",
    "evaluate",
    "foreach",
    "fs",
    "glue",
    "iterators",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "otel",
    "pkgbuild",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "R6",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rprojroot",
    "testthat",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "flintyr",
  "_universes": [
    "alanaw1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-09T06:53:32.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "a9c8ee9879aeec5215865243f4903e590b8b94aa3bea414114c35cbd325a28d9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-09T06:53:18.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "f328b346069634da4dbdf61c2f8165d47debedef0daed5bf39e45bcfc465a20f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-09T06:54:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "a87c8df4b363a23466cb72062dc84d267d7c8c55038d164b50ae460cf9ce44c8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.2",
      "date": "2026-06-09T06:53:19.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "9c2f3b98e4a20ce02c779cbce78bda794e3114e42f2cdb8dacbeaff08814a406",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-09T07:08:03.000Z",
      "arch": "aarch64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "4e9245cd1aeaf232a77e8b24b48bcb68dbce75d1eb1aefc0fc21270abdd4d760",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-09T06:57:34.000Z",
      "arch": "x86_64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "9b18787a085c17dcbdaef93094876c696fc8418a675ad7f005b03503c809049d",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-09T07:01:45.000Z",
      "arch": "aarch64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "fd0e2dff5a1a04ac9d618b5243b9c01bebc328b1edef7e97e16695e35ee309cb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.2",
      "date": "2026-06-09T06:57:24.000Z",
      "arch": "x86_64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "7900bc3c542f4c27a45995c4db47cffaba463e39ccc30ff7b8e1448dee2adb23",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.2",
      "date": "2026-06-09T06:53:16.000Z",
      "arch": "emscripten",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "2e0c6e34cba81696ea45bd2129849962f14dd263a7cf98fda145ff20be6df99c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-09T06:52:03.000Z",
      "arch": "x86_64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "834d9d09b784d93081b92ad82191bf214b5b0dcde8f908f192a14fe861994cd5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-09T06:52:57.000Z",
      "arch": "x86_64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "15871ea4b81ed0446af608c73a34acd4931042f827378ce7d90cc4b692106290",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.2",
      "date": "2026-06-09T06:52:10.000Z",
      "arch": "x86_64",
      "commit": "f7af5ba682760b24b673c4e250a2ad0b4f821f25",
      "fileid": "14f700d21f805b361e228b64506bee2b94dcc198e5e43d44700b54e0eb285fc8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/alanaw1/actions/runs/27188891486"
    }
  ]
}