{
  "_id": "6ac9f925fe5cc25786e83858",
  "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-10-10 08:10:56 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/cf7b375ed87f81a145f9ff0a2da5da80a2b9576eea6087ed6b65e5c64b945a3b",
  "_filesize": 487199,
  "_sha256": "cf7b375ed87f81a145f9ff0a2da5da80a2b9576eea6087ed6b65e5c64b945a3b",
  "_expires": "2027-01-18T08:36:51.000Z",
  "_created": "2026-10-10T08:10:56.000Z",
  "_published": "2026-10-10T08:36:53.002Z",
  "_buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114169430964,
      "time": 116,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11664007716"
    },
    {
      "job": 114169430918,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11663824059"
    },
    {
      "job": 114169430920,
      "time": 77,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664113851"
    },
    {
      "job": 114169430958,
      "time": 99,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664307527"
    },
    {
      "job": 114169430983,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11664656139"
    },
    {
      "job": 114169430950,
      "time": 208,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11664711356"
    },
    {
      "job": 114169431032,
      "time": 79,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664601978"
    },
    {
      "job": 114169430919,
      "time": 230,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664109069"
    },
    {
      "job": 114168972524,
      "time": 154,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11664483441"
    },
    {
      "job": 114169430946,
      "time": 88,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11664367418"
    },
    {
      "job": 114169430982,
      "time": 316,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11663493125"
    },
    {
      "job": 114169431087,
      "time": 110,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11663922604"
    },
    {
      "job": 114169431039,
      "time": 88,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11664582235"
    },
    {
      "job": 114169431031,
      "time": 320,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11663654400"
    },
    {
      "job": 114169431056,
      "time": 53,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11663477701"
    }
  ],
  "_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": 16,
  "_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": 9329,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/twosamples"
  },
  "_devurl": "https://github.com/cdowd/twosamples",
  "_pkgdown": "https://twosampletest.com",
  "_searchresults": 101,
  "_rbuild": "4.6.1",
  "_assets": [
    "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",
    "extra/twosamples.html"
  ],
  "_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.58481662994832,
  "_indexed": true,
  "_nocasepkg": "twosamples",
  "_universes": [
    "cdowd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-10-10T08:13:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/0a45630c6c42debad65b6ed349d986c29aabfab743577158857b16393e57f7c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-10-10T08:12:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/96a7723f1561db640808cd88aa72fb42f9d5d1f86f0ac0a15208c77a07df6e36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-10-10T08:12:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/82e077e1c8d3bb822c5f4872427ff06dada99b9b94d5e0aae4fc4d0f80fef5c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.0.1",
      "date": "2026-10-10T08:12:40.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/0fccf9e302c396cca565ad171668c45a3cc0669d1e553f990c6496ee886fa37c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-10-10T08:30:21.000Z",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/4e3ecc20f20aecca0b7137628248f913b895831eec98c143216165bb57dc8fbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-10-10T08:32:05.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/48c301387868366059a625ac0d0776752f2af4d1c29a8d25942068490977c754",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-10-10T08:36:18.000Z",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/4b003693220565331077b7fc80cd831c28b5e744c63231b14443d840d2fbfea8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.0.1",
      "date": "2026-10-10T08:30:28.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/934c37520a7f83cd1f2b67eaf3c146df0ef564d062c10a7841ac2553c4896bed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.0.1",
      "date": "2026-10-10T08:12:41.000Z",
      "arch": "emscripten",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/03b5a4809232c6af66d4a404151673cbc6a859ab5a8f8c08afe42f2b2b9fc9c2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T08:15:46.000Z",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/d1eaec89c1c726e8728aaf204b725f0168f05a37d280bc0b5551d143fee03319",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T08:12:11.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/ab932dddf5d2aeffae5d9200b1f7897d218e028513d9943706a3c987b839fcd5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T08:12:06.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/4bdafe2fe0c6f447199f8c3ee37e9398ac1f289cbf252dcbcd6fb0be2e6bc5fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T08:15:39.000Z",
      "arch": "aarch64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/088b45355982df554466b87d63c17bfc7d93df1ea112ec7de77cb770991b3cd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.0.1",
      "date": "2026-10-10T08:11:48.000Z",
      "arch": "x86_64",
      "commit": "b06cef27f51d758e6b0722a661c427b8aaa9c0cc",
      "fileid": "https://r2.ropensci.org/0d103452b11ce6b63ba91bf020d593fd1d4e4ef9a7f21e985a8dd70a7dfea33b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cdowd/actions/runs/38036839417"
    }
  ]
}