From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36667) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoaC3-0005JM-R8 for guix-patches@gnu.org; Wed, 21 Feb 2018 14:37:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoaBQ-0007iB-80 for guix-patches@gnu.org; Wed, 21 Feb 2018 14:36:43 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47004) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoaBP-0007hf-PQ for guix-patches@gnu.org; Wed, 21 Feb 2018 14:36:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoaBP-0008SL-D4 for guix-patches@gnu.org; Wed, 21 Feb 2018 14:36:03 -0500 Subject: [bug#30570] [PATCH 06/16] gnu: Add r-geosphere. Resent-Message-ID: From: Leo Famulari Date: Wed, 21 Feb 2018 14:35:10 -0500 Message-Id: <0d1338bfac8cd479cc20caa383cd9f8791e8c510.1519241713.git.leo@famulari.name> In-Reply-To: <7597f2a5e819b04be0bd24566b4fcd7950abb5c1.1519241713.git.leo@famulari.name> References: <7597f2a5e819b04be0bd24566b4fcd7950abb5c1.1519241713.git.leo@famulari.name> In-Reply-To: <7597f2a5e819b04be0bd24566b4fcd7950abb5c1.1519241713.git.leo@famulari.name> References: <7597f2a5e819b04be0bd24566b4fcd7950abb5c1.1519241713.git.leo@famulari.name> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30570@debbugs.gnu.org * gnu/packages/geo.scm (r-geosphere): New variable. --- gnu/packages/geo.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 88a374fb4..c937510be 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -37,6 +37,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages fontutils) + #:use-module (gnu packages cran) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gtk) @@ -443,3 +444,23 @@ interface to query the Google server for static maps, and (ii) Use the map as a background image to overlay plots within R. This requires proper coordinate scaling.") (license license:gpl2+))) + +(define-public r-geosphere + (package + (name "r-geosphere") + (version "1.5-7") + (source + (origin + (method url-fetch) + (uri (cran-uri "geosphere" version)) + (sha256 + (base32 + "186qdm5niq7v3d4w4rngx71znsgi44hnam7698bsx9ar5mg5b6wx")))) + (build-system r-build-system) + (propagated-inputs `(("r-sp" ,r-sp))) + (home-page "https://cran.r-project.org/web/packages/geosphere") + (synopsis "Spherical Trigonometry") + (description "This package computes spherical trigonometry for geographic +applications. That is, compute distances and related measures for angular +(longitude/latitude) locations.") + (license license:gpl3+))) -- 2.16.1