{
  "_id": "6ae37f6895ca2370cc8ce76b",
  "Package": "MultinomFourier",
  "Type": "Package",
  "Title": "p-Values of Multinomial Goodness-of-Fit Tests by Fourier Series\nInversion",
  "Version": "1.0",
  "Authors@R": "c(person(\"Charles\", \"Thraves\", role = \"aut\"),\nperson(\"Pablo\", \"Rivas\", role = c(\"aut\", \"cre\"), email = \"pablo.rivas.g@ug.uchile.cl\"),\nperson(\"Felipe\", \"Subiabre\", role = \"aut\"))",
  "Author": "Charles Thraves [aut], Pablo Rivas [aut, cre], Felipe Subiabre\n[aut]",
  "Maintainer": "Pablo Rivas <pablo.rivas.g@ug.uchile.cl>",
  "Description": "Computes p-values of multinomial goodness-of-fit tests\nbased on an additive statistic: the log-likelihood ratio,\nPearson's chi-squared, the Cressie-Read power divergence, and\nthe exact multinomial test. The main function, pval_fourier(),\nwrites the p-value as a Fourier series in the moment-generating\nfunction of the statistic and sums it until an adaptive\nstopping rule is met, which makes small p-values of large\ninstances computationally feasible. The function pval_exact()\ncomputes the exact p-value by branch pruning with bounds from a\ndynamic program, and pval_flexible() chooses between the two\naccording to the size of the instance.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.1.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 17:12:37 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-29 16:16:14 UTC",
  "RemoteUrl": "https://github.com/cran/MultinomFourier",
  "RemoteRef": "HEAD",
  "RemoteSha": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
  "_user": "cran",
  "_type": "src",
  "_file": "MultinomFourier_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/4def79046482f4d38b32839460be39ad031abbcec7a6ea41f668802a3d286f62",
  "_filesize": 515333,
  "_sha256": "4def79046482f4d38b32839460be39ad031abbcec7a6ea41f668802a3d286f62",
  "_expires": "2027-02-06T17:16:22.000Z",
  "_created": "2026-10-29T17:12:37.000Z",
  "_published": "2026-10-29T17:16:24.174Z",
  "_upstream": "https://github.com/cran/MultinomFourier",
  "_status": "success",
  "_maintainer": {
    "name": "Pablo Rivas",
    "email": "pablo.rivas.g@ug.uchile.cl",
    "login": "pabrvss",
    "description": "",
    "uuid": 163957575
  },
  "_jobs": [
    {
      "job": 123607421250,
      "time": 85,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12916673466"
    },
    {
      "job": 123607420877,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12916564494"
    },
    {
      "job": 123607420965,
      "time": 79,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12917452004"
    },
    {
      "job": 123607421362,
      "time": 105,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12915914791"
    },
    {
      "job": 123605480042,
      "time": 201,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12916574250"
    },
    {
      "job": 123607420960,
      "time": 82,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12917732049"
    },
    {
      "job": 123607421290,
      "time": 173,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 123607420811,
      "time": 104,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12916194187"
    },
    {
      "job": 123607420832,
      "time": 185,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 123607420798,
      "time": 95,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12916288842"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40918570595",
  "_commit": {
    "id": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
    "author": "Pablo Rivas <pablo.rivas.g@ug.uchile.cl>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0\n",
    "time": 1793290574
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0",
      "date": "2026-10-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pabrvss",
      "count": 1,
      "uuid": 163957575
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MultinomFourier"
  },
  "_searchresults": 4,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MultinomFourier.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_cranurl": false,
  "_exports": [
    "pval_exact",
    "pval_exhaustive",
    "pval_flexible",
    "pval_fourier"
  ],
  "_help": [
    {
      "page": "MultinomFourier-package",
      "title": "MultinomFourier: p-values of multinomial goodness-of-fit tests",
      "topics": [
        "MultinomFourier-package",
        "MultinomFourier"
      ]
    },
    {
      "page": "print.multinomfourier",
      "title": "Print method for multinomfourier objects",
      "topics": [
        "print.multinomfourier"
      ]
    },
    {
      "page": "pval_exact",
      "title": "Exact multinomial test p-value",
      "topics": [
        "pval_exact",
        "pval_exhaustive"
      ]
    },
    {
      "page": "pval_flexible",
      "title": "Multinomial test p-value, choosing the method automatically",
      "topics": [
        "pval_flexible"
      ]
    },
    {
      "page": "pval_fourier",
      "title": "Multinomial test p-value by Fourier series inversion",
      "topics": [
        "pval_fourier"
      ]
    }
  ],
  "_readme": "https://github.com/cran/MultinomFourier/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "polling_tables_multfourier.Rmd",
      "filename": "polling_tables_multfourier.html",
      "title": "Detecting Unusual Polling-Station Results with MultinomFourier",
      "author": "Charles Thraves, Pablo Rivas, Felipe Subiabre",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Motivation",
        "Data",
        "Visual Inspection",
        "Leave-One-Out Reference Distribution",
        "[\\widehat p_k^",
        "Detailed Analysis of Station 278",
        "Fourier inversion: pval_fourier()",
        "Exact computation: pval_exact()",
        "Automatic choice: pval_flexible()",
        "Screening All Polling Stations",
        "Comparing Multinomial Test Statistics",
        "Methodological Scope and Limitations",
        "Summary"
      ],
      "created": "2026-10-29 16:16:14",
      "modified": "2026-10-29 16:16:14",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "multinomfourier",
  "_universes": [
    "cran",
    "pabrvss"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-29T17:14:14.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
      "fileid": "https://r2.ropensci.org/efbfb776442bd72229596fd21711887fdd248664f23e5a768d8cadc50ac1ec6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40918570595"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-29T17:14:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
      "fileid": "https://r2.ropensci.org/7b5b3b05f0aa456dea90e2b1df35e57d8cf660c81fcc6abd3ed96288f1b524c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40918570595"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-29T17:14:11.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
      "fileid": "https://r2.ropensci.org/9ed32c9ac96a71b3a1bc91399d1489fe9dcc730e171aca76176af329583a4405",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40918570595"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-29T17:14:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
      "fileid": "https://r2.ropensci.org/1080d5753e7a95adcd51416e1dff5ea8547e2c0313d4aa5bbe9f8bb15beab3b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40918570595"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-10-29T17:14:19.000Z",
      "arch": "emscripten",
      "commit": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
      "fileid": "https://r2.ropensci.org/92e541f689480333603b0dc410dc22a40787f215f958253456d25e16f50f787a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40918570595"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-29T17:13:48.000Z",
      "arch": "x86_64",
      "commit": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
      "fileid": "https://r2.ropensci.org/32504ffe88cde7c03fd58c088d8168b7f68c3d4e7e9760a95c0e23e1cf96b4f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40918570595"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-29T17:14:01.000Z",
      "arch": "x86_64",
      "commit": "7062b8b75fccabf66034323753b1d5e52adcd4d1",
      "fileid": "https://r2.ropensci.org/0af2c58eafe69a00efc9abf187ad14af571512a5577546d6e04f750262e5a71b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40918570595"
    }
  ]
}