unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#50932] [PATCH] gnu: Add r-bien
@ 2021-10-01  9:24 jgart via Guix-patches via
  2021-10-01  9:26 ` [bug#50932] [PATCH 1/2] gnu: Add r-fasterize jgart via Guix-patches via
  2021-10-30 17:02 ` bug#50932: [PATCH] " Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2021-10-01  9:24 UTC (permalink / raw)
  To: 50932

Hi Guix,

Here is a patch for r-bien.

https://cran.r-project.org/web/packages/BIEN/index.html

all best,

jgart




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#50932] [PATCH 1/2] gnu: Add r-fasterize.
  2021-10-01  9:24 [bug#50932] [PATCH] gnu: Add r-bien jgart via Guix-patches via
@ 2021-10-01  9:26 ` jgart via Guix-patches via
  2021-10-01  9:26   ` [bug#50932] [PATCH 2/2] gnu: Add r-bien jgart via Guix-patches via
  2021-10-30 17:02 ` bug#50932: [PATCH] " Ludovic Courtès
  1 sibling, 1 reply; 5+ messages in thread
From: jgart via Guix-patches via @ 2021-10-01  9:26 UTC (permalink / raw)
  To: 50932; +Cc: jgart

* gnu/packages/cran.scm (r-fasterize): New variable.
---
 gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index ebfe9fd506..5f23f026ad 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -32038,6 +32038,34 @@ Python module, this utility provides a flexible and extensible way of
 formatting and delivering log messages with low overhead.")
     (license license:agpl3+)))
 
+(define-public r-fasterize
+  (package
+    (name "r-fasterize")
+    (version "1.0.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "fasterize" version))
+        (sha256
+          (base32 "10bzl77c1b9jhcn1xp467qzp2n8c7s3wpxn53qjh1nwvbri5kd32"))))
+    (properties `((upstream-name . "fasterize")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-raster" ,r-raster)
+        ("r-rcpp" ,r-rcpp)
+        ("r-rcpparmadillo" ,r-rcpparmadillo)
+        ("r-sp" ,r-sp)))
+    (native-inputs `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/ecohealthalliance/fasterize")
+    (synopsis "Fast Polygon to Raster Conversion")
+    (description
+"This package provides a drop-in replacement for @code{rasterize} from
+the @code{raster} package that takes sf-type objects, and is much faster.
+There is support for the main options provided by the @code{rasterize}
+function, including setting the field used and background value, and
+options for aggregating multi-layer rasters.")
+    (license license:expat)))
+
 (define-public r-ggh4x
   (package
     (name "r-ggh4x")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#50932] [PATCH 2/2] gnu: Add r-bien.
  2021-10-01  9:26 ` [bug#50932] [PATCH 1/2] gnu: Add r-fasterize jgart via Guix-patches via
@ 2021-10-01  9:26   ` jgart via Guix-patches via
  0 siblings, 0 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2021-10-01  9:26 UTC (permalink / raw)
  To: 50932; +Cc: jgart

* gnu/packages/cran.scm (r-bien): New variable.
---
 gnu/packages/cran.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5f23f026ad..3dee6feb49 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -32066,6 +32066,43 @@ function, including setting the field used and background value, and
 options for aggregating multi-layer rasters.")
     (license license:expat)))
 
+(define-public r-bien
+  (package
+    (name "r-bien")
+    (version "1.2.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "BIEN" version))
+        (sha256
+          (base32 "1dagrs54ciagm2mgqrvxl6k2akahr0qk63ifxqnks7iljm0x1gw6"))))
+    (properties `((upstream-name . "BIEN")))
+    (build-system r-build-system)
+    (native-inputs
+      `(("r-knitr" ,r-knitr)
+        ("r-testthat" ,r-testthat)))
+    (propagated-inputs
+      `(("r-ape" ,r-ape)
+        ("r-dbi" ,r-dbi)
+        ("r-doparallel" ,r-doparallel)
+        ("r-fasterize" ,r-fasterize)
+        ("r-foreach" ,r-foreach)
+        ("r-raster" ,r-raster)
+        ("r-rgdal" ,r-rgdal)
+        ("r-rgeos" ,r-rgeos)
+        ("r-rpostgresql" ,r-rpostgresql)
+        ("r-sf" ,r-sf)
+        ("r-sp" ,r-sp)))
+    (home-page "https://cran.r-project.org/package=BIEN")
+    (synopsis "Tools for Accessing the BIEN Database")
+    (description
+"This package provides Tools for Accessing the Botanical Information
+and Ecology Network Database.  The BIEN database contains cleaned and
+standardized botanical data including occurrence, trait, plot and taxonomic
+data.  This package provides functions that query the BIEN database by
+constructing and executing optimized SQL queries.")
+    (license license:expat)))
+
 (define-public r-ggh4x
   (package
     (name "r-ggh4x")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* bug#50932: [PATCH] gnu: Add r-bien
  2021-10-01  9:24 [bug#50932] [PATCH] gnu: Add r-bien jgart via Guix-patches via
  2021-10-01  9:26 ` [bug#50932] [PATCH 1/2] gnu: Add r-fasterize jgart via Guix-patches via
@ 2021-10-30 17:02 ` Ludovic Courtès
  2021-10-30 21:30   ` [bug#50932] " jgart via Guix-patches via
  1 sibling, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2021-10-30 17:02 UTC (permalink / raw)
  To: jgart; +Cc: 50932-done

[-- Attachment #1: Type: text/plain, Size: 220 bytes --]

Hi jgart,

jgart <jgart@dismail.de> skribis:

> Here is a patch for r-bien.
>
> https://cran.r-project.org/web/packages/BIEN/index.html

Applied both patches with the minor tweak below.

Thanks!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 934 bytes --]

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 4cff30c092..5448c52330 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -32173,10 +32173,10 @@ (define-public r-bien
         ("r-sf" ,r-sf)
         ("r-sp" ,r-sp)))
     (home-page "https://cran.r-project.org/package=BIEN")
-    (synopsis "Tools for Accessing the BIEN Database")
+    (synopsis "Tools for accessing the BIEN database")
     (description
-"This package provides Tools for Accessing the Botanical Information
-and Ecology Network Database.  The BIEN database contains cleaned and
+     "This package provides tools for accessing the Botanical Information and
+Ecology Network (BIEN) database.  The BIEN database contains cleaned and
 standardized botanical data including occurrence, trait, plot and taxonomic
 data.  This package provides functions that query the BIEN database by
 constructing and executing optimized SQL queries.")

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#50932] [PATCH] gnu: Add r-bien
  2021-10-30 17:02 ` bug#50932: [PATCH] " Ludovic Courtès
@ 2021-10-30 21:30   ` jgart via Guix-patches via
  0 siblings, 0 replies; 5+ messages in thread
From: jgart via Guix-patches via @ 2021-10-30 21:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 50932-done

On Sat, 30 Oct 2021 19:02:31 +0200 Ludovic Courtès <ludo@gnu.org> wrote:
> Hi jgart,
> 
> jgart <jgart@dismail.de> skribis:
> 
> > Here is a patch for r-bien.
> >
> > https://cran.r-project.org/web/packages/BIEN/index.html
> 
> Applied both patches with the minor tweak below.
> 
> Thanks!

Thank you!

all best,

jgart




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-10-30 21:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-01  9:24 [bug#50932] [PATCH] gnu: Add r-bien jgart via Guix-patches via
2021-10-01  9:26 ` [bug#50932] [PATCH 1/2] gnu: Add r-fasterize jgart via Guix-patches via
2021-10-01  9:26   ` [bug#50932] [PATCH 2/2] gnu: Add r-bien jgart via Guix-patches via
2021-10-30 17:02 ` bug#50932: [PATCH] " Ludovic Courtès
2021-10-30 21:30   ` [bug#50932] " jgart via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).