From a080e50c153d3f72370e140eaf589d448867bf41 Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Tue, 29 Mar 2016 14:30:38 +0200 Subject: gnu: Add r-withr. * gnu/packages/statistics.scm (r-withr): New variable. --- gnu/packages/statistics.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu/packages/statistics.scm') diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 15c68238e2..28ac9673cc 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1260,6 +1260,25 @@ (define-public r-devtools tools to simplify the devolpment of R packages.") (license license:gpl2+))) +(define-public r-withr + (package + (name "r-withr") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (cran-uri "withr" version)) + (sha256 + (base32 + "0zbj3rd7dc0ycknmay7y7rm1qvnh9n05jw93gjggz46j2zfmy93y")))) + (build-system r-build-system) + (home-page "https://github.com/jimhester/withr") + (synopsis "Run code with temporarily modified global state") + (description + "This package provides a set of functions to run R code in an environment +in which global state has been temporarily modified. Many of these functions +were originally a part of the r-devtools package.") + (license license:gpl2+))) + (define-public r-readr (package (name "r-readr") -- cgit v1.2.3 From fa9f0e6c252fb87802d7f037ba8b5e1b0c0d7a8a Mon Sep 17 00:00:00 2001 From: Roel Janssen Date: Tue, 29 Mar 2016 14:32:00 +0200 Subject: gnu: r-devtools: Update to 1.10.0. * gnu/packages/statistics.scm (r-devtools): Update to 1.10.0. (r-devtools)[propagated-inputs]: Add r-withr. --- gnu/packages/statistics.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gnu/packages/statistics.scm') diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 28ac9673cc..1b114b35bb 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1234,13 +1234,13 @@ (define-public r-rstudioapi (define-public r-devtools (package (name "r-devtools") - (version "1.9.1") + (version "1.10.0") (source (origin (method url-fetch) (uri (cran-uri "devtools" version)) (sha256 (base32 - "10ycx3kkiz5x8nmgw31d9wa5hhlx2fhda2nqzxfrczqpz1jik6ci")))) + "11x51bqhjwypbxv5sfnrnxx06b92k8kzmmx7zrwk3537r072b6pa")))) (build-system r-build-system) (propagated-inputs `(("r-curl" ,r-curl) @@ -1253,7 +1253,8 @@ (define-public r-devtools ("r-roxygen2" ,r-roxygen2) ("r-rstudioapi" ,r-rstudioapi) ("r-rversions" ,r-rversions) - ("r-whisker" ,r-whisker))) + ("r-whisker" ,r-whisker) + ("r-withr" ,r-withr))) (home-page "https://github.com/hadley/devtools") (synopsis "Tools to make developing R packages easier") (description "The devtools package is a collection of package development -- cgit v1.2.3 From 6499b70ebf8f0de3c0d4741f573e6fe4768c2ef6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 18 Mar 2016 12:14:32 +0100 Subject: gnu: Add r-ztable. * gnu/packages/statistics.scm (r-ztable): New variable. --- gnu/packages/statistics.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/statistics.scm') diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 1b114b35bb..0c6c0173eb 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -2046,3 +2046,24 @@ (define-public r-plotly data behind them) can be viewed and modified in a web browser.") (license license:x11))) + +(define-public r-ztable + (package + (name "r-ztable") + (version "0.1.5") + (source (origin + (method url-fetch) + (uri (cran-uri "ztable" version)) + (sha256 + (base32 + "1jfqnqy9544gfvz3bsb48v4177nwp4b4n9l2743asq8sbq305b5r")))) + (build-system r-build-system) + (home-page "http://cran.r-project.org/web/packages/ztable") + (synopsis "Zebra-striped tables in LaTeX and HTML formats for R") + (description + "This package provides functions to make zebra-striped tables (tables +with alternating row colors) in LaTeX and HTML formats easily from +@code{data.frame}, @code{matrix}, @code{lm}, @code{aov}, @code{anova}, +@code{glm}, @code{coxph}, @code{nls}, @code{fitdistr}, @code{mytable} and +@code{cbind.mytable} objects.") + (license license:gpl2+))) -- cgit v1.2.3 From 0b65f1a0138819bc12e24984566ad3ee970506ff Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 2 Apr 2016 15:22:25 +0200 Subject: gnu: Move pspp from maths.scm to statistics.scm * gnu/packages/maths.scm (pspp): Deleted. * gnu/packages/statistics.scm (pspp): New variable. --- gnu/packages/maths.scm | 41 ----------------------------------------- gnu/packages/statistics.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) (limited to 'gnu/packages/statistics.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index e89fb9158e..d6b371ee81 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -52,7 +52,6 @@ (define-module (gnu packages maths) #:use-module (gnu packages gcc) #:use-module (gnu packages gd) #:use-module (gnu packages ghostscript) - #:use-module (gnu packages glib) #:use-module (gnu packages gtk) #:use-module (gnu packages image) #:use-module (gnu packages less) @@ -201,46 +200,6 @@ (define-public glpk LP/MIP solver is included in the package.") (license license:gpl3+))) -(define-public pspp - (package - (name "pspp") - (version "0.10.1") - (source - (origin - (method url-fetch) - (uri (string-append "mirror://gnu/pspp/pspp-" - version ".tar.gz")) - (sha256 - (base32 - "0xw61kq0hxh7f6a4yjhnqbhc0fj9r3wb3qnpq05qhdp79n30ik24")))) - (build-system gnu-build-system) - (inputs - `(("cairo" ,cairo) - ("fontconfig" ,fontconfig) - ("gettext" ,gnu-gettext) - ("gsl" ,gsl) - ("libxml2" ,libxml2) - ("pango" ,pango) - ("readline" ,readline) - ("gtk" ,gtk+) - ("gtksourceview" ,gtksourceview) - ("zlib" ,zlib))) - (native-inputs - `(("glib" ,glib "bin") ;for glib-genmarshal - ("perl" ,perl) - ("texinfo" ,texinfo) - ("pkg-config" ,pkg-config))) - (home-page "http://www.gnu.org/software/pspp/") - (synopsis "Statistical analysis") - (description - "GNU PSPP is a statistical analysis program. It can perform -descriptive statistics, T-tests, linear regression and non-parametric tests. -It features both a graphical interface as well as command-line input. PSPP -is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data -can be imported from spreadsheets, text files and database sources and it can -be output in text, PostScript, PDF or HTML.") - (license license:gpl3+))) - (define-public arpack-ng (package (name "arpack-ng") diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index 0c6c0173eb..9c197f4977 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -33,6 +33,8 @@ (define-module (gnu packages statistics) #:use-module (gnu packages curl) #:use-module (gnu packages gcc) #:use-module (gnu packages gtk) + #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) #:use-module (gnu packages haskell) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) @@ -53,6 +55,45 @@ (define-module (gnu packages statistics) #:use-module (gnu packages zip) #:use-module (srfi srfi-1)) + +(define-public pspp + (package + (name "pspp") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://gnu/pspp/pspp-" + version ".tar.gz")) + (sha256 + (base32 + "0xw61kq0hxh7f6a4yjhnqbhc0fj9r3wb3qnpq05qhdp79n30ik24")))) + (build-system gnu-build-system) + (inputs + `(("cairo" ,cairo) + ("gettext" ,gnu-gettext) + ("gsl" ,gsl) + ("libxml2" ,libxml2) + ("pango" ,pango) + ("readline" ,readline) + ("gtk" ,gtk+) + ("gtksourceview" ,gtksourceview) + ("zlib" ,zlib))) + (native-inputs + `(("glib" ,glib "bin") ;for glib-genmarshal + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (home-page "http://www.gnu.org/software/pspp/") + (synopsis "Statistical analysis") + (description + "GNU PSPP is a statistical analysis program. It can perform +descriptive statistics, T-tests, linear regression and non-parametric tests. +It features both a graphical interface as well as command-line input. PSPP +is designed to interoperate with Gnumeric, LibreOffice and OpenOffice. Data +can be imported from spreadsheets, text files and database sources and it can +be output in text, PostScript, PDF or HTML.") + (license license:gpl3+))) + (define-public r (package (name "r") -- cgit v1.2.3