From 6c667f90da5d3bd8d22adb43a6b1aa6d739d7442 Mon Sep 17 00:00:00 2001 From: rhijmans Date: Sat, 4 Jan 2025 15:55:30 -0800 Subject: [PATCH] rd --- man/hull.Rd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/hull.Rd b/man/hull.Rd index 350da7c40..6b4812137 100644 --- a/man/hull.Rd +++ b/man/hull.Rd @@ -43,8 +43,9 @@ h <- hull(p) hh <- hull(p, "convex", by="NAME_1") geos_version <- libVersion("geos", TRUE) +geos_version -if ((geos_version$major >= 3) && (geos_version$minor >= 6)) { +if ((geos_version$major * 10 + geos_version$minor) >= 36)) { rr <- hull(p, "rectangle", "NAME_1") plot(rr, lwd=5, border="gray") plot(hh, "NAME_1", col=rainbow(10, alpha=.5), lwd=3, add=TRUE, plg=list(x="topright"))