all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add r-htmlwidgets.
@ 2015-09-28 13:25 Ricardo Wurmus
  2015-09-29 19:19 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-09-28 13:25 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-r-htmltools.patch --]
[-- Type: text/x-patch, Size: 1291 bytes --]

From a108a926b5c0abbcbd1836129d6e06e4353ccb19 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Mon, 28 Sep 2015 15:22:49 +0200
Subject: [PATCH 1/2] gnu: Add r-htmltools.

* gnu/packages/web.scm (r-htmltools): New variable.
---
 gnu/packages/web.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 896105e..fb76015 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2935,3 +2935,22 @@ in systems and applications.")
 documents that can be converted to HTML files (e.g., R Markdown) under a given
 directory.")
     (license l:expat)))
+
+(define-public r-htmltools
+  (package
+    (name "r-htmltools")
+    (version "0.2.6")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "htmltools" version))
+              (sha256
+               (base32
+                "1gp6f6388xy3cvnb08q08vraidjp740gfxlafdd19m2s04v5hncz"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-digest" ,r-digest)))
+    (home-page "http://cran.r-project.org/web/packages/htmltools")
+    (synopsis "R tools for HTML")
+    (description
+     "This package provides tools for HTML generation and output in R.")
+    (license l:expat)))
-- 
2.5.0


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0002-gnu-Add-r-htmlwidgets.patch --]
[-- Type: text/x-patch, Size: 1442 bytes --]

From 6a32abc828e13bef71d3b6ace35b2a2e48703eb9 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Mon, 28 Sep 2015 15:23:10 +0200
Subject: [PATCH 2/2] gnu: Add r-htmlwidgets.

* gnu/packages/web.scm (r-htmlwidgets): New variable.
---
 gnu/packages/web.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index fb76015..4d526fc 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -2954,3 +2954,26 @@ directory.")
     (description
      "This package provides tools for HTML generation and output in R.")
     (license l:expat)))
+
+(define-public r-htmlwidgets
+  (package
+    (name "r-htmlwidgets")
+    (version "0.5")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "htmlwidgets" version))
+              (sha256
+               (base32
+                "1d583kk7g29r4sq0y1scri7fs48z6q17c051nyjywcvnpy4lvi8j"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-htmltools" ,r-htmltools)
+       ("r-jsonlite" ,r-jsonlite)
+       ("r-yaml" ,r-yaml)))
+    (home-page "https://github.com/ramnathv/htmlwidgets")
+    (synopsis "HTML Widgets for R")
+    (description
+     "HTML widgets is a framework for creating HTML widgets that render in
+various contexts including the R console, R Markdown documents, and Shiny web
+applications.")
+    (license l:expat)))
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add r-htmlwidgets.
  2015-09-28 13:25 [PATCH] gnu: Add r-htmlwidgets Ricardo Wurmus
@ 2015-09-29 19:19 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-09-29 19:19 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

Ricardo Wurmus <rekado@elephly.net> skribis:

> From a108a926b5c0abbcbd1836129d6e06e4353ccb19 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 28 Sep 2015 15:22:49 +0200
> Subject: [PATCH 1/2] gnu: Add r-htmltools.
>
> * gnu/packages/web.scm (r-htmltools): New variable.

OK.

> From 6a32abc828e13bef71d3b6ace35b2a2e48703eb9 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Mon, 28 Sep 2015 15:23:10 +0200
> Subject: [PATCH 2/2] gnu: Add r-htmlwidgets.
>
> * gnu/packages/web.scm (r-htmlwidgets): New variable.

OK.

Thanks,
Ludo'.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-29 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 13:25 [PATCH] gnu: Add r-htmlwidgets Ricardo Wurmus
2015-09-29 19:19 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.