From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54993) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyyhQ-0007kv-Q6 for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyyhP-0000GU-JD for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36930) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyyhP-0000G3-Fb for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyyhP-0008Ff-EI for guix-patches@gnu.org; Tue, 04 Feb 2020 08:57:07 -0500 Subject: [bug#39416] [PATCH 09/34] gnu: Add package r-quanteda Resent-Message-ID: From: Lars-Dominik Braun Date: Tue, 4 Feb 2020 14:56:01 +0100 Message-Id: <20200204135626.28261-9-ldb@leibniz-psychology.org> In-Reply-To: <20200204135626.28261-1-ldb@leibniz-psychology.org> References: <20200204135626.28261-1-ldb@leibniz-psychology.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 39416@debbugs.gnu.org Cc: Lars-Dominik Braun * gnu/packages/cran.scm (r-quanteda): New variable. --- gnu/packages/cran.scm | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 235f7d3ab3..917b5df643 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -19465,3 +19465,51 @@ of vocabulary. Currently supported languages are Danish, Dutch, English, Finnish, French, German, Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish and Turkish.") (license license:bsd-3))) + +(define-public r-quanteda + (package + (name "r-quanteda") + (version "1.5.2") + (source + (origin + (method url-fetch) + (uri (cran-uri "quanteda" version)) + (sha256 + (base32 + "0iv25rpx5cl9ansazjs0qb97pniajrxf4mqsnb5q98y2hil9ipd3")))) + (properties `((upstream-name . "quanteda"))) + (build-system r-build-system) + (propagated-inputs + `(("r-data-table" ,r-data-table) + ("r-extrafont" ,r-extrafont) + ("r-fastmatch" ,r-fastmatch) + ("r-ggplot2" ,r-ggplot2) + ("r-ggrepel" ,r-ggrepel) + ("r-lubridate" ,r-lubridate) + ("r-magrittr" ,r-magrittr) + ("r-matrix" ,r-matrix) + ("r-network" ,r-network) + ("r-proxyc" ,r-proxyc) + ("r-rcpp" ,r-rcpp) + ("r-rcpparmadillo" ,r-rcpparmadillo) + ("r-rcppparallel" ,r-rcppparallel) + ("r-rspectra" ,r-rspectra) + ("r-sna" ,r-sna) + ("r-snowballc" ,r-snowballc) + ("r-spacyr" ,r-spacyr) + ("r-stopwords" ,r-stopwords) + ("r-stringi" ,r-stringi) + ("r-xml2" ,r-xml2) + ("r-yaml" ,r-yaml))) + (home-page "https://quanteda.io") + (synopsis + "Quantitative Analysis of Textual Data") + (description + "This package provides a fast, flexible, and comprehensive framework for +quantitative text analysis in R. Provides functionality for corpus management, +creating and manipulating tokens and ngrams, exploring keywords in context, +forming and manipulating sparse matrices of documents by features and feature +co-occurrences, analyzing keywords, computing feature similarities and +distances, applying content dictionaries, applying supervised and unsupervised +machine learning, visually representing text and text analyses, and more.") + (license license:gpl3))) -- 2.20.1