From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56683) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1YR-0007Mn-3v for guix-patches@gnu.org; Thu, 03 Oct 2019 09:54:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG1YP-000864-Vp for guix-patches@gnu.org; Thu, 03 Oct 2019 09:54:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iG1YP-000860-TV for guix-patches@gnu.org; Thu, 03 Oct 2019 09:54:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iG1YP-0004hI-R7 for guix-patches@gnu.org; Thu, 03 Oct 2019 09:54:01 -0400 Subject: [bug#37602] [PATCH] gnu: Add r-oai. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:56591) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1Y3-00072z-TY for guix-patches@gnu.org; Thu, 03 Oct 2019 09:53:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iG1Y2-00080N-LF for guix-patches@gnu.org; Thu, 03 Oct 2019 09:53:39 -0400 Received: from freeshell.de ([2a01:360:106::2]:40426) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iG1Y2-00080C-Fo for guix-patches@gnu.org; Thu, 03 Oct 2019 09:53:38 -0400 From: Wiktor =?UTF-8?Q?=C5=BBelazny?= Date: Thu, 3 Oct 2019 15:51:30 +0200 Message-Id: <20191003135130.12579-1-wz@freeshell.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: 37602@debbugs.gnu.org From: Wiktor =C5=BBelazny * gnu/packages/cran.scm (r-oai): new variable. --- gnu/packages/cran.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 3a9a605efe..479f5f4e46 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -15637,3 +15637,29 @@ unique identifiers, and whether it is a certain = length. In addition, files and to efficiently import multiple tabular data files into one data.table.") (license license:gpl3))) + +(define-public r-oai + (package + (name "r-oai") + (version "0.3.0") + (source (origin + (method url-fetch) + (uri (cran-uri "oai" version)) + (sha256 + (base32 + "1ipw9bq3ra66d1ddj1rylyyd20mlcb2i7phzhywra53s1fdifq1g")))) + (build-system r-build-system) + (propagated-inputs + `(("r-xml2" ,r-xml2) + ("r-httr" ,r-httr) + ("r-plyr" ,r-plyr) + ("r-stringr" ,r-stringr) + ("r-tibble" ,r-tibble))) + (home-page "https://github.com/ropensci/oai/") + (synopsis "General purpose OAI-PMH services client") + (description "@code{oai} provides a general purpose client to work = with +any @dfn{Open Archives Initiative Protocol for 'Metadata' Harvesting} (O= AI-PMH) +service. Functions are provided to work with the OAI-PMH verbs: +@code{GetRecord}, @code{Identify}, @code{ListIdentifiers}, +@code{ListMetadataFormats}, @code{ListRecords}, and @code{ListSets}.") + (license license:expat))) --=20 2.23.0