Subject: [PATCH] r-foreign: Update hash and remove duplicate recipe.

From: Roel Janssen <[email-masked]>
Date: Tue, 01 Aug 2017 15:58:59 +0200

>From 8f53dba37fbb34740801bb684e9ddb4f5d22c607 Mon Sep 17 00:00:00 2001
From: Roel Janssen <[email-masked]>
Date: Tue, 1 Aug 2017 15:51:16 +0200
Subject: [PATCH] r-foreign: Update hash and remove duplicate recipe.

* gnu/packages/statistics.scm (r-foreign): Update hash and remove
  duplicate recipe.
---
 gnu/packages/statistics.scm | 22 +---------------------
 1 file changed, 1 insertion(+), 21 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index e9bda5c..99fd2e8 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -373,7 +373,7 @@ Hubert, based on Kaufman and Rousseeuw (1990) \"Finding Groups in Data\".")
        (uri (cran-uri "foreign" version))
        (sha256
         (base32
-         "1mcrm2pydimbyjhkrw5h380bifj1jhwzifph1xgh90asf3lvd1xd"))))
+         "0j0z815zyp8n97rk6hlk68d1r8b26vls39s03viq0pnx3cbpwyga"))))
     (build-system r-build-system)
     (home-page "http://cran.r-project.org/web/packages/foreign")
     (synopsis "Read data stored by other statistics software")
@@ -1602,26 +1602,6 @@ It is based on the methods described in Kaufman and Rousseeuw (1990) \"Finding
 Groups in Data\".")
     (license license:gpl2+)))
 
-(define-public r-foreign
-  (package
-    (name "r-foreign")
-    (version "0.8-67")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (cran-uri "foreign" version))
-       (sha256
-        (base32
-         "1mcrm2pydimbyjhkrw5h380bifj1jhwzifph1xgh90asf3lvd1xd"))))
-    (build-system r-build-system)
-    (home-page "http://cran.r-project.org/web/packages/foreign")
-    (synopsis "Read data stored by other statistics software in R")
-    (description
-     "This package provides functions for reading and writing data stored by
-some versions of Epi Info, Minitab, S, SAS, SPSS, Stata, Systat and Weka, and
-for reading and writing some dBase files.")
-    (license license:gpl2+)))
-
 (define-public r-formula
   (package
     (name "r-formula")
-- 
2.7.4

Dear Guix,

It seems we have two (almost identical) package recipes for r-foreign.
This patch removes one of them.

Also, the upstream tarball seems to have changed, so I updated the
SHA256 hash.

If someone has the old tarball, we could look at what exactly has
changed.

Kind regards,
Roel Janssen