From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f193o-0005ph-93 for guix-patches@gnu.org; Wed, 28 Mar 2018 07:16:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f193i-0004a5-Bu for guix-patches@gnu.org; Wed, 28 Mar 2018 07:16:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48707) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f193i-0004Zx-8B for guix-patches@gnu.org; Wed, 28 Mar 2018 07:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f193i-0007Bm-35 for guix-patches@gnu.org; Wed, 28 Mar 2018 07:16:02 -0400 Subject: [bug#30969] [PATCH] gnu: Add r-parsedate. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f1936-0005jP-DS for guix-patches@gnu.org; Wed, 28 Mar 2018 07:15:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f1933-0004A6-7R for guix-patches@gnu.org; Wed, 28 Mar 2018 07:15:24 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50233) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f1932-00048k-R5 for guix-patches@gnu.org; Wed, 28 Mar 2018 07:15:21 -0400 From: Konrad Hinsen Date: Wed, 28 Mar 2018 13:14:07 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain 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: 30969@debbugs.gnu.org * gnu/packages/cran.scm (r-parsedate): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 39f2a323a..7977d0291 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -3296,3 +3296,25 @@ Dependencies of the distribution of the specified variable (response variable) to other variables (explanatory variables) are derived and evaluated by the @dfn{Akaike Information Criterion} (AIC).") (license license:gpl2+))) + +(define-public r-parsedate + (package + (name "r-parsedate") + (version "1.1.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "parsedate" version)) + (sha256 + (base32 + "0mg7hbm3903iwvmpn51gjpaaq03rsp72hjb1g8h5g84r81iha002")))) + (build-system r-build-system) + (home-page "https://github.com/gaborcsardi/parsedate") + (synopsis + "Recognize and parse dates in various formats") + (description + "This package provides three functions for dealing with dates: +@code{parse_iso_8601} recognizes and parses all valid ISO 8601 date and +time formats, @code{parse_date} parses dates in unspecified formats, +and @code{format_iso_8601} formats a date in ISO 8601 format.") + (license license:gpl2))) -- 2.16.2