pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/geography/R-sf
Module Name: pkgsrc
Committed By: mef
Date: Wed Nov 27 23:26:16 UTC 2024
Modified Files:
pkgsrc/geography/R-sf: Makefile distinfo
Log Message:
(geography/R-sf) 1.0.13 to 1.0.19
# version 1.0-19
* fix type checks in C++ GDAL area and length computation functions,
anticipating GDAL 3.10.0; #2466, #2468, #2469 by @rsbivand and
@rouault
* improve test on empty geometries, which changed in 1.0-18; #2463
* `gdal_utils()` `ogrinfo` has an argument `read_only` which, when
`TRUE` (or `options` includes `"-ro"`), opens a datasource in
read-only mode (#2460; `sf` did this before 1.0-17); by default a
datasource is opened in update (read-write) mode (since sf 1.0-17;
#2420)
* the `sf` -> `ppp` conversion `as.ppp.sf()` accepts a data.frame of
marks instead of just 1 column #2450, by @agila5
* add flag for preservation of point order in `st_voronoi` #1371 for
GEOS >= 3.12
# version 1.0-18
* support `POLYGON FULL` simple feature geometry, representing the
entire Earth surface, as used by `s2geometry`; see also
https://r-spatial.org/r/2024/10/11/polygonfull.html for a longer
introduction; #2441
* `st_sfc()` has an argument `oriented` which, when set to `TRUE`,
adds an attribute `oriented=TRUE` to an `sfc` object, indicating
that this object should not be reoriented in conversion to
`s2_geography` (avoiding using the global option `s2_oriented`);
`st_as_sfc.bbox()` sets this to `TRUE`; #2441
* fix build failure with GDAL < 3.4.0 #2436
* `st_simplify()` now accepts feature-wise tolerance values when `s2`
is switched on #2442
# version 1.0-17
* add `st_transform()` method for `bbox` objects; this uses
OGRCoordinateTransformation::TransformBounds(), densifying first and
antemeridian proof; #2415
* `st_filter.sf()` correctly scopes `x` and `y` arguments using !!
operator; #2416
* `[.sfc` and `[<-.sfc` use matrix/array type subsetting for `sfc`
objects that have a `dim` attribute
* add `st_exterior_ring()` to extract exterior rings (remove holes);
#2406
* add `text.sf()`, `text.sfc()`, `points.sf()`, `points.sfc()` to
annotate base plots at geometry centroids; #2399
* `st_sf()` no longer strips `tbl` or `tbl_df` class labels; #2378
* `st_layers()` returns an object of class `c("sf_layers",
"data.frame")`, with a dedicated `print` method.
* when `dim` is not `XYZM`, `sf_as_sf.data.frame()` interprets a
length 4 `coords` argument to specify the corners of a rectangular
polygon; #2357
* `st_interpolate_aw()` gains an `na.rm` argument, for removing
features with `NA` attributes before interpolating; #830
* `merge.sf()` no longer renames geometry column; #2334
# version 1.0-16
* `st_join()` no longer renames the geometry column; #2327
* `st_sample()` works when unprojected polygon geometry crosses the
antemeridian; #2331
* clean up and modernization of S3 registration of methods and tests;
#2285, #2288, #2316, #2341, #2342, by @olivroy
* `[.sfc` works when setting argument `op`; #2320
* `st_sample()` for polygons is sensitive to setting `oriented = TRUE`
to prevent wrongly correcting ring directions; #2308
* add support for the GDAL `footprint` utility (requiring GDAL >=
3.8.0) to `gdal_utils`; #2305, by @goergen95
* existing environment variables `PROJ_LIB` and `PROJ_DATA` are
(again) ignored on `sf` binary CRAN installations (win + macos),
effectively by overwriting them during the R session and restoring
them on exit; this does not happen if environment variable
`R_SF_USE_PROJ_DATA` is set to `true`. #2298
* add `st_line_project()` to find how far a point is when projected on
a line; #2291
* add `st_line_interpolate()` to obtain a point at a certain distance
along a line; #2291
# version 1.0-15
* add `st_perimeter()` generic to cover both geographic and projected
coordinates; #268, #2279, by @JosiahParry
* add `st_sample()` method for `bbox`, with special provisions for
ellipsoidal coordinates; #2283
* documentation clean-up by @olivroy; #2266, #2285
* `st_convex_hull()` uses `s2::s2_convex_hull()` for geodetic
coordinates; #2250
* add `directed` argument to `st_line_merge()`; #2264
* `st_union.sfc()` given `x` and `y` works consistently across
geodetic and projected objects; #2262
* `st_union.sf()` given `x` and `y` unions pairwise if `by_feature = TRUE`; #2259
* `st_read()` work around issue with GPKG driver if `wkt_filter` is set; #2248
* `st_read()` uses GDAL's stream reading when `use_stream = TRUE`;
#2238 by @paleolimbot
* `st_transform()` responds to in-session changes to `sf_proj_network()`; #2166
* `plot.sf()`: `key.width` is sensitive to pointsize graphics
parameter `par("ps")`; keys with factor levels suggest a proper size
if they won't fit.
* `plot.sf()`: `key.pos` can hold a second value in [0, 1] determining
the relative position of the key in the available space
* `[<-.sf` fixes the `agr` attribute when it is broken; #2211
* if the env. variable `ADD_SF_NAMESPACE` is set to `true`, `sf`
objects get a new attribute, `.sf_namespace`, which forces loading
the `sf` namespace when it has not been loaded so far, e.g. for
proper printing or plotting of an `sf` object; #2212 by Mike Mahoney
* `distinct.sf()` is type-safe for `sf` objects with zero rows; #2204
* `summarise.sf()` raises an error if `.by` is given but no `across()`
on the geometry; #2207
* `st_write()` matches fields on name first, than on position; this
matters for formats that have pre-defined names, such as GPX; #2202
# version 1.0-14
* fix `plot.sf()` when using a key for multiple factor variables; #2196, #2195
* fix use of `as.numeric_version` in a test, for upcoming change in r-devel
* code tidy-ing: fix many lintr suggestions, thanks to Michael Chirico
(#2181 - #2191)
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/geography/R-sf/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/geography/R-sf/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-sf/Makefile
diff -u pkgsrc/geography/R-sf/Makefile:1.31 pkgsrc/geography/R-sf/Makefile:1.32
--- pkgsrc/geography/R-sf/Makefile:1.31 Thu Nov 14 22:20:00 2024
+++ pkgsrc/geography/R-sf/Makefile Wed Nov 27 23:26:16 2024
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.31 2024/11/14 22:20:00 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2024/11/27 23:26:16 mef Exp $
R_PKGNAME= sf
-R_PKGVER= 1.0-13
-PKGREVISION= 12
+R_PKGVER= 1.0-19
CATEGORIES= geography
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Simple Features for R
LICENSE= mit OR gnu-gpl-v2
-USE_LANGUAGES+= c c++11
+USE_LANGUAGES+= c
+USE_CXX_FEATURES+= c++11
DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr
DEPENDS+= R-rgeos>=0.5.2:../../geography/R-rgeos
@@ -19,21 +19,29 @@ DEPENDS+= R-units>=0.6.0:../../math/R-un
DEPENDS+= R-s2-[0-9]*:../../geography/R-s2
# Packages suggested but not available:
-# 'mapview', 'odbc', 'pool', 'RPostgres', 'RSQLite', 'spatstat.geom',
-# 'spatstat.core', 'spatstat.linnet', 'terra', 'tmap'
+# 'nanoarrow', 'mapview', 'odbc', 'pbapply', 'pool', 'RPostgres',
+# 'tmap'
+# Packages required and available but unsuitable versions:
+# 's2', 'lwgeom', 'wk'
+
+TEST_DEPENDS+= R-RPostgreSQL-[0-9]*:../../math/R-RPostgreSQL
+TEST_DEPENDS+= R-RSQLite-[0-9]*:../../databases/R-RSQLite
TEST_DEPENDS+= R-blob-[0-9]*:../../devel/R-blob
TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
-TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
-TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
TEST_DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-maps-[0-9]*:../../geography/R-maps
TEST_DEPENDS+= R-microbenchmark-[0-9]*:../../benchmarks/R-microbenchmark
-TEST_DEPENDS+= R-RPostgreSQL-[0-9]*:../../math/R-RPostgreSQL
TEST_DEPENDS+= R-raster-[0-9]*:../../geography/R-raster
TEST_DEPENDS+= R-rgdal-[0-9]*:../../geography/R-rgdal
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
TEST_DEPENDS+= R-stars-[0-9]*:../../geography/R-stars
TEST_DEPENDS+= R-spatstat-[0-9]*:../../geography/R-spatstat
+TEST_DEPENDS+= R-terra-[0-9]*:../../geography/R-terra
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
TEST_DEPENDS+= R-tidyr-[0-9]*:../../math/R-tidyr
+TEST_DEPENDS+= R-wk-[0-9]*:../../geography/R-wk
.include "../../math/R/Makefile.extension"
.include "../../devel/R-Rcpp/buildlink3.mk"
Index: pkgsrc/geography/R-sf/distinfo
diff -u pkgsrc/geography/R-sf/distinfo:1.6 pkgsrc/geography/R-sf/distinfo:1.7
--- pkgsrc/geography/R-sf/distinfo:1.6 Mon Jun 5 23:03:07 2023
+++ pkgsrc/geography/R-sf/distinfo Wed Nov 27 23:26:16 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2023/06/05 23:03:07 mef Exp $
+$NetBSD: distinfo,v 1.7 2024/11/27 23:26:16 mef Exp $
-BLAKE2s (R/sf_1.0-13.tar.gz) = 90f3a1f0401a49f19efb4e8a49d6212a94d0ad32447f4ce4f83dfc53f015d626
-SHA512 (R/sf_1.0-13.tar.gz) = 4df61d284baefd6ae0fb1d34b0c6bfd26e9f891aa9f8a4548d0c4092c2da8850af96408b9886d7929b0b43b64582d7bb2ad1611d314a1fcee08319843b9c1f16
-Size (R/sf_1.0-13.tar.gz) = 3488093 bytes
+BLAKE2s (R/sf_1.0-19.tar.gz) = 26326776cbf317cb0e6e76c217d109ebe3f268b40c7820d44a8756d34f455770
+SHA512 (R/sf_1.0-19.tar.gz) = 76f9d9341e78677281c21cd1641ea0d90dd9cfed446372e8bd3b99f52de4f2ca0172f40462875ed276ad52c4d8e734658e38991d04a7702359202d3c9dcb33cd
+Size (R/sf_1.0-19.tar.gz) = 3808024 bytes
Home |
Main Index |
Thread Index |
Old Index