From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 12/25] gnu: Add r-backports. Date: Wed, 21 Sep 2016 22:45:28 +0200 Message-ID: <20160921204541.3981-12-ricardo.wurmus@mdc-berlin.de> References: <20160921204541.3981-1-ricardo.wurmus@mdc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmoQO-0007cD-FC for guix-devel@gnu.org; Wed, 21 Sep 2016 16:47:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmoQK-0002Lm-Fu for guix-devel@gnu.org; Wed, 21 Sep 2016 16:47:24 -0400 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:56058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmoQK-0002LO-9g for guix-devel@gnu.org; Wed, 21 Sep 2016 16:47:20 -0400 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id B926C41B873 for ; Wed, 21 Sep 2016 22:47:19 +0200 (CEST) Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4foA-96cfrwj for ; Wed, 21 Sep 2016 22:47:14 +0200 (CEST) Received: from HTCAONE.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS for ; Wed, 21 Sep 2016 22:47:14 +0200 (CEST) In-Reply-To: <20160921204541.3981-1-ricardo.wurmus@mdc-berlin.de> 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-backports): New variable. --- gnu/packages/statistics.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index d05dfce..c3dadbd 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1610,6 +1610,29 @@ previous R versions and their release dates.") limited to R.") (license license:gpl3+))) +(define-public r-backports + (package + (name "r-backports") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "backports" version)) + (sha256 + (base32 + "0s04mbb7imqc00jl37i081y4yf7qdimk687dyrkvb20nixvjvjyh")))) + (build-system r-build-system) + (home-page "http://cran.r-project.org/web/packages/backports") + (synopsis "Reimplementations of functions introduced since R 3.0.0") + (description + "Provides implementations of functions which have been introduced in R +since version 3.0.0. The backports are conditionally exported which results +in R resolving the function names to the version shipped with R (if available) +and uses the implemented backports as fallback. This way package developers +can make use of the new functions without worrying about the minimum required +R version.") + (license license:gpl2+))) + (define-public r-brew (package (name "r-brew") -- 2.9.3