{"id":13423635,"url":"https://github.com/baddstats/polyclip","last_synced_at":"2025-10-22T06:23:53.873Z","repository":{"id":86163565,"uuid":"54755473","full_name":"baddstats/polyclip","owner":"baddstats","description":"R package polyclip: a port of the Clipper library for polygon geometry ","archived":false,"fork":false,"pushed_at":"2024-07-22T23:49:59.000Z","size":194,"stargazers_count":19,"open_issues_count":6,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T18:13:49.966Z","etag":null,"topics":["64-bit","clipper","computational-geometry","cran","minkowski-sum","polygon-clipping-algorithm","polygon-intersection","polygon-offsetting","polygon-union","polygons","r"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baddstats.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-26T00:45:44.000Z","updated_at":"2024-07-22T23:50:03.000Z","dependencies_parsed_at":"2024-12-24T14:34:39.011Z","dependency_job_id":"1003dd71-d7f7-4de2-93ac-43b6b96bbf9f","html_url":"https://github.com/baddstats/polyclip","commit_stats":{"total_commits":59,"total_committers":7,"mean_commits":8.428571428571429,"dds":0.5932203389830508,"last_synced_commit":"620dd685d2f71571b7500d3d7a94751e29c737f6"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/baddstats/polyclip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baddstats%2Fpolyclip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baddstats%2Fpolyclip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baddstats%2Fpolyclip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baddstats%2Fpolyclip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baddstats","download_url":"https://codeload.github.com/baddstats/polyclip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baddstats%2Fpolyclip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280391419,"owners_count":26322919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["64-bit","clipper","computational-geometry","cran","minkowski-sum","polygon-clipping-algorithm","polygon-intersection","polygon-offsetting","polygon-union","polygons","r"],"created_at":"2024-07-31T00:00:39.398Z","updated_at":"2025-10-22T06:23:53.840Z","avatar_url":"https://github.com/baddstats.png","language":"C++","readme":"polyclip\n========\n\n[![Travis-CI Build Status](https://travis-ci.org/baddstats/polyclip.png?branch=master)](https://travis-ci.org/baddstats/polyclip)\n[![codecov.io](https://codecov.io/github/baddstats/polyclip/coverage.svg?branch=master)](https://codecov.io/github/baddstats/polyclip?branch=master)\n[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/polyclip)](http://cran.r-project.org/web/packages/polyclip)\n[![Research software impact](http://depsy.org/api/package/cran/polyclip/badge.svg)](http://depsy.org/package/r/polyclip)\n\nThis repository holds the contributed R-package `polyclip`, which is\nan R port of Angus Johnson's library \n[Clipper](http://angusj.com/delphi/clipper.php) for polygon clipping.\n\n## Version of Clipper Library\n\nThis version of `polyclip` is derived from Clipper1, the original version of\nthe Clipper C++ library, version `6.4.0 [r496]` which was obtained from the\n[Sourceforge repository](https://sourceforge.net/projects/polyclipping)\n(click `Code` then `Download snapshot`).\nMinor changes have been made to the C++ code to satisfy the\nrequirements for R packages (namely, data type declarations must be portable,\nand error messages must go through R's error handler). \n\n**Note:** If your system already includes the `polyclipping` library\n(another derivative of `clipper`)\nthen **that version of the library will be used**.\nThat is, the R package `polyclip` will be compiled against\nthe executable library `polyclipping` on your system,\nrather than using the bundled source code of `clipper 6.4.0`\nthat comes with the `polyclip` sources.\n\n## Installation\n\nThe current official release of `polyclip` is available\non [CRAN](http://cran.r-project.org/web/packages/polyclip)\nand can be downloaded and installed automatically\nusing the R command `install.packages`. \n\nThe code in this repository is the development version,\nwhich may be newer than the official release.\nThe easiest way to install the development version of `polyclip` \nfrom github is through the `remotes` package:\n\n```R\nrequire(remotes)\ninstall_github('baddstats/polyclip')\n```\n\nIf you don't have `remotes` installed you should first run\n\n```R\ninstall.packages('remotes')\n```\n\n## Trouble installing?\n\nWhen trying to install `polyclip`, some users get an error message\nlike the following:\n```R\n    configure: error: in /tmp/Rtmp7967a6f2/polyclip:\n    configure: error: C++ compiler cannot create executables\n    See config.log for more details\n    ERROR: configuration failed for package 'polyclip'\n```\nThis is a problem with file permissions on your system.\nIf this happens to you, the simplest solution is:\n```R\n    wget https://cran.r-project.org/src/contrib/polyclip_1.10-7.tar.gz\n    tar -zxvf polyclip_1.10-7.tar.gz\n    Rscript -e \"library('devtools'); devtools::install('polyclip')\"\n```\n\n## Bug reports \n\nUsers of `polyclip` are encouraged to report bugs here \n(go to *issues* in the menu above, \nand press *new issue* to start a new bug report\nor feature request).\n\n## Making your own changes\n\nFeel free to fork `polyclip`, make changes to the code,\nand ask us to include them in the package by making a github *pull request*. \n\n","funding_links":[],"categories":["C++","R"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaddstats%2Fpolyclip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaddstats%2Fpolyclip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaddstats%2Fpolyclip/lists"}