From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] gnu: Add r-fivethirtyeight. Date: Tue, 17 Jan 2017 10:15:00 +0100 Message-ID: <20170117091500.17539-1-rekado@elephly.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTPrc-0001G0-OG for guix-devel@gnu.org; Tue, 17 Jan 2017 04:15:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTPrZ-00075q-Ey for guix-devel@gnu.org; Tue, 17 Jan 2017 04:15:36 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTPrZ-00075F-6F for guix-devel@gnu.org; Tue, 17 Jan 2017 04:15:33 -0500 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/statistics.scm (r-fivethirtyeight): New variable. --- gnu/packages/statistics.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index f0ef1568a..137223383 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -4025,3 +4025,31 @@ dispersion modeling and Tweedie power-law families.") quadratic forms in normal variables using Imhof's method, Davies's algorithm, Farebrother's algorithm or Liu et al.'s algorithm.") (license license:gpl2+))) + +(define-public r-fivethirtyeight + (package + (name "r-fivethirtyeight") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://mran.microsoft.com/src/contrib/" + "fivethirtyeight_" version ".tar.gz")) + (sha256 + (base32 + "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl")))) + (build-system r-build-system) + (propagated-inputs + ;; broom,, scales, ggthemes + `(("r-knitr" ,r-knitr) + ("r-rmarkdown" ,r-rmarkdown) + ("r-dplyr" ,r-dplyr) + ("r-readr" ,r-readr) + ("r-ggplot2" ,r-ggplot2) + ("r-magrittr" ,r-magrittr) + ("r-stringr" ,r-stringr))) + (home-page "https://mran.microsoft.com/package/fivethirtyeight/") + (synopsis "Data and code behind the stories at FiveThirtyEight") + (description "This R package provides access to the code and data sets +published by the statistics blog FiveThirtyEight.") + (license license:expat))) -- 2.11.0