{
  "_id": "6ac4ec01f511ae58c09a31a4",
  "Package": "R2sample",
  "Title": "Various Methods for the Two Sample Problem",
  "Version": "5.0.0",
  "Authors@R": "person(\"Wolfgang\", \"Rolke\", , \"wolfgang.rolke@upr.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-3514-726X\"))",
  "Description": "The routine twosample_test() in this package runs the two\nsample test using various test statistic. The p values are\nfound via permutation or large sample theory. The routine\ntwosample_power() allows the calculation of the power in\nvarious cases, and plot_power() draws the corresponding power\ngraphs. The routine run.studies allows a user to quickly study\nthe power of a new method and how it compares to some of the\nstandard ones.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-06 12:31:32 UTC",
    "User": "root"
  },
  "Author": "Wolfgang Rolke [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3514-726X>)",
  "Maintainer": "Wolfgang Rolke <wolfgang.rolke@upr.edu>",
  "Config/pak/sysreqs": "cmake make libuv1-dev zlib1g-dev",
  "Repository": "https://wolfgangrolke.r-universe.dev",
  "Date/Publication": "2026-09-06 17:09:00 UTC",
  "RemoteUrl": "https://github.com/cran/R2sample",
  "RemoteRef": "HEAD",
  "RemoteSha": "3097f16a9cab931f67fadae6b7198343c602c035",
  "_user": "wolfgangrolke",
  "_type": "src",
  "_file": "R2sample_5.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/483ea3ba9f758148a7cf1fa71b430d3ab95a9c0cbae23a839e96d7c5ef42f8cc",
  "_filesize": 1157849,
  "_sha256": "483ea3ba9f758148a7cf1fa71b430d3ab95a9c0cbae23a839e96d7c5ef42f8cc",
  "_expires": "2027-01-14T12:39:27.000Z",
  "_created": "2026-10-06T12:31:32.000Z",
  "_published": "2026-10-06T12:39:29.572Z",
  "_jobs": [
    {
      "job": 112270238122,
      "time": 136,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11413372594"
    },
    {
      "job": 112270238293,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11413302892"
    },
    {
      "job": 112270238117,
      "time": 142,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11413792306"
    },
    {
      "job": 112270238249,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11414147128"
    },
    {
      "job": 112270238135,
      "time": 212,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11413547763"
    },
    {
      "job": 112270238140,
      "time": 376,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11414507402"
    },
    {
      "job": 112270238075,
      "time": 270,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11414417256"
    },
    {
      "job": 112270238243,
      "time": 279,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11413283009"
    },
    {
      "job": 112268359085,
      "time": 275,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11413527256"
    },
    {
      "job": 112270237912,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11414481795"
    },
    {
      "job": 112270238146,
      "time": 400,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11414228008"
    },
    {
      "job": 112270238129,
      "time": 184,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11413174319"
    },
    {
      "job": 112270238082,
      "time": 146,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11413877430"
    },
    {
      "job": 112270238379,
      "time": 377,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11414512376"
    },
    {
      "job": 112270238132,
      "time": 157,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11413352639"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832",
  "_status": "success",
  "_upstream": "https://github.com/cran/R2sample",
  "_commit": {
    "id": "3097f16a9cab931f67fadae6b7198343c602c035",
    "author": "Wolfgang Rolke <wolfgang.rolke@upr.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 5.0.0\n",
    "time": 1788714540
  },
  "_maintainer": {
    "name": "Wolfgang Rolke",
    "email": "wolfgang.rolke@upr.edu",
    "login": "wolfgangrolke",
    "description": "",
    "uuid": 9784563,
    "orcid": "0000-0002-3514-726X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "shiny",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "microbenchmark",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "5.0.0",
      "date": "2026-09-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "wolfgangrolke",
      "count": 11,
      "uuid": 9784563
    }
  ],
  "_userbio": {
    "uuid": 9784563,
    "type": "user",
    "name": "WolfgangRolke",
    "followers": 3
  },
  "_downloads": {
    "count": 437,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/R2sample"
  },
  "_searchresults": 8,
  "_topics": [
    "cpp"
  ],
  "_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/R2sample.html"
  ],
  "_realowner": "wolfgangrolke",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2022-10-12"
    },
    {
      "version": "1.0.0",
      "date": "2022-10-26"
    },
    {
      "version": "1.1.0",
      "date": "2023-01-23"
    },
    {
      "version": "2.2.0",
      "date": "2024-10-21"
    },
    {
      "version": "3.0.0",
      "date": "2025-02-01"
    },
    {
      "version": "3.1.0",
      "date": "2025-03-09"
    },
    {
      "version": "3.1.1",
      "date": "2025-03-16"
    },
    {
      "version": "4.0.0",
      "date": "2025-04-27"
    },
    {
      "version": "4.0.1",
      "date": "2025-04-30"
    },
    {
      "version": "4.1.0",
      "date": "2025-06-16"
    },
    {
      "version": "5.0.0",
      "date": "2026-09-08"
    }
  ],
  "_exports": [
    "case_studies",
    "myTS_cont",
    "myTS_disc",
    "myTS2",
    "plot_power",
    "powerR",
    "run_shiny",
    "run.studies",
    "test_methods",
    "timecheck",
    "twosample_power",
    "twosample_test",
    "twosample_test_adjusted_pvalue"
  ],
  "_datasets": [
    {
      "name": "funs_list",
      "title": "funs_list",
      "object": "funs_list",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "param",
      "title": "param",
      "object": "param",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "power_study",
      "title": "power_study",
      "object": "power_study",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "pvaluecdf",
      "title": "pvaluecdf",
      "object": "pvaluecdf",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "z",
        "y1",
        "y2"
      ],
      "rows": 250,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "asymptotic_pvalues",
      "title": "This function finds the p values of several tests based on large sample theory",
      "topics": [
        "asymptotic_pvalues"
      ]
    },
    {
      "page": "case_studies",
      "title": "Create case studies",
      "topics": [
        "case_studies"
      ]
    },
    {
      "page": "chi_power",
      "title": "This function runs the chi-square test for continuous or discrete data",
      "topics": [
        "chi_power"
      ]
    },
    {
      "page": "funs_list",
      "title": "funs_list",
      "topics": [
        "funs_list"
      ]
    },
    {
      "page": "myTS_cont",
      "title": "New test for continuous data",
      "topics": [
        "myTS_cont"
      ]
    },
    {
      "page": "myTS_disc",
      "title": "This function runs a test for discrete data",
      "topics": [
        "myTS_disc"
      ]
    },
    {
      "page": "myTS2",
      "title": "a local function needed for the vignette",
      "topics": [
        "myTS2"
      ]
    },
    {
      "page": "param",
      "title": "param",
      "topics": [
        "param"
      ]
    },
    {
      "page": "plot_power",
      "title": "This function draws the power graph, with curves sorted by the mean power and smoothed for easier reading.",
      "topics": [
        "plot_power"
      ]
    },
    {
      "page": "power_newtest",
      "title": "Power for tests with p values",
      "topics": [
        "power_newtest"
      ]
    },
    {
      "page": "power_study",
      "title": "power_study",
      "topics": [
        "power_study"
      ]
    },
    {
      "page": "powerR",
      "title": "Find the power of two sample tests using Rcpp and parallel computing.",
      "topics": [
        "powerR"
      ]
    },
    {
      "page": "pvaluecdf",
      "title": "pvaluecdf",
      "topics": [
        "pvaluecdf"
      ]
    },
    {
      "page": "run_shiny",
      "title": "Runs the shiny app associated with R2sample package",
      "topics": [
        "run_shiny"
      ]
    },
    {
      "page": "run.studies",
      "title": "Power Comparisons",
      "topics": [
        "run.studies"
      ]
    },
    {
      "page": "signif_digits",
      "title": "This function does some rounding to nice numbers",
      "topics": [
        "signif_digits"
      ]
    },
    {
      "page": "timecheck",
      "title": "test function",
      "topics": [
        "timecheck"
      ]
    },
    {
      "page": "twosample_power",
      "title": "Power estimation for two-sample methods",
      "topics": [
        "twosample_power"
      ]
    },
    {
      "page": "twosample_test",
      "title": "Tests for the univariate two-sample problem",
      "topics": [
        "twosample_test"
      ]
    },
    {
      "page": "twosample_test_adjusted_pvalue",
      "title": "Adjusted p values for simultaneous testing in the two-sample problem.",
      "topics": [
        "twosample_test_adjusted_pvalue"
      ]
    }
  ],
  "_rundeps": [
    "base64enc",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "digest",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "htmltools",
    "httpuv",
    "isoband",
    "jquerylib",
    "jsonlite",
    "labeling",
    "later",
    "lifecycle",
    "magrittr",
    "memoise",
    "microbenchmark",
    "mime",
    "otel",
    "promises",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "sass",
    "scales",
    "shiny",
    "sourcetools",
    "vctrs",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_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"
    }
  ],
  "_vignettes": [
    {
      "source": "R2sample.Rmd",
      "filename": "R2sample.html",
      "title": "R2sample",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Example 1",
        "New Tests",
        "Arguments and output of new test routine for continuous data",
        "Example 2",
        "New Test",
        "Arguments and output of new test routine for discrete data",
        "Permutation Method",
        "Parametric Bootstrap",
        "Example 3",
        "The Testing Methods",
        "The Arguments of twosample_test",
        "The Output of twosample_test",
        "shiny app",
        "twosample_power and plot_power",
        "Example 4",
        "The Arguments of twosample_power",
        "Example 5",
        "Example 6",
        "Adjusted p values for Several Tests",
        "Case Studies",
        "References"
      ],
      "created": "2022-10-12 13:42:48",
      "modified": "2026-09-06 17:09:00",
      "commits": 9
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "r2sample",
  "_universes": [
    "wolfgangrolke"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "5.0.0",
      "date": "2026-10-06T12:33:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/cf45ec64a19a2b0c9f707a1d5fd96615948fe5886e245bb11886b371778a7e36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "5.0.0",
      "date": "2026-10-06T12:34:21.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/e1d741311c198ed974fb251726c29547a43853b4ff6df9a849de041877035bc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "5.0.0",
      "date": "2026-10-06T12:33:59.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/3939e4d406f726be73a6bd6e96e54f217a86529dfcef46c6ba3b0ff6ee004d97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "5.0.0",
      "date": "2026-10-06T12:34:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/87fb4b7dbf1e28fdf3fa78d138c64c585f36806b1e1d93046d2b4dc71b5e6477",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "5.0.0",
      "date": "2026-10-06T12:34:47.000Z",
      "arch": "aarch64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/22698770454d5a39620037d2de685e5ba11c585aabab5bc90185b3c044632a37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "5.0.0",
      "date": "2026-10-06T12:36:05.000Z",
      "arch": "x86_64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/4fa2779472fc12fea5f5dd0e69359531c4ec54ecfb3c4a115aa003fe0023817c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "5.0.0",
      "date": "2026-10-06T12:34:39.000Z",
      "arch": "aarch64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/988bc009cd3346241fb71c254da716f575905f11e0a533680cc6b819fdf8bd32",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "5.0.0",
      "date": "2026-10-06T12:35:00.000Z",
      "arch": "x86_64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/0c78ee65e713b194c3d23607ea03863eadcd4af95bd56d5f8151810308c934cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "5.0.0",
      "date": "2026-10-06T12:34:07.000Z",
      "arch": "emscripten",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/ea0ccf4ae7e50c8c7e1843f620fbe6fb0104c6a668666a75f57b4fbfe449ae86",
      "status": "success",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "5.0.0",
      "date": "2026-10-06T12:37:14.000Z",
      "arch": "aarch64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/f63321c6b1d0025239861448e2fd755a31baff92e4ab677148acaf5f24b4f3f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "5.0.0",
      "date": "2026-10-06T12:33:14.000Z",
      "arch": "x86_64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/8903b7f44aac8e160cbc7ba9f3147091a3be1f6af54e5ca23ba06264cdab7bbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "5.0.0",
      "date": "2026-10-06T12:33:15.000Z",
      "arch": "x86_64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/e5be01ff214b17c44914c864a59aa47c54127e523c3f49b8cc209cc8ff791f57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "5.0.0",
      "date": "2026-10-06T12:36:53.000Z",
      "arch": "aarch64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/aa38fa3a6bb65f26f4a3b7a2f9d47311cf4794edec4a6b2a792f71a85bb7aaff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "5.0.0",
      "date": "2026-10-06T12:33:24.000Z",
      "arch": "x86_64",
      "commit": "3097f16a9cab931f67fadae6b7198343c602c035",
      "fileid": "https://r2.ropensci.org/b07a9a7d0a71841a551e6f291d4f460339ab7d613992a0aec105ed72b6359bad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/wolfgangrolke/actions/runs/37463363832"
    }
  ]
}