[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/04: gnu: Add r-opencpu
From: |
guix-commits |
Subject: |
03/04: gnu: Add r-opencpu |
Date: |
Thu, 22 Jul 2021 05:38:40 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 9cfa6c3c587766a310252f4c1271503d819bdd8a
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Wed May 26 21:43:59 2021 +0100
gnu: Add r-opencpu
* gnu/packages/cran.scm: (r-opencpu): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
---
gnu/packages/cran.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0558eb2..f2bf36b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -29856,3 +29856,46 @@ is optimized at compile time. The @code{RProtoBuf}
package on the other hand
uses the protobuf runtime library to provide a general-purpose toolkit for
reading and writing arbitrary protocol-buffer data in R.")
(license license:expat)))
+
+(define-public r-opencpu
+ (package
+ (name "r-opencpu")
+ (version "2.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "opencpu" version))
+ (sha256
+ (base32 "0dr3ga8vw10vllqjq6n53dwivvgvzrgrjcn17kmabp620533bj1k"))))
+ (properties `((upstream-name . "opencpu")))
+ (build-system r-build-system)
+ (inputs
+ `(("pandoc" ,pandoc)))
+ (propagated-inputs
+ `(("r-brew" ,r-brew)
+ ("r-curl" ,r-curl)
+ ("r-evaluate" ,r-evaluate)
+ ("r-httpuv" ,r-httpuv)
+ ("r-jsonlite" ,r-jsonlite)
+ ("r-knitr" ,r-knitr)
+ ("r-mime" ,r-mime)
+ ("r-openssl" ,r-openssl)
+ ("r-protolite" ,r-protolite)
+ ("r-rappdirs" ,r-rappdirs)
+ ("r-remotes" ,r-remotes)
+ ("r-sys" ,r-sys)
+ ("r-webutils" ,r-webutils)
+ ("r-zip" ,r-zip)))
+ (native-inputs
+ `(("r-knitr" ,r-knitr)))
+ (home-page "https://www.opencpu.org")
+ (synopsis "API for embedded scientific computing")
+ (description
+ "This package provides a system for embedded scientific computing and
+reproducible research with R. The OpenCPU server exposes a simple but
+powerful HTTP API for RPC and data interchange with R. This provides a
+reliable and scalable foundation for statistical services or building R web
+applications. The OpenCPU server runs either as a single-user development
+server within the interactive R session, or as a multi-user stack based on
+Apache2.")
+ (license license:asl2.0)))