{
  "_id": "6ae480ec3d0f299392dd3307",
  "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",
  "Repository": "https://pabrvss.r-universe.dev",
  "Date/Publication": "2026-10-30 08:11:38 UTC",
  "RemoteUrl": "https://github.com/pabrvss/multinomfourier",
  "RemoteRef": "HEAD",
  "RemoteSha": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-30 11:28:35 UTC",
    "User": "root"
  },
  "_user": "pabrvss",
  "_type": "src",
  "_file": "MultinomFourier_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7b70041619fe75b72bf9b8447937a0fdd71a27b58f3c5ce734ce23f1c5c28e02",
  "_filesize": 519413,
  "_sha256": "7b70041619fe75b72bf9b8447937a0fdd71a27b58f3c5ce734ce23f1c5c28e02",
  "_expires": "2027-02-07T11:35:07.000Z",
  "_created": "2026-10-30T11:28:35.000Z",
  "_published": "2026-10-30T11:35:08.809Z",
  "_upstream": "https://github.com/pabrvss/multinomfourier",
  "_status": "success",
  "_maintainer": {
    "name": "Pablo Rivas",
    "email": "pablo.rivas.g@ug.uchile.cl",
    "login": "pabrvss",
    "description": "",
    "uuid": 163957575
  },
  "_jobs": [
    {
      "job": 124038072978,
      "time": 88,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12973706318"
    },
    {
      "job": 124038072865,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12973955879"
    },
    {
      "job": 124038072896,
      "time": 77,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12973925929"
    },
    {
      "job": 124038072868,
      "time": 95,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12973616484"
    },
    {
      "job": 124038072911,
      "time": 193,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12973318145"
    },
    {
      "job": 124038072839,
      "time": 311,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12973722184"
    },
    {
      "job": 124038072869,
      "time": 152,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12974085630"
    },
    {
      "job": 124038072908,
      "time": 347,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12973427510"
    },
    {
      "job": 124036805837,
      "time": 191,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12973890639"
    },
    {
      "job": 124038072912,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12972769741"
    },
    {
      "job": 124038072987,
      "time": 285,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 124038072917,
      "time": 139,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12973318076"
    },
    {
      "job": 124038072984,
      "time": 104,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12974285061"
    },
    {
      "job": 124038072892,
      "time": 282,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 124038073012,
      "time": 90,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12974120144"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719",
  "_commit": {
    "id": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
    "author": "PabRvss <pablo.rivas.g@ug.uchile.cl>",
    "committer": "PabRvss <pablo.rivas.g@ug.uchile.cl>",
    "message": "Anade valor del estadistico observado (stat_value/S0), mejora print() y actualiza documentacion\n",
    "time": 1793347898
  },
  "_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": "pabrvss",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-36",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 3
    },
    {
      "week": "2026-39",
      "n": 10
    },
    {
      "week": "2026-40",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 2
    },
    {
      "week": "2026-42",
      "n": 6
    },
    {
      "week": "2026-43",
      "n": 4
    },
    {
      "week": "2026-44",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "pabrvss",
      "count": 22,
      "uuid": 163957575
    },
    {
      "user": "charlesthraves",
      "count": 4,
      "uuid": 65579233
    }
  ],
  "_userbio": {
    "uuid": 163957575,
    "type": "user",
    "name": "Pablo Andrés Rivas González",
    "followers": 2
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MultinomFourier"
  },
  "_devurl": "https://github.com/pabrvss/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"
  ],
  "_homeurl": "https://github.com/pabrvss/multinomfourier",
  "_realowner": "pabrvss",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2026-10-29"
    }
  ],
  "_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/pabrvss/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-09-21 06:02:35",
      "modified": "2026-10-13 23:03:05",
      "commits": 7
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "multinomfourier",
  "_universes": [
    "pabrvss"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-30T11:30:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/152f9e63f0cf3034faf1fb5965a1fdc6c76e17d22c9aa1bfaf0c98becc7949a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-30T11:30:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/952b4f2e6eafada8ad73586c60518276ced80927006009b4d62a54daffa5a369",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-30T11:30:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/dd6a66650e6feff04b31b4d0c39ff0a9ef062430222c34e93e6c0bb1f6451670",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-30T11:30:23.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/f76040e268cebb5860b8f30bd98ef97399e3b043f860bd29946f8e0a0bf0764c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-30T11:31:28.000Z",
      "arch": "aarch64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/1f9c64c5f664abe8cfeae3cfd9400fbe9ebd8989a899f09b578bceed1c5fc7d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-30T11:32:55.000Z",
      "arch": "x86_64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/32b855889e3a2d2bb87eadde3b4da3029a5b03c2cd2f89af43fcde6985cb7efb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-30T11:30:44.000Z",
      "arch": "aarch64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/f857cbd00f5beb5dbd107200804a080257f291c4f8decaed5dbd44e38223ced6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-30T11:32:42.000Z",
      "arch": "x86_64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/c270dca6b2327c112fae880df9be5e2a6b5c5866d01c0d70a9267800f6edf00f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-10-30T11:30:17.000Z",
      "arch": "emscripten",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/3f91871ca8f73ad1a7a22d181036fe504ba37ed27944d9931dcce26c358a4feb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-30T11:29:51.000Z",
      "arch": "x86_64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/6c47a40842673edda9d69ab360762125251a2cd013cded0ce79a585dec5f2173",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-30T11:29:46.000Z",
      "arch": "x86_64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/00aba067c50c1afe118b841498ab5548e7918231aef36f4684e5f51733bef3e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-30T11:29:48.000Z",
      "arch": "x86_64",
      "commit": "7534812006cf08d63a6df6c7e33bb9befbd0bdec",
      "fileid": "https://r2.ropensci.org/cc9b87ad3ac75d22e31cb3f05f40d04661f89aee3191a1bea180a62142fb4de9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pabrvss/actions/runs/41047974719"
    }
  ]
}