From patchwork Thu Oct 3 13:51:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Wiktor_=C5=BBelazny?= X-Patchwork-Id: 15609 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 38F4B174C7; Thu, 3 Oct 2019 14:54:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EBED3174C0 for ; Thu, 3 Oct 2019 14:54:14 +0100 (BST) Received: from localhost ([::1]:36472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iG1Yc-0007R4-HU for patchwork@mira.cbaines.net; Thu, 03 Oct 2019 09:54:14 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#37602] [PATCH] gnu: Add r-oai. Resent-From: Wiktor =?utf-8?q?=C5=BBelazny?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Oct 2019 13:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37602 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37602@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157011082318030 (code B ref -1); Thu, 03 Oct 2019 13:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2019 13:53:43 +0000 Received: from localhost ([127.0.0.1]:38986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG1Y6-0004gj-Mj for submit@debbugs.gnu.org; Thu, 03 Oct 2019 09:53:43 -0400 Received: from lists.gnu.org ([209.51.188.17]:38658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iG1Y5-0004gc-6l for submit@debbugs.gnu.org; Thu, 03 Oct 2019 09:53:41 -0400 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?= DKIM-Filter: OpenDKIM Filter v2.9.2 freeshell.de 1539935CC340 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freeshell.de; s=mail; t=1570110816; bh=s0WqHOp7yhXdlzaMmxhbFvGqkvXZOMM1SLHJHneZeCY=; h=From:To:Subject:Date; b=A1KPckoxUxWDXwJTH5rJzgk56MtvEn1o+MbHclzCSGwIsYDEX2zwn1QtLCh5eRDTT /SIIAFtVPBajPQCfYiVSiXbV8SqP1P2RuT2kg5CVh7oBwskFmjFl7WVnBdxrKT2TMr /IBMMF7koSxua4iQVUia+ES0uqjkVWDKPqng9Xhk= Date: Thu, 3 Oct 2019 15:51:30 +0200 Message-Id: <20191003135130.12579-1-wz@freeshell.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From: Wiktor Żelazny * 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} (OAI-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)))