~ruther/guix-local

61eea88ddea52b5f6959af5be3b28926a5e0200e — Ricardo Wurmus 1 year, 9 months ago cc4cb24
gnu: Add r-geometries.

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

Change-Id: I290a5cc2bda00859d27c7a91341acb20708c9abc
1 files changed, 23 insertions(+), 0 deletions(-)

M gnu/packages/cran.scm
M gnu/packages/cran.scm => gnu/packages/cran.scm +23 -0
@@ 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")