{
  "_id": "6a53304f9b92047c28d56586",
  "Package": "twosamples",
  "Type": "Package",
  "Title": "Fast Permutation Based Two Sample Tests",
  "Version": "2.0.1",
  "Authors@R": "person(\"Connor\", \"Dowd\", , \"cd@codowd.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9782-0931\"))",
  "Description": "Fast randomization based two sample tests. Testing the\nhypothesis that two samples come from the same distribution\nusing randomization to create p-values. Included tests are:\nKolmogorov-Smirnov, Kuiper, Cramer-von Mises, Anderson-Darling,\nWasserstein, and DTS. The default test (two_sample) is based on\nthe DTS test statistic, as it is the most powerful, and thus\nmost useful to most users. The DTS test statistic builds on the\nWasserstein distance by using a weighting scheme like that of\nAnderson-Darling. See the companion paper at <arXiv:2007.01360>\nor <https://codowd.com/public/DTS.pdf> for details of that test\nstatistic, and non-standard uses of the package (parallel for\nbig N, weighted observations, one sample tests, etc). We also\ninclude the permutation scheme to make test building simple for\nothers.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://twosampletest.com, https://github.com/cdowd/twosamples",
  "BugReports": "https://github.com/cdowd/twosamples/issues",
  "Config/testthat/edition": "3",
  "Repository": "https://cdowd.r-universe.dev",
  "Date/Publication": "2026-03-11 15:52:18 UTC",
  "RemoteUrl": "https://github.com/cdowd/twosamples",
  "RemoteRef": "HEAD",
  "RemoteSha": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-12 06:07:16 UTC",
    "User": "root"
  },
  "Author": "Connor Dowd [aut, cre] (ORCID: <https://orcid.org/0000-0002-9782-0931>)",
  "Maintainer": "Connor Dowd <cd@codowd.com>",
  "_user": "cdowd",
  "_type": "src",
  "_file": "twosamples_2.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/d080f37eaaaf31ef55fe6efed6852607b6d0de0f8920460c5203b71859267362",
  "_filesize": 487040,
  "_sha256": "d080f37eaaaf31ef55fe6efed6852607b6d0de0f8920460c5203b71859267362",
  "_expires": "2026-10-20T06:12:29.000Z",
  "_created": "2026-07-12T06:07:16.000Z",
  "_published": "2026-07-12T06:12:31.229Z",
  "_jobs": [
    {
      "job": 86621817548,
      "time": 127,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8256793694"
    },
    {
      "job": 86621817533,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8256793323"
    },
    {
      "job": 86621817541,
      "time": 122,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256793079"
    },
    {
      "job": 86621817551,
      "time": 112,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256791068"
    },
    {
      "job": 86621817498,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8256790918"
    },
    {
      "job": 86621817495,
      "time": 270,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8256811174"
    },
    {
      "job": 86621817508,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256794422"
    },
    {
      "job": 86621817485,
      "time": 217,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256803421"
    },
    {
      "job": 86621609843,
      "time": 173,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256774151"
    },
    {
      "job": 86621817470,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8256787832"
    },
    {
      "job": 86621817511,
      "time": 77,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8256785929"
    },
    {
      "job": 86621817474,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8256786494"
    },
    {
      "job": 86621817472,
      "time": 96,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8256788734"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657",
  "_status": "success",
  "_upstream": "https://github.com/cdowd/twosamples",
  "_commit": {
    "id": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
    "author": "cdowd <cdowd@chicagobooth.edu>",
    "committer": "cdowd <cdowd@chicagobooth.edu>",
    "message": "Documentation fixes to pass auto code checks.\n",
    "time": 1773244338
  },
  "_maintainer": {
    "name": "Connor Dowd",
    "email": "cd@codowd.com",
    "orcid": "0000-0002-9782-0931"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "cpp11",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cdowd",
  "_selfowned": true,
  "_usedby": 15,
  "_updates": [
    {
      "week": "2026-11",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "distance-metric",
    "ecdf",
    "cpp"
  ],
  "_stars": 17,
  "_contributors": [
    {
      "user": "cdowd",
      "count": 140,
      "uuid": 14826946
    }
  ],
  "_userbio": {
    "uuid": 14826946,
    "type": "user",
    "name": "cdowd",
    "followers": 5,
    "description": "Statistics, Econometrics, Taxes"
  },
  "_downloads": {
    "count": 7071,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/twosamples"
  },
  "_devurl": "https://github.com/cdowd/twosamples",
  "_pkgdown": "https://twosampletest.com",
  "_searchresults": 96,
  "_rbuild": "4.6.1",
  "_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/twosamples.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cdowd/twosamples",
  "_realowner": "cdowd",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2018-12-03"
    },
    {
      "version": "1.1.0",
      "date": "2020-07-14"
    },
    {
      "version": "1.1.1",
      "date": "2020-07-19"
    },
    {
      "version": "1.2.0",
      "date": "2022-06-07"
    },
    {
      "version": "2.0.0",
      "date": "2022-07-12"
    },
    {
      "version": "2.0.1",
      "date": "2023-06-23"
    }
  ],
  "_exports": [
    "ad_stat",
    "ad_test",
    "combine.twosamples",
    "cvm_stat",
    "cvm_test",
    "dts_stat",
    "dts_test",
    "ks_stat",
    "ks_test",
    "kuiper_stat",
    "kuiper_test",
    "two_sample",
    "wass_stat",
    "wass_test"
  ],
  "_help": [
    {
      "page": "ad_test",
      "title": "Anderson-Darling Test",
      "topics": [
        "ad_stat",
        "ad_test"
      ]
    },
    {
      "page": "combine.twosamples",
      "title": "Combine two objects of class 'twosamples'",
      "topics": [
        "combine.twosamples"
      ]
    },
    {
      "page": "cvm_test",
      "title": "Cramer-von Mises Test",
      "topics": [
        "cvm_stat",
        "cvm_test"
      ]
    },
    {
      "page": "ks_test",
      "title": "Kolmogorov-Smirnov Test",
      "topics": [
        "ks_stat",
        "ks_test"
      ]
    },
    {
      "page": "kuiper_test",
      "title": "Kuiper Test",
      "topics": [
        "kuiper_stat",
        "kuiper_test"
      ]
    },
    {
      "page": "permutation_test_builder",
      "title": "Permutation Test Builder",
      "topics": [
        "permutation_test_builder"
      ]
    },
    {
      "page": "plot.twosamples",
      "title": "Default plots for 'twosamples' objects",
      "topics": [
        "plot.twosamples"
      ]
    },
    {
      "page": "twosamples_class",
      "title": "twosamples_class",
      "topics": [
        "print.twosamples",
        "summary.twosamples",
        "twosamples_class"
      ]
    },
    {
      "page": "two_sample",
      "title": "DTS Test",
      "topics": [
        "dts_stat",
        "dts_test",
        "two_sample"
      ]
    },
    {
      "page": "wass_test",
      "title": "Wasserstein Distance Test",
      "topics": [
        "wass_stat",
        "wass_test"
      ]
    }
  ],
  "_readme": "https://github.com/cdowd/twosamples/raw/HEAD/README.md",
  "_rundeps": [
    "cpp11"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 7.414383509773192,
  "_indexed": true,
  "_nocasepkg": "twosamples",
  "_universes": [
    "cdowd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-07-12T06:09:35.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/377d0da1ebe5f297adce0488dbdf7a509d83173b3bb430d643f0e06b1689ea57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-07-12T06:09:29.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/35c4c0e0ab66355ac39c1172e26b22cf03513356bc25ea4723e85120eb881b4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-07-12T06:09:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/965a0f6f71089d7d6ce910c36e24a5581440fe5186a66f4a8360e6527b9ccd4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-07-12T06:09:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/aeb4641dc6d1bc09b9e5c60f3234e566322628f662db0eb9df1b41bf161fde30",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-07-12T06:09:14.000Z",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/2d51a40130dccb85f8726fe3a4f10664787c5f0625ffed5f2f063f941e8a7122",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-07-12T06:11:17.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/26c024cefce4536d9766c2e198122c02281be8255e0c2fc030a29ef80d2b5127",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-07-12T06:09:32.000Z",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/6db01884563441c41b6d4f283d469d412155b4617cefb486ab13bc5eb646acc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-07-12T06:10:23.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/21c698463d524edbd74c3c1b8b549ed597a2ec8f4edd66f98d79b632c92fb454",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-07-12T06:09:02.000Z",
      "arch": "emscripten",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/fbf9c799c72806303046e0d4562c1dab9077311ad246121e66b49a7862f43a53",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-07-12T06:08:23.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/630a535fc9d7408cc195eff87153aedce5e8996ce70e5f4a58f1e6c69682afe1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-07-12T06:08:31.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/43fee6f22e3bf8a247c4c2ba1a6d133235c19bdfe2804805d29f4048753071c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-07-12T06:08:40.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/d0aa0ffaea1990bcec5bbfda285c85a04ca0580b039bfc2b1395846d42d40597",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/29182099657"
    }
  ]
}