Subject: Git Patch for CRAN-abbyyR [Outreachy]

From: Vijayalakshmi Vedantham <[email-masked]>
Date: Mon, 19 Mar 2018 00:39:05 +0530

Hello,

Please find attached a git patch including the package definition for the
CRAN abbyyR package. Do let me know if any modifications are required.

Thanks,
Vijayalakshmi
From 3b42772ca6dfea43d5305e78b3e66a3e84a701c6 Mon Sep 17 00:00:00 2001
From: Vijayalakshmi <[email-masked]>
Date: Mon, 19 Mar 2018 00:26:08 +0530
Subject: [PATCH 2/2] gnu: Add r-abbyyr

* gnu/packages/cran.scm (r-abbyyr): New variable.
---
 gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++--
 1 file changed, 29 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 717fa7f..67dbb2f 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3,7 +3,8 @@
 ;;; Copyright © 2017 Roel Janssen <[email-masked]>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2017 Raoul Bonnal <[email-masked]>
-;;;
+;;; Copyright © 2017 Vijayalakshmi Vedantham <[email-masked]>
+
 ;;; This file is part of GNU Guix.
 ;;;
 ;;; GNU Guix is free software; you can redistribute it and/or modify it
@@ -59,6 +60,32 @@ diversification and macroevolution, computing distances from DNA sequences,
 and several other tools.")
     (license license:gpl2+)))
 
+(define-public r-abbyyr
+  (package
+    (name "r-abbyyr")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "abbyyR" version))
+       (sha256
+        (base32
+         "1s8zf18sh0s89vk3dl09fzrq50csmmfvmsanf5vfkv9n5lx6pklg"))))
+    (properties `((upstream-name . "abbyyR")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-curl" ,r-curl)
+       ("r-httr" ,r-httr)
+       ("r-plyr" ,r-plyr)
+       ("r-progress" ,r-progress)
+       ("r-readr" ,r-readr)
+       ("r-xml" ,r-xml)))
+    (home-page "http://github.com/soodoku/abbyyR")
+    (synopsis "Access to Abbyy Optical Character Recognition (OCR) API")
+    (description
+      "This package provides tools to get text from images of text using Abbyy Cloud Optical Character Recognition (OCR) API.  With abbyyyR, one can easily OCR images, barcodes, forms, documents with machine readable zones, e.g.  passports and get the results in a variety of formats including plain text and XML.  To learn more about the Abbyy OCR API, see @url{http://ocrsdk.com/}.")
+    (license license:expat)))
+
 (define-public r-colorspace
   (package
     (name "r-colorspace")
@@ -3213,4 +3240,4 @@ flow of information, resources etc. separates and joins, much like observing
 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+)))
+    (license license:gpl2+)))
\ No newline at end of file
-- 
2.7.4