{"id":13423415,"url":"https://github.com/spatstat/s2","last_synced_at":"2026-01-05T09:08:43.334Z","repository":{"id":79143832,"uuid":"63693354","full_name":"spatstat/s2","owner":"spatstat","description":"R bindings for Google's s2 library for geometry on the sphere","archived":false,"fork":false,"pushed_at":"2019-08-16T06:56:03.000Z","size":3466,"stargazers_count":30,"open_issues_count":0,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-26T23:10:47.546Z","etag":null,"topics":["geometry","spatial-data","sphere"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spatstat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-07-19T12:48:39.000Z","updated_at":"2024-01-24T11:08:17.000Z","dependencies_parsed_at":"2023-05-23T21:00:18.536Z","dependency_job_id":null,"html_url":"https://github.com/spatstat/s2","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatstat%2Fs2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatstat%2Fs2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatstat%2Fs2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatstat%2Fs2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatstat","download_url":"https://codeload.github.com/spatstat/s2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243766849,"owners_count":20344824,"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","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":["geometry","spatial-data","sphere"],"created_at":"2024-07-31T00:00:34.035Z","updated_at":"2026-01-05T09:08:43.304Z","avatar_url":"https://github.com/spatstat.png","language":"C","funding_links":[],"categories":["C","Geospatial Library","R"],"sub_categories":["R"],"readme":"# s2: R bindings for Google's s2 library for geometry on the sphere\n\n[![Build Status](https://travis-ci.org/spatstat/s2.svg?branch=master)](https://travis-ci.org/spatstat/s2)\n[![Build status](https://ci.appveyor.com/api/projects/status/nxau3cf77m2ll5mv?svg=true)](https://ci.appveyor.com/project/rubak/s2)\n\nThe package (`master` branch) currently passes `R CMD check` without any errors and warnings on Linux, OSX and Windows.\nOnly a minor subset of the C++ library is wrapped at the moment.\nSimple R data structures such as plain matrices and lists are used.\nThe API is not stable and changes should be expected.\n\nThe core C++ code is in `src/geometry`. This code is a slightly modified copy of the corresponding directory in [this repo](https://github.com/micolous/s2-geometry-library). (The subdirectories `python` and `test` are removed since they aren't needed by the R package.) The modifications to the original code are minor edits to satisfy the R package checker, and no new functionality is introduced at the C++ level.\n\nThe original source code was compiled into several shared objects with cmake, but we simply build everything into one shared object using the R standard file `Makevars.in` (`Makevars.win` on Windows) together with a configure script. This decision was based on advice given by Dirk Eddelbuettel to the [RcppCAF package](https://github.com/grantbrown/RcppCAF) at [stackoverflow](http://stackoverflow.com/q/31750582/3341769).\nThe configure script checks for the system requirement `openssl` and is based on the configure script by Jeroen Ooms in the [openssl R package](https://github.com/jeroenooms/openssl).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatstat%2Fs2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspatstat%2Fs2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatstat%2Fs2/lists"}