all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add r-fivethirtyeight.
@ 2017-01-17  9:15 Ricardo Wurmus
  2017-01-17 18:11 ` Marius Bakke
  0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2017-01-17  9:15 UTC (permalink / raw)
  To: guix-devel

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

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index f0ef1568a..137223383 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4025,3 +4025,31 @@ dispersion modeling and Tweedie power-law families.")
 quadratic forms in normal variables using Imhof's method, Davies's algorithm,
 Farebrother's algorithm or Liu et al.'s algorithm.")
     (license license:gpl2+)))
+
+(define-public r-fivethirtyeight
+  (package
+    (name "r-fivethirtyeight")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://mran.microsoft.com/src/contrib/"
+                           "fivethirtyeight_" version ".tar.gz"))
+       (sha256
+        (base32
+         "0fcc8rq745nsghp27dk0lgih90y4zx8hrzcvsn6ih786yv7qxhvl"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     ;; broom,, scales, ggthemes
+     `(("r-knitr" ,r-knitr)
+       ("r-rmarkdown" ,r-rmarkdown)
+       ("r-dplyr" ,r-dplyr)
+       ("r-readr" ,r-readr)
+       ("r-ggplot2" ,r-ggplot2)
+       ("r-magrittr" ,r-magrittr)
+       ("r-stringr" ,r-stringr)))
+    (home-page "https://mran.microsoft.com/package/fivethirtyeight/")
+    (synopsis "Data and code behind the stories at FiveThirtyEight")
+    (description "This R package provides access to the code and data sets
+published by the statistics blog FiveThirtyEight.")
+    (license license:expat)))
-- 
2.11.0

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

* Re: [PATCH] gnu: Add r-fivethirtyeight.
  2017-01-17  9:15 [PATCH] gnu: Add r-fivethirtyeight Ricardo Wurmus
@ 2017-01-17 18:11 ` Marius Bakke
  2017-01-17 20:50   ` Ricardo Wurmus
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2017-01-17 18:11 UTC (permalink / raw)
  To: Ricardo Wurmus, guix-devel

[-- Attachment #1: Type: text/plain, Size: 298 bytes --]

Ricardo Wurmus <rekado@elephly.net> writes:

> * gnu/packages/statistics.scm (r-fivethirtyeight): New variable.

[...]

> +    (propagated-inputs
> +     ;; broom,, scales, ggthemes

Are these TODO entries or a shopping list?

...I'll show myself out :P

(this and the other series LGTM otherwise)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: [PATCH] gnu: Add r-fivethirtyeight.
  2017-01-17 18:11 ` Marius Bakke
@ 2017-01-17 20:50   ` Ricardo Wurmus
  0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2017-01-17 20:50 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel


Marius Bakke <mbakke@fastmail.com> writes:

> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> * gnu/packages/statistics.scm (r-fivethirtyeight): New variable.
>
> [...]
>
>> +    (propagated-inputs
>> +     ;; broom,, scales, ggthemes
>
> Are these TODO entries or a shopping list?
>
> ...I'll show myself out :P

I removed them.  These packages were not needed; luckily, because we
don’t seem to have them yet.

> (this and the other series LGTM otherwise)

Thanks for looking over the patches.  I pushed them to master.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

end of thread, other threads:[~2017-01-17 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-17  9:15 [PATCH] gnu: Add r-fivethirtyeight Ricardo Wurmus
2017-01-17 18:11 ` Marius Bakke
2017-01-17 20:50   ` Ricardo Wurmus

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.