pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/R-osmdata



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Jun 15 21:58:01 UTC 2026

Modified Files:
        pkgsrc/geography/R-osmdata: Makefile distinfo

Log Message:
(geography/R-osmdata) Updated 0.2.5 to 0.3.0, fix build against R 4.6.0

# osmdata 0.3.0

## Breaking changes

- Remove `magrittr` from imports. User code relaying on reexported pipe `%>%`
  from `osmdata` must explicitly load it with `library(magrittr)`.
  Code examples, tests and vignettes now use the pipe from base (`|>`) available since R 4.1 (#361)
- `getbb(..., format_out = "polygon")` return polygons following [https://www.ogc.org/standards/sfa/].
  Polygons are defined by a list of matrices of coordinates. The first ring defines the exterior boundary, and the following rings define holes if present.
  Also fix `getbb(..., format_out = "sf_polygon")` returning each (multi)polygon as a row in an `sf` object.
  Before, every ring was an independent polygon, even for holes or multipolygons,
  and for `format_out = "sf_polygon"`, the features were split in a list with polygons in one item and multipolygons in another (#378).

## Major changes

- Implemented `c.osmdata_sc` method to join `osmdata_sc` objects (#333)
- Depends on R >= 4.1 to use the base pipe (`|>`) in examples and vignettes (#371)
- Deprecate `nodes_only` argument in `opq()`. Superseded by argument `osm_types` (#370)
- Deprecate `osmdata_sp` (#372)
- Pre-prend class names `osmdata_sf` and `osmdata` rather than append; thanks to @agila5 (#373)
- Add `osmadata_data.frame` class to `osmdata_data_frame()` results (#378)
- Reimplement `trim_osmdata()` using `sf` instead of `sp`. Now, it checks the full geometry instead of just the points
  to determine if an object is properly contained in the bbox (only for `osmdata_sf` objects, `osdmata_sc` still wrong) (#382).

## Minor changes

- Improved `get_bb(..., format_out = "sf_polygon")` to return full metadata
  along with geometries (#338 thanks to @RegularnaMatrica)
- Mention key-only feature requests in README (#342 thanks to @joostschouppe)
- Merge any columns in `osmdata_sf()` with mixed-case duplicated names (#348)
- Set encoding to UTF-8 for tags and user names (#347)
- Document the use of the input query as character strings for `osmdata_*()` (#349)
- Consistent `NA` values throughout all multi-* matrices returned by `osmdata_sf()` (#355)
- Fix dates and remove `lubridate` from imports (#360)
- Restructure class definitions of `osmdata_sf()` and `osmdata_sc()` objects (#373, #374)
- Revert added `osmdata` class to `osmdata_data_frame()` and `osmdata_sc()` +
  Fix docs to better represent classes accepted by `trim_osmdata()`, `osm_poly2line()` and extract function (#380)
- Use `terra` functions instead of `raster` (obsolete) in `osm_elevation()` (#383)
- Joan Maspons is the new mantainer (#384).


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/geography/R-osmdata/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/geography/R-osmdata/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/R-osmdata/Makefile
diff -u pkgsrc/geography/R-osmdata/Makefile:1.3 pkgsrc/geography/R-osmdata/Makefile:1.4
--- pkgsrc/geography/R-osmdata/Makefile:1.3     Fri Nov 29 15:31:15 2024
+++ pkgsrc/geography/R-osmdata/Makefile Mon Jun 15 21:58:01 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2024/11/29 15:31:15 mef Exp $
+# $NetBSD: Makefile,v 1.4 2026/06/15 21:58:01 mef Exp $
 
 R_PKGNAME=     osmdata
-R_PKGVER=      0.2.5
+R_PKGVER=      0.3.0
 CATEGORIES=    geography
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -34,6 +34,13 @@ TEST_DEPENDS+=       R-testthat-[0-9]*:../../d
 
 USE_LANGUAGES= c c++
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != SunOS && ${OPSYS} != Linux
+pre-configure:
+       ${CP}  ${FILESDIR}/Makevars  ${WRKSRC}/src
+.endif
+
 .include "../../math/R/Makefile.extension"
 .include "../../devel/R-Rcpp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/geography/R-osmdata/distinfo
diff -u pkgsrc/geography/R-osmdata/distinfo:1.5 pkgsrc/geography/R-osmdata/distinfo:1.6
--- pkgsrc/geography/R-osmdata/distinfo:1.5     Fri Nov 29 15:31:15 2024
+++ pkgsrc/geography/R-osmdata/distinfo Mon Jun 15 21:58:01 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.5 2024/11/29 15:31:15 mef Exp $
+$NetBSD: distinfo,v 1.6 2026/06/15 21:58:01 mef Exp $
 
-BLAKE2s (R/osmdata_0.2.5.tar.gz) = d8cb652863083616604f8774eef14f910daf99cdb97a6bc3564849d19151e219
-SHA512 (R/osmdata_0.2.5.tar.gz) = c6cbe85f5f0e0e559cc12687b6fb50864f3c942ceef1556fa33df88fbe55f1847610dc98a93dfab6264ff9432dc68d352320bb5ca8256f9407b8aad61687f6ab
-Size (R/osmdata_0.2.5.tar.gz) = 2530898 bytes
+BLAKE2s (R/osmdata_0.3.0.tar.gz) = 700aae4026885658936c3097e99603dd877ce18ec26ae0f2f76e7c7f5394e7e4
+SHA512 (R/osmdata_0.3.0.tar.gz) = f0f1e4908b445988d89dfdc31afc1bc4548d7c3bd2e5714f9cf52af6c0ef8f65c237acd5ca9a622fea5e92d6f61084f509ed1f9cd64abeebdaae0784fb6acf6d
+Size (R/osmdata_0.3.0.tar.gz) = 2353838 bytes



Home | Main Index | Thread Index | Old Index