- Fixed errors that resulted from compilation on clang 12.2 (#88, #89).
- Fixed CRAN check errors (#80).
- Added layer creation options to
s2_options(), which now uses strings rather than numeric codes to specify boolean operation options, geography construction options, and builder options (#70).
s2_simplify(), which wrap the S2 C++
S2Builder class to provide simplification and fixing of invalid geographies (#70).
- The s2 package now builds and passes the CMD check on Solaris (#66, #67).
s2_lnglat() to keep axis order consistent throughout the package (#69).
s2_bounds_rect() to compute bounding areas using geographic coordinates (@edzer, #63).
s2_*_matrix() predicates now efficiently use indexing to compute the results of many predicate comparisons (#61).
This version is a complete rewrite of the former s2 CRAN package, entirely backwards incompatible with previous versions.