From patchwork Wed Sep 21 20:45:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ricardo Wurmus X-Patchwork-Id: 15863 Received: (qmail 39818 invoked by uid 89); 21 Sep 2016 20:47:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=miscellaneous, Miscellaneous X-Spam-Status: No, score=-4.8 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Sep 2016 20:47:03 +0000 Received: from localhost ([::1]:55694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmoQ1-00073P-QF for patchwork@sourceware.org; Wed, 21 Sep 2016 16:47:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmoPi-0006vd-5U for guix-devel@gnu.org; Wed, 21 Sep 2016 16:46:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmoPe-0001wT-12 for guix-devel@gnu.org; Wed, 21 Sep 2016 16:46:42 -0400 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:56050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmoPd-0001vR-Py for guix-devel@gnu.org; Wed, 21 Sep 2016 16:46:37 -0400 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 3FBC641B865 for ; Wed, 21 Sep 2016 22:46:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mdc; t=1474490792; x=1476305193; bh=INY18JG5u02bNGPRkkPdWJgV876+fidoz/jNegqg70Y=; b=KcvypESaicjM wi0UzlDGJjLTXK5aOEiOKejdwcyEaQ0yhvaJTkZJKJyeidQXB8c7Oq5VFG6QwTTf oh4CQIc/XTerZt28W8f+mleUbtzw5GtvwuUETVuG7c3hQWuz9oirhDeZCNESR2TW mjnPXaCex+7JIN3/xrC96+aTFFM8WP8= X-Virus-Scanned: amavisd-new at mdc-berlin.de 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 hRTBehZySJdm for ; Wed, 21 Sep 2016 22:46:32 +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:46:32 +0200 (CEST) Received: from localhost (141.80.180.135) by HTCAONE.mdc-berlin.net (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 21 Sep 2016 22:46:29 +0200 From: Ricardo Wurmus To: Subject: [PATCH 06/25] gnu: Add r-hmisc. Date: Wed, 21 Sep 2016 22:45:22 +0200 Message-ID: <20160921204541.3981-6-ricardo.wurmus@mdc-berlin.de> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160921204541.3981-1-ricardo.wurmus@mdc-berlin.de> References: <20160921204541.3981-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.180.135] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.000.1202-22592.002 X-TM-AS-Result: No--4.655800-0.000000-31 X-TM-AS-MatchedID: 703786-704425-188019-702358-700918-861157-862751-705517-7 03187-704496-701590-706817-700202-139704-704568-710207-863174-862088-700264 -702807-708212-709251-704927-701604-148004-148036-42000-42003 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 141.80.25.24 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/statistics.scm (r-hmisc): New variable. --- gnu/packages/statistics.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 806aacb..4a8c64b 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -41,6 +41,7 @@ #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages java) + #:use-module (gnu packages machine-learning) #:use-module (gnu packages maths) #:use-module (gnu packages multiprecision) #:use-module (gnu packages pcre) @@ -2977,6 +2978,44 @@ distribution).") classification, regression and survival trees.") (license (list license:gpl2+ license:gpl3+)))) +(define-public r-hmisc + (package + (name "r-hmisc") + (version "3.17-4") + (source + (origin + (method url-fetch) + (uri (cran-uri "Hmisc" version)) + (sha256 + (base32 + "1hr2kycpm0h3li9gnlbx9pl6h13das7g2wqfk6cip1kx6lv00ypw")))) + (properties `((upstream-name . "Hmisc"))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (propagated-inputs + `(("r-acepack" ,r-acepack) + ("r-cluster" ,r-cluster) + ("r-data-table" ,r-data-table) + ("r-foreign" ,r-foreign) + ("r-formula" ,r-formula) + ("r-ggplot2" ,r-ggplot2) + ("r-gridextra" ,r-gridextra) + ("r-gtable" ,r-gtable) + ("r-lattice" ,r-lattice) + ("r-latticeextra" ,r-latticeextra) + ("r-nnet" ,r-nnet) + ("r-rpart" ,r-rpart))) + (home-page "http://biostat.mc.vanderbilt.edu/Hmisc") + (synopsis "Miscellaneous data analysis and graphics functions") + (description + "This package contains many functions useful for data analysis, +high-level graphics, utility operations, functions for computing sample size +and power, importing and annotating datasets, imputing missing values, +advanced table making, variable clustering, character string manipulation, +conversion of R objects to LaTeX code, and recoding variables.") + (license license:gpl2+))) + (define-public r-runit (package (name "r-runit")