Subject: Submission of Patch for gnu: Add r-dyn

From: Sahithi Yarlagadda <[email-masked]>
Date: Tue, 20 Mar 2018 07:38:55 +0530

Hi

I am resubmitting the patch for Package Description for r-dyn. I have
made all the modifications suggested. Hope that i did the right way this
time.        

-- 
Regards
Sahithi

>From 176a7f7c7ea45caea4d6bf3c2a73ea23093aa19c Mon Sep 17 00:00:00 2001
From: Sahithi Yarlagadda <[email-masked]>
Date: Tue, 20 Mar 2018 07:31:01 +0530
Subject: [PATCH] gnu: Add r-dyn

* gnu/packages/cran.scm (r-dyn): New variable.
---
 gnu/packages/cran.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index b54ddc6b5..52cdd56a9 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2017 Raoul Bonnal <[email-masked]>
 ;;; Copyright © 2018 Vijayalakshmi Vedantham <[email-masked]>
+;;; Copyright © 2018 Sahithi Yarlagadda <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3245,3 +3246,30 @@ how rivers split and merge.  For example, they can be used to compare
 different clusterings.  This package provides an implementation of Sankey
 plots for R.")
     (license license:gpl2+)))
+
+(define-public r-dyn
+  (package
+    (name "r-dyn")
+    (version "0.2-9.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "dyn" version))
+       (sha256
+        (base32
+         "16fqv9k7yxdgybwzafjkyqm16qpgqz13lcjpi6a1nc8xbzlzh0gb"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-zoo" ,r-zoo)))
+    (home-page "https://cran.r-project.org/web/packages/dyn")
+    (synopsis "Time series regression")
+    (description
+     "The dyn class interfaces @code{ts}, @code{irts}, @code{zoo} and @code{zooreg}
+time series classes to @code{lm}, @code{glm}, @code{loess} @code{quantreg::rq}, 
+@code{MASS::rlm}, @code{MCMCpack::MCMCregress()}, @code{quantreg::rq()}, 
+@code{randomForest::randomForest()} and other regression functions allowing those 
+functions to be used with time series including specifications that may 
+contain lags, diffs and missing values.")
+    (license license:gpl2+)))
+
+
-- 
2.16.2