{
  "_id": "6a12a761acfb0bcc41d149a3",
  "Package": "polyCub",
  "Title": "Cubature over Polygonal Domains",
  "Version": "0.9.4",
  "Date": "2026-04-24",
  "Authors@R": "c(\nperson(\"Sebastian\", \"Meyer\",\nemail = \"seb.meyer@fau.de\",\nrole = c(\"aut\",\"cre\",\"trl\"),\ncomment = c(ORCID = \"0000-0002-1791-9449\")),\nperson(\"Leonhard\", \"Held\", role = \"ths\"),\nperson(\"Michael\", \"Hoehle\", role = \"ths\")\n)",
  "Description": "Numerical integration of continuously differentiable\nfunctions f(x,y) over simple closed polygonal domains. The\nfollowing cubature methods are implemented: product Gauss\ncubature (Sommariva and Vianello, 2007,\n<doi:10.1007/s10543-007-0131-2>), the simple two-dimensional\nmidpoint rule (wrapping 'spatstat.geom' functions), and\nadaptive cubature for radially symmetric functions via line\nintegrate() along the polygon boundary (Meyer and Held, 2014,\n<doi:10.1214/14-AOAS743>, Supplement B). For simple integration\nalong the axes, the 'cubature' package is more appropriate.",
  "License": "GPL-2",
  "URL": "https://github.com/bastistician/polyCub",
  "BugReports": "https://github.com/bastistician/polyCub/issues",
  "Note": "Building the package requires R >= 4.6.0 for \\bibshow{} et al.",
  "VignetteBuilder": "litedown",
  "Roxygen": "list(old_usage = TRUE)",
  "RoxygenNote": "7.3.3",
  "Repository": "https://bastistician.r-universe.dev",
  "Date/Publication": "2026-04-24 09:04:53 UTC",
  "RemoteUrl": "https://github.com/bastistician/polycub",
  "RemoteRef": "HEAD",
  "RemoteSha": "de18699f6897e4e99365d9af11985c6b0c55d704",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-24 07:13:15 UTC",
    "User": "root"
  },
  "Author": "Sebastian Meyer [aut, cre, trl] (ORCID:\n<https://orcid.org/0000-0002-1791-9449>),\nLeonhard Held [ths],\nMichael Hoehle [ths]",
  "Maintainer": "Sebastian Meyer <seb.meyer@fau.de>",
  "MD5sum": "5f844cb646946fd475f4add01d8ff3c9",
  "_user": "bastistician",
  "_type": "src",
  "_file": "polyCub_0.9.4.tar.gz",
  "_fileid": "645cf169d1d5e49dc5d9fde02f898a4963d9c57eff9fa962b0551758c0a7434e",
  "_filesize": 377170,
  "_sha256": "645cf169d1d5e49dc5d9fde02f898a4963d9c57eff9fa962b0551758c0a7434e",
  "_created": "2026-05-24T07:13:15.000Z",
  "_published": "2026-05-24T07:23:13.794Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77579652576,
      "time": 120,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183174010"
    },
    {
      "job": 77579652577,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183174449"
    },
    {
      "job": 77579652581,
      "time": 119,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183173987"
    },
    {
      "job": 77579652574,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183173781"
    },
    {
      "job": 77579652594,
      "time": 128,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183222164"
    },
    {
      "job": 77579652579,
      "time": 294,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183225138"
    },
    {
      "job": 77579652586,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183220218"
    },
    {
      "job": 77579652580,
      "time": 303,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183217444"
    },
    {
      "job": 77579462647,
      "time": 203,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183159779"
    },
    {
      "job": 77579652557,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183169906"
    },
    {
      "job": 77579652572,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183171683"
    },
    {
      "job": 77579652573,
      "time": 136,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183176048"
    },
    {
      "job": 77579652587,
      "time": 144,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183177080"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bastistician/polycub",
  "_commit": {
    "id": "de18699f6897e4e99365d9af11985c6b0c55d704",
    "author": "Sebastian Meyer <seb.meyer@fau.de>",
    "committer": "Sebastian Meyer <seb.meyer@fau.de>",
    "message": "prepare for release\n",
    "time": 1777021493
  },
  "_maintainer": {
    "name": "Sebastian Meyer",
    "email": "seb.meyer@fau.de",
    "login": "bastistician",
    "mastodon": "@bastistician@fosstodon.org",
    "description": "statistician and postdoc @ FAU Erlangen, R-core contributor",
    "uuid": 4366501,
    "orcid": "0000-0002-1791-9449"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "sp",
      "version": ">= 1.0-11",
      "role": "Imports"
    },
    {
      "package": "spatstat.geom",
      "role": "Suggests"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "statmod",
      "role": "Suggests"
    },
    {
      "package": "sf",
      "role": "Suggests"
    },
    {
      "package": "cubature",
      "role": "Suggests"
    },
    {
      "package": "litedown",
      "version": ">= 0.9",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    }
  ],
  "_owner": "bastistician",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [
    {
      "week": "2025-26",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 3
    },
    {
      "week": "2026-02",
      "n": 1
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 7
    },
    {
      "week": "2026-16",
      "n": 6
    },
    {
      "week": "2026-17",
      "n": 12
    }
  ],
  "_tags": [
    {
      "name": "v0.9.3",
      "date": "2026-04-10"
    },
    {
      "name": "v0.9.4",
      "date": "2026-04-24"
    }
  ],
  "_topics": [
    "numerical-integration",
    "polygons"
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "bastistician",
      "count": 375,
      "uuid": 4366501
    }
  ],
  "_userbio": {
    "uuid": 4366501,
    "type": "user",
    "name": "Sebastian Meyer",
    "description": "statistician and postdoc @ FAU Erlangen, R-core contributor"
  },
  "_downloads": {
    "count": 1619,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/polyCub"
  },
  "_devurl": "https://github.com/bastistician/polycub",
  "_searchresults": 28,
  "_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/polyCub.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bastistician/polycub",
  "_realowner": "bastistician",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2-0",
      "date": "2013-05-11"
    },
    {
      "version": "0.3-0",
      "date": "2013-07-06"
    },
    {
      "version": "0.3-1",
      "date": "2013-08-22"
    },
    {
      "version": "0.4-0",
      "date": "2013-11-19"
    },
    {
      "version": "0.4-1",
      "date": "2013-12-05"
    },
    {
      "version": "0.4-2",
      "date": "2014-02-12"
    },
    {
      "version": "0.4-3",
      "date": "2014-03-14"
    },
    {
      "version": "0.5-0",
      "date": "2014-05-07"
    },
    {
      "version": "0.5-1",
      "date": "2014-10-24"
    },
    {
      "version": "0.5-2",
      "date": "2015-02-26"
    },
    {
      "version": "0.6.0",
      "date": "2017-05-26"
    },
    {
      "version": "0.6.1",
      "date": "2017-10-02"
    },
    {
      "version": "0.7.0",
      "date": "2018-10-11"
    },
    {
      "version": "0.7.1",
      "date": "2019-02-07"
    },
    {
      "version": "0.8.0",
      "date": "2021-01-27"
    },
    {
      "version": "0.8.1",
      "date": "2022-11-28"
    },
    {
      "version": "0.9.0",
      "date": "2023-10-25"
    },
    {
      "version": "0.9.1",
      "date": "2024-05-21"
    },
    {
      "version": "0.9.2",
      "date": "2025-02-11"
    },
    {
      "version": "0.9.3",
      "date": "2026-04-11"
    },
    {
      "version": "0.9.4",
      "date": "2026-04-24"
    }
  ],
  "_exports": [
    ".polyCub.iso",
    "as.owin.gpc.poly",
    "as.owin.Polygon",
    "as.owin.Polygons",
    "as.owin.SpatialPolygons",
    "checkintrfr",
    "circleCub.Gauss",
    "coerce",
    "gpc2owin",
    "owin2gpc",
    "plotpolyf",
    "polyCub",
    "polyCub.exact.Gauss",
    "polyCub.iso",
    "polyCub.midpoint",
    "polyCub.SV",
    "sfg2gpc",
    "xylist"
  ],
  "_help": [
    {
      "page": "polyCub-package",
      "title": "Cubature over Polygonal Domains",
      "topics": [
        "polyCub-package"
      ]
    },
    {
      "page": "checkintrfr",
      "title": "Check the Integral of r f_r(r)",
      "topics": [
        "checkintrfr"
      ]
    },
    {
      "page": "circleCub.Gauss",
      "title": "Integration of the Isotropic Gaussian Density over Circular Domains",
      "topics": [
        "circleCub.Gauss"
      ]
    },
    {
      "page": "coerce-gpc-methods",
      "title": "Conversion between polygonal '\"owin\"' and '\"gpc.poly\"'",
      "topics": [
        "as.owin.gpc.poly",
        "coerce-gpc-methods",
        "gpc2owin",
        "owin2gpc"
      ]
    },
    {
      "page": "coerce-sp-methods",
      "title": "Coerce '\"SpatialPolygons\"' to '\"owin\"'",
      "topics": [
        "as.owin.Polygon",
        "as.owin.Polygons",
        "as.owin.SpatialPolygons",
        "coerce,Polygon,owin-method",
        "coerce,Polygon,Polygons-method",
        "coerce,Polygons,owin-method",
        "coerce,SpatialPolygons,owin-method",
        "coerce-sp-methods"
      ]
    },
    {
      "page": "plotpolyf",
      "title": "Plot Polygonal Domain on Image of Bivariate Function",
      "topics": [
        "plotpolyf"
      ]
    },
    {
      "page": "polyCub",
      "title": "Wrapper Function for the Various Cubature Methods",
      "concept": [
        "cubature methods"
      ],
      "topics": [
        "polyCub"
      ]
    },
    {
      "page": "polyCub.exact.Gauss",
      "title": "Quasi-Exact Cubature of the Bivariate Normal Density (DEFUNCT)",
      "topics": [
        "polyCub.exact.Gauss"
      ]
    },
    {
      "page": "polyCub.iso",
      "title": "Cubature of Isotropic Functions over Polygonal Domains",
      "concept": [
        "cubature methods"
      ],
      "topics": [
        ".polyCub.iso",
        "polyCub.iso"
      ]
    },
    {
      "page": "polyCub.midpoint",
      "title": "Two-Dimensional Midpoint Rule",
      "concept": [
        "cubature methods"
      ],
      "topics": [
        "polyCub.midpoint"
      ]
    },
    {
      "page": "polyCub.SV",
      "title": "Product Gauss Cubature over Polygonal Domains",
      "concept": [
        "cubature methods"
      ],
      "topics": [
        "polyCub.SV"
      ]
    },
    {
      "page": "sfg2gpc",
      "title": "Convert polygonal '\"sfg\"' to '\"gpc.poly\"'",
      "topics": [
        "sfg2gpc"
      ]
    },
    {
      "page": "xylist",
      "title": "Convert Various Polygon Classes to a Simple List of Vertices",
      "topics": [
        "xylist",
        "xylist.default",
        "xylist.gpc.poly",
        "xylist.owin",
        "xylist.Polygon",
        "xylist.Polygons",
        "xylist.sfg",
        "xylist.SpatialPolygons"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bastistician/polycub/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bastistician/polycub/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "sp"
  ],
  "_vignettes": [
    {
      "source": "polyCub.Rmd",
      "filename": "polyCub.html",
      "title": "Getting started with 'polyCub'",
      "author": "Sebastian Meyer",
      "engine": "litedown::vignette",
      "headings": [
        "Polygon representations",
        "Cubature methods",
        "Illustrations",
        "1. Product Gauss cubature: polyCub.SV()",
        "2. Two-dimensional midpoint rule: polyCub.midpoint()",
        "3. Adaptive cubature for isotropic functions: polyCub.iso()",
        "4. Integration of the bivariate Gaussian density: polyCub.exact.Gauss()",
        "Benchmark"
      ],
      "created": "2019-01-24 10:07:57",
      "modified": "2026-04-23 19:06:51",
      "commits": 28
    }
  ],
  "_score": 7.37656418350155,
  "_indexed": true,
  "_nocasepkg": "polycub",
  "_universes": [
    "bastistician"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.4",
      "date": "2026-05-24T07:15:15.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "66744024d1ca5e39378e1f92560612ad3eae39b2711ecf6cd3d672326a1235b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.4",
      "date": "2026-05-24T07:15:16.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "d8621fadce896ff67e14a59c3bce208cf286d68f7a0f8cc23ad85234337f3e93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.4",
      "date": "2026-05-24T07:15:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "fe54e9c45a8dc7c5595a3832c33161164653b90a38dae0cc0c4ea2ab75bd763c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.9.4",
      "date": "2026-05-24T07:15:12.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "a23c9467b0546ee20ab6bfa145a4ad6ec5e61ae9c4e4bb8b5b77e5645853f0ff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.4",
      "date": "2026-05-24T07:21:58.000Z",
      "arch": "aarch64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "16a7baa936237e84435f8b7fc7eb0b0fdd637423ecd9df694ae961892069d7ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.4",
      "date": "2026-05-24T07:22:13.000Z",
      "arch": "x86_64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "22e80f31217889662a625aaf0c8242b0bd3496eae8291598c207fb4489f7fe3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.4",
      "date": "2026-05-24T07:21:37.000Z",
      "arch": "aarch64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "550554c30672fcbb71529ac63357c491efb2b237e3351b47e94968e76ec76411",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.9.4",
      "date": "2026-05-24T07:20:44.000Z",
      "arch": "x86_64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "ccb177d0a6f883c26f10f6a0a7502885563ff9499d5df0acee7fc800163523dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.4",
      "date": "2026-05-24T07:15:00.000Z",
      "arch": "emscripten",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "5397bcbc8054fdb7624ff8260684485f0a0877a56a3629cfa4513093489cdc46",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.4",
      "date": "2026-05-24T07:14:44.000Z",
      "arch": "x86_64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "473b24d5b7f587951b1711089b156403a2738deb0ce5b7d50c0a5ca0076d77ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.4",
      "date": "2026-05-24T07:14:50.000Z",
      "arch": "x86_64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "cfdad28f15a96500da705eddf3f99b245f9cd882aa12340b011832cb5bc0c081",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.9.4",
      "date": "2026-05-24T07:15:30.000Z",
      "arch": "x86_64",
      "commit": "de18699f6897e4e99365d9af11985c6b0c55d704",
      "fileid": "441b34936b214215381c7d01931b57c33271d161da9186e187e86ec681b3ac63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bastistician/actions/runs/26354793550"
    }
  ]
}