gnu: Add r-geometries.

* gnu/packages/cran.scm (r-geometries): New variable.

Change-Id: I290a5cc2bda00859d27c7a91341acb20708c9abc
This commit is contained in:
Ricardo Wurmus 2024-08-26 20:23:00 +02:00
parent cc4cb24ed5
commit 61eea88dde
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -9564,6 +9564,29 @@ interface to @code{PostgreSQL}, a relational database.")
Optimization problems by using the simplex algorithm.")
(license license:gpl2+)))
(define-public r-geometries
(package
(name "r-geometries")
(version "0.2.4")
(source
(origin
(method url-fetch)
(uri (cran-uri "geometries" version))
(sha256
(base32 "040ljxmzbjdr76p81ygnn5y0gzckz5k2arxkih5m5f3b6g62laf6"))))
(properties `((upstream-name . "geometries")))
(build-system r-build-system)
(propagated-inputs (list r-rcpp))
(native-inputs (list r-knitr))
(home-page "https://dcooley.github.io/geometries/")
(synopsis "Convert between R objects and geometric structures")
(description
"Geometry shapes in R are typically represented by matrices (points,
lines), with more complex shapes being lists of matrices (polygons).
Geometries will convert various R objects into these shapes. Conversion
functions are available at both the R level, and through Rcpp.")
(license license:expat)))
(define-public r-geometry
(package
(name "r-geometry")