{
  "_id": "6a1025b1acfb0bcc41c8edb0",
  "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-05-13 09:19:29 UTC",
    "User": "root"
  },
  "Author": "Connor Dowd [aut, cre] (ORCID: <https://orcid.org/0000-0002-9782-0931>)",
  "Maintainer": "Connor Dowd <cd@codowd.com>",
  "MD5sum": "7f6de712815cfa3f0152a22f4e96079c",
  "_user": "cdowd",
  "_type": "src",
  "_file": "twosamples_2.0.1.tar.gz",
  "_fileid": "d6753413b2883dfae36a1cf7e2757c63298aa52471371d208877cce15be5c7ba",
  "_filesize": 487891,
  "_sha256": "d6753413b2883dfae36a1cf7e2757c63298aa52471371d208877cce15be5c7ba",
  "_created": "2026-05-13T09:19:29.000Z",
  "_published": "2026-05-22T09:45:21.815Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77355327417,
      "time": 135,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966264184"
    },
    {
      "job": 77355327070,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966273080"
    },
    {
      "job": 77355327459,
      "time": 103,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966252837"
    },
    {
      "job": 77355327103,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966273055"
    },
    {
      "job": 77355327488,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966265669"
    },
    {
      "job": 77355327380,
      "time": 333,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966326613"
    },
    {
      "job": 77355326932,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966259946"
    },
    {
      "job": 77355326842,
      "time": 320,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966313042"
    },
    {
      "job": 77355326799,
      "time": 152,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966214888"
    },
    {
      "job": 77355326535,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157571509"
    },
    {
      "job": 77355326924,
      "time": 96,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6966250093"
    },
    {
      "job": 77355327443,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6966245671"
    },
    {
      "job": 77355327541,
      "time": 113,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6966256112"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cpp11",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cdowd",
  "_selfowned": true,
  "_usedby": 17,
  "_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",
    "description": "Statistics, Econometrics, Taxes"
  },
  "_downloads": {
    "count": 8661,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/twosamples"
  },
  "_devurl": "https://github.com/cdowd/twosamples",
  "_pkgdown": "https://twosampletest.com",
  "_searchresults": 91,
  "_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/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": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 7.533598532733706,
  "_indexed": true,
  "_nocasepkg": "twosamples",
  "_universes": [
    "cdowd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-05-13T09:21:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "d1084d356608cf1750c7fa7267c64f3dbbe10ca6c153831b5d4fca6682474bcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-05-13T09:22:11.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "dcbbedd80a4c75862e25174dfc0f01a9d4580d2725ba70cdc1e32e49c82b3cf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-05-13T09:21:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "e4164a196cebcab5ade4c418f2477d90face154253638ebb913e7a627687c56d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-05-13T09:22:10.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "4ee042a61d1a9539e63bceb0d970c0880215b5f80f324b408f9788fe17cfeef2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-05-13T09:21:51.000Z",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "f36e73b1755f8fff7b507eb97b1fd94bd3285c16a7fd88eacc2962400102268d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-05-13T09:24:27.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "f52ac70ef90a923e990b1a5d2f9945ca4e6f4303aa8ba64f8de69e5202cb163c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-05-13T09:21:32.000Z",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "5373eed58e695db3736ce31b79c612ece084b25b2a4bfb3e72019f74957f8e44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-05-13T09:23:48.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "fe643419a19841f076a3c894438e2852dd662577fa4c3b91c6b64ed0b822257c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-13T09:20:40.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "c340bab8b01a743fad03dc227c669d385707331f536145a700c84fac63f9cd29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-13T09:20:40.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "cbdddd2d0e55604982b53115ebf8d2aae025dd74a9624bdc817b073a82cd402f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-05-13T09:20:50.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "919ac1e056dabce527a9305b11afa53b178c3fac3da51bdf0993fa825b456b64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-05-22T09:44:58.000Z",
      "arch": "emscripten",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "b1765e7d8466b1b12fcdd3bfca0aa47f5b56dbd7ef79c6f4c1a417eb409aba57",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/25789945794"
    }
  ]
}