From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eoaCE-0005K5-6A for guix-patches@gnu.org; Wed, 21 Feb 2018 14:37:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eoaBR-0007jn-2g for guix-patches@gnu.org; Wed, 21 Feb 2018 14:36:54 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47006) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eoaBQ-0007jA-Ql for guix-patches@gnu.org; Wed, 21 Feb 2018 14:36:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eoaBQ-0008Sb-Eb for guix-patches@gnu.org; Wed, 21 Feb 2018 14:36:04 -0500 Subject: [bug#30570] [PATCH 11/16] gnu: Add r-ggmap. Resent-Message-ID: From: Leo Famulari Date: Wed, 21 Feb 2018 14:35:15 -0500 Message-Id: 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-ggmap): New variable. --- gnu/packages/geo.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index c937510be..bb1f64841 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -45,6 +45,8 @@ #:use-module (gnu packages icu4c) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages statistics) + #:use-module (gnu packages web) #:use-module (gnu packages webkit) #:use-module (gnu packages xml)) @@ -464,3 +466,36 @@ scaling.") applications. That is, compute distances and related measures for angular (longitude/latitude) locations.") (license license:gpl3+))) + +(define-public r-ggmap + (package + (name "r-ggmap") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "ggmap" version)) + (sha256 + (base32 + "0mssb09w818jv58h7mly9y181pzv22sgcd4a079cfpq04bs0wigw")))) + (build-system r-build-system) + (propagated-inputs + `(("r-digest" ,r-digest) + ("r-geosphere" ,r-geosphere) + ("r-ggplot2" ,r-ggplot2) + ("r-jpeg" ,r-jpeg) + ("r-mapproj" ,r-mapproj) + ("r-plyr" ,r-plyr) + ("r-png" ,r-png) + ("r-proto" ,r-proto) + ("r-reshape2" ,r-reshape2) + ("r-rgooglemaps" ,r-rgooglemaps) + ("r-rjson" ,r-rjson) + ("r-scales" ,r-scales))) + (home-page "https://github.com/dkahle/ggmap") + (synopsis "Spatial Visualization with ggplot2") + (description "This package provides a collection of functions to visualize +spatial data and models on top of static maps from various online sources (e.g +Google Maps and Stamen Maps). It includes tools common to those tasks, +including functions for geolocation and routing.") + (license license:gpl2))) -- 2.16.1