aboutsummaryrefslogtreecommitdiff
path: root/km-packages
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2019-02-06 23:16:24 -0500
committerKyle Meyer <kyle@kyleam.com>2019-02-06 23:16:24 -0500
commitb8aa1b43704c97a18396b88686328d82a1f05af9 (patch)
treec775af09e3000f0d90b96f36111761e39027d5d6 /km-packages
downloadguix-packages-b8aa1b43704c97a18396b88686328d82a1f05af9.tar.gz
Initial import
Diffstat (limited to 'km-packages')
-rw-r--r--km-packages/emacs.scm240
-rw-r--r--km-packages/git-annex.scm161
-rw-r--r--km-packages/r.scm396
3 files changed, 797 insertions, 0 deletions
diff --git a/km-packages/emacs.scm b/km-packages/emacs.scm
new file mode 100644
index 0000000..2b11b67
--- /dev/null
+++ b/km-packages/emacs.scm
@@ -0,0 +1,240 @@
+;;; emacs.scm --- custom Guix packages for Emacs
+;;;
+;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com>
+;;;
+;;; This file is NOT part of GNU Guix.
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License as
+;;; published by the Free Software Foundation, either version 3 of the
+;;; License, or (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see
+;;; <https://www.gnu.org/licenses/>.
+
+(define-module (km-packages emacs)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages base)
+ #:use-module (gnu packages emacs-xyz)
+ #:use-module (guix build-system emacs)
+ #:use-module (guix build-system gnu)
+ #:use-module (guix download)
+ #:use-module (guix git-download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages))
+
+(define-public km-emacs-avy
+ ;; avy hasn't been released for a while.
+ (let ((commit "f2bedeeb5804a4863bb53aca6f77195f7d530c38")
+ (revision "1"))
+ (package
+ (inherit emacs-avy)
+ (name "km-emacs-avy")
+ (version (string-append "0.4.0-" revision "." (string-take commit 8)))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url (string-append "https://github.com/abo-abo/avy.git"))
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1p2l6zqls2c8v1ahn9rkfj6vvcsx1ymd0rd590scj8kqhjjyq3n7")))))))
+
+(define-public emacs-ace-link
+ (package
+ (name "emacs-ace-link")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/abo-abo/ace-link/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rakzzpzyj2iq90vpjfwim2a0m7d41kchrp0h593ydk5js0bzx4z"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-avy" ,km-emacs-avy)))
+ (home-page "https://github.com/abo-abo/ace-link")
+ (synopsis "Quickly follow links in Emacs")
+ (description
+ "This package provides an interface for following links in Emacs
+buffers.")
+ (license license:gpl3+)))
+
+(define-public km-emacs-ace-window ; for km-emacs-avy
+ (package
+ (inherit emacs-ace-window)
+ (name "km-emacs-ace-window")
+ (propagated-inputs
+ `(("emacs-avy" ,km-emacs-avy)))))
+
+(define-public km-emacs-lispy ; for km-emacs-avy
+ (package
+ (inherit emacs-lispy)
+ (name "km-emacs-lispy")
+ (propagated-inputs
+ `(("emacs-ace-window" ,km-emacs-ace-window)
+ ("emacs-iedit" ,emacs-iedit)
+ ("emacs-ivy" ,emacs-ivy)
+ ("emacs-hydra" ,emacs-hydra)))))
+
+(define-public emacs-org-board
+ (package
+ (name "emacs-org-board")
+ (version "1018")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/scallywag/org-board/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1y3pjq5r0385dzz4wxmm3a97aqjfbngrysgl56l26aa293lhxxj0"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/scallywag/org-board")
+ (synopsis "TODO")
+ (description "TODO")
+ (license license:gpl3+)))
+
+;; Contains fix for chords.
+(define-public emacs-use-package-latest
+ (let ((commit "4f0f5856798b8575d3d466fce2a3aed0ebf1acf1")
+ (revision "2"))
+ (package
+ (inherit emacs-use-package)
+ (name "km-emacs-use-package")
+ (version (git-version "2.3" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jwiegley/use-package")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1j1wgyhb0lvj0znkq56q5vv3irfgb6w3mwpcrvxq0b0wkwr121gz")))))))
+
+(define-public emacs-pandoc
+ (package
+ (name "emacs-pandoc")
+ (version "2.23")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/joostkremers/pandoc-mode/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "19kgllhywxim02s69nisr8xs7fgifcj890kdmc2xdizmc7ps65yi"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ `(("emacs-dash" ,emacs-dash)
+ ("emacs-hydra" ,emacs-hydra)))
+ (home-page "https://github.com/joostkremers/writeroom-mode")
+ (synopsis "Minor mode for interacting with Pandoc")
+ (description "TODO")
+ (license license:gpl3+)))
+
+(define-public emacs-stan-mode
+ (package
+ (name "emacs-stan-mode")
+ (version "9.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/stan-dev/stan-mode/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "075n4y886lb5qvq1rl9kizxb5rypl11ky10akpnxcv005gja4dkq"))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; Build server side using 'gnu-build-system'.
+ (add-after 'unpack 'enter-lisp-dir
+ (lambda _ (chdir "stan-mode") #t)))))
+ (home-page "https://github.com/stan-dev/stan-mode")
+ (synopsis "Major mode for editing Stan files")
+ (description
+ "Provides syntax highlighting, indentation, and imenu support for
+Stan files.")
+ (license license:gpl3+)))
+
+;; TODO: Probably within Guix ledger package, but that was failing
+;; when I tried to build it. Look into.
+(define-public emacs-ledger
+ (package
+ (name "emacs-ledger")
+ (version "3.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/ledger/ledger-mode/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0x6g808j6xjjxw29k0bfvbx9aagccx6608f6a66y7cxyi6zqf46b"))))
+ (build-system emacs-build-system)
+ (arguments
+ '(#:exclude (delete "^[^/]*tests?\\.el$" %default-exclude)))
+ (home-page "https://github.com/ledger/ledger-mode")
+ (synopsis "Major mode for editing Ledger files")
+ (description "Major mode for editing Ledger files")
+ (license license:gpl2)))
+
+(define-public emacs-ox-gfm
+ (package
+ (name "emacs-ox-gfm")
+ (version "1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/larstvei/ox-gfm/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0jjznn30bv86a8nh3kqkcilsanplamrvgfji6w0fhwd38ihn2h8l"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/larstvei/ox-gfm")
+ (synopsis "Github Flavored Markdown Back-End for Org Export Engine ")
+ (description "TODO")
+ (license license:gpl3+)))
+
+(define-public emacs-pyvenv
+ (package
+ (name "emacs-pyvenv")
+ (version "1.15")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/jorgenschaefer/pyvenv/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "17hjik7s0pvwp1cs7n4cj92fjrybb8xh9aiqc00ab96fyr8a0w6m"))))
+ (build-system emacs-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'patch-el-files))))
+ (home-page "https://github.com/jorgenschaefer/pyvenv")
+ (synopsis "TODO")
+ (description "TODO")
+ (license license:gpl3+)))
diff --git a/km-packages/git-annex.scm b/km-packages/git-annex.scm
new file mode 100644
index 0000000..e72ef4e
--- /dev/null
+++ b/km-packages/git-annex.scm
@@ -0,0 +1,161 @@
+;;; git-annex.scm --- custom Guix packages for git-annex
+;;;
+;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com>
+;;;
+;;; This file is NOT part of GNU Guix.
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License as
+;;; published by the Free Software Foundation, either version 3 of the
+;;; License, or (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see
+;;; <https://www.gnu.org/licenses/>.
+
+(define-module (km-packages git-annex)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages version-control)
+ #:use-module (gnu packages haskell)
+ #:use-module (guix build utils)
+ #:use-module (guix build-system haskell)
+ #:use-module (guix download)
+ #:use-module (guix gexp)
+ #:use-module (guix git-download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages)
+ #:use-module (guix utils)
+ #:use-module (ice-9 popen)
+ #:use-module (ice-9 rdelim))
+
+(define %source-dir
+ (string-append (getenv "HOME") "/src/haskell/git-annex"))
+
+;; Copied from guile-daemon.
+(define (git-output . args)
+ "Execute 'git ARGS ...' command and return its output without trailing
+newspace."
+ (with-directory-excursion %source-dir
+ (let* ((port (apply open-pipe* OPEN_READ "git" args))
+ (output (read-string port)))
+ (close-port port)
+ (string-trim-right output #\newline))))
+
+(define (current-commit)
+ (git-output "rev-parse" "HEAD"))
+
+(define-public ghc-concurrent-output
+ (package
+ (name "ghc-concurrent-output")
+ (version "1.10.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/concurrent-output/concurrent-output-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0mwf155w89nbbkjln7hhbn8k3f8p0ylcvgrg31cm7ijpx4499i4c"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-text" ,ghc-text)
+ ("ghc-async" ,ghc-async)
+ ("ghc-stm" ,ghc-stm)
+ ("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+ ("ghc-terminal-size" ,ghc-terminal-size)))
+ (home-page
+ "http://hackage.haskell.org/package/concurrent-output")
+ (synopsis
+ "Ungarble output from several threads or commands")
+ (description
+ "Lets multiple threads and external processes concurrently output
+to the console, without it getting all garbled up. . Built on top of
+that is a way of defining multiple output regions, which are
+automatically laid out on the screen and can be individually updated
+by concurrent threads. Can be used for progress displays etc. .
+<<https://joeyh.name/code/concurrent-output/demo2.gif>>")
+ (license license:bsd-2)))
+
+(define-public ghc-magic
+ (package
+ (name "ghc-magic")
+ (version "1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/magic/magic-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "10p0gjjjwr1dda7hahwrwn5njbfhl67arq3v3nf1jr3vymlkn75j"))))
+ (build-system haskell-build-system)
+ (home-page
+ "http://hackage.haskell.org/package/magic")
+ (synopsis "Interface to C file/magic library")
+ (description
+ "This package provides a Haskell interface to the C libmagic
+library. With it, you can determine the type of a file by examining
+its contents rather than its name. The Haskell interface provides a
+full-featured binding.")
+ ;; TODO: check
+ (license license:bsd-2)))
+
+(define-public git-annex-dev
+ (let ((commit (current-commit)))
+ (package
+ (inherit git-annex)
+ (name "git-annex-dev")
+ (version (string-append "000-" (string-take commit 7)))
+ (source (local-file %source-dir
+ #:recursive? #t
+ #:select? (git-predicate %source-dir)))
+ (arguments
+ `(#:tests? #f
+ ,@(substitute-keyword-arguments (package-arguments git-annex)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'factor-setup 'delete-setup
+ (lambda _
+ ;; Otherwise get write error because is read-only.
+ (delete-file "Setup.hs")
+ #t))
+ (delete 'check))))))
+ (inputs `(("ghc-concurrent-output" ,ghc-concurrent-output)
+ ("ghc-magic" ,ghc-magic)
+ ,@(package-inputs git-annex))))))
+
+;; The package in Guix has an outstanding issue with shebangs in
+;; hooks.
+(define-public git-annex-latest
+ (package
+ (inherit git-annex)
+ (name "git-annex-latest")
+ (version "7.20190129")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "git-annex/git-annex-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gsi1ymv7dmx429vhv58979hfh23zrfvrsam6saf16ckh5hd0n81"))))
+ (arguments
+ `(#:tests? #f
+ ,@(substitute-keyword-arguments (package-arguments git-annex)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (delete 'check)
+ (delete 'patch-shell))))))
+ (inputs `(("ghc-concurrent-output" ,ghc-concurrent-output)
+ ("ghc-magic" ,ghc-magic)
+ ,@(package-inputs git-annex)))))
diff --git a/km-packages/r.scm b/km-packages/r.scm
new file mode 100644
index 0000000..97be8a7
--- /dev/null
+++ b/km-packages/r.scm
@@ -0,0 +1,396 @@
+;;; r.scm --- custom Guix pakcages for R
+;;;
+;;; Copyright © 2019 Kyle Meyer <kyle@kyleam.com>
+;;;
+;;; This file is NOT part of GNU Guix.
+;;;
+;;; This program is free software; you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License as
+;;; published by the Free Software Foundation, either version 3 of the
+;;; License, or (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see
+;;; <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+;;;
+;;; NOTE: These packages are quite stale and very likely do not work
+;;; with the current Guix.
+
+(define-module (km-packages r)
+ #:use-module (gnu packages)
+ #:use-module (gnu packages compression)
+ #:use-module (gnu packages cran)
+ #:use-module (gnu packages gcc)
+ #:use-module (gnu packages haskell)
+ #:use-module (gnu packages multiprecision)
+ #:use-module (gnu packages statistics)
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages web)
+ #:use-module (guix build-system r)
+ #:use-module (guix download)
+ #:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix packages))
+
+(define-public r-stanheaders
+ (package
+ (name "r-stanheaders")
+ (version "2.16.0-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "StanHeaders" version))
+ (sha256
+ (base32
+ "0i1gq32ys7iwgbdrwc86ww8kj5aqc7jbl663dynackb7wmqwlb7r"))))
+ (properties `((upstream-name . "StanHeaders")))
+ (build-system r-build-system)
+ (home-page "http://mc-stan.org/")
+ (synopsis "C++ header files for Stan")
+ (description
+ "Prvoides the C++ header files of the Stan project used by
+@code{r-rstan}.")
+ (license license:bsd-3)))
+
+(define-public r-rstan
+ (package
+ (name "r-rstan")
+ (version "2.16.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "rstan" version))
+ (sha256
+ (base32
+ "0irqh4ggk23s3c0ipihwv8m0qmkxh5j7vdxgnsarhqca6254r2vb"))))
+ (build-system r-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-dates
+ (lambda _
+ (substitute* "R/zzz.R"
+ (("value = Sys.time\\(\\)")
+ "value = as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")")
+ ;; Prevent build failure for "character string is not
+ ;; in a standard unambiguous format".
+ (("as.POSIXct\\(\"1970-01-01 00:00.00 UTC\"\\)")
+ "as.POSIXct(\"1970-1-1 00:00:00\", tz = \"UTC\")")))))))
+ (propagated-inputs
+ `(("r-bh" ,r-bh)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-gridextra" ,r-gridextra)
+ ("r-inline" ,r-inline)
+ ("r-rcpp" ,r-rcpp)
+ ("r-rcppeigen" ,r-rcppeigen)
+ ("r-stanheaders" ,r-stanheaders)))
+ (home-page "http://mc-stan.org/users/interfaces/rstan.html")
+ (synopsis "R interface to Stan")
+ (description
+ "User-facing R functions are provided to parse, compile, test,
+estimate, and analyze Stan models by accessing the header-only Stan
+library provided by @code{r-stanheaders}. The Stan project develops a
+probabilistic programming language that implements full Bayesian
+statistical inference via Markov Chain Monte Carlo, rough Bayesian
+inference via 'variational' approximation, and (optionally penalized)
+maximum likelihood estimation via optimization. In all three cases,
+automatic differentiation is used to quickly and accurately evaluate
+gradients without burdening the user with the need to derive the
+partial derivatives.")
+ (license license:gpl3+)))
+
+(define-public r-shinyjs
+ (package
+ (name "r-shinyjs")
+ (version "0.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "shinyjs" version))
+ (sha256
+ (base32
+ "0h90k4f93lbfraldjxlbhjyjr54c3hiv7gyrbqz70j08s0bhyama"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-digest" ,r-digest)
+ ("r-htmltools" ,r-htmltools)
+ ("r-jsonlite" ,r-jsonlite)
+ ("r-miniui" ,r-miniui)
+ ("r-shiny" ,r-shiny)))
+ (home-page "http://deanattali.com/shinyjs")
+ (synopsis
+ "Easily Improve the User Experience of Your Shiny Apps in Seconds")
+ (description
+ "Perform common useful JavaScript operations in Shiny apps that
+will greatly improve your apps without having to know any JavaScript.
+Examples include: hiding an element, disabling an input, resetting an
+input back to its original value, delaying code execution by a few
+seconds, and many more useful functions for both the end user and the
+developer. 'shinyjs' can also be used to easily call your own custom
+JavaScript functions from R.")
+ (license license:agpl3+)))
+
+(define-public r-colourpicker
+ (package
+ (name "r-colourpicker")
+ (version "0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "colourpicker" version))
+ (sha256
+ (base32
+ "0sxxllfwdbdc283nk9b82xrvb6xali14c6qfywm2qck0k8jh7ppy"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-ggplot2" ,r-ggplot2)
+ ("r-htmltools" ,r-htmltools)
+ ("r-htmlwidgets" ,r-htmlwidgets)
+ ("r-miniui" ,r-miniui)
+ ("r-shiny" ,r-shiny)
+ ("r-shinyjs" ,r-shinyjs)))
+ (home-page
+ "https://github.com/daattali/colourpicker")
+ (synopsis
+ "A Colour Picker Tool for Shiny and for Selecting Colours in Plots")
+ (description
+ "This package provides a colour picker that can be used as an
+input in Shiny apps or 'Rmarkdown' documents. A Plot Colour Helper
+tool is available as an 'RStudio' addin, which helps you pick colours
+to use in your plots. A more generic Colour Picker 'RStudio' addin is
+also provided to let you select colours for use in your R code.")
+ (license license:expat)))
+
+(define-public r-dygraphs
+ (package
+ (name "r-dygraphs")
+ (version "1.1.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "dygraphs" version))
+ (sha256
+ (base32
+ "0vwg9q7xrwxkm92d55ik9gdky42bj3jlh6fi4jzwyl5nfdswklb9"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-htmltools" ,r-htmltools)
+ ("r-htmlwidgets" ,r-htmlwidgets)
+ ("r-magrittr" ,r-magrittr)
+ ("r-xts" ,r-xts)
+ ("r-zoo" ,r-zoo)))
+ (home-page "https://github.com/rstudio/dygraphs")
+ (synopsis
+ "Interface to 'Dygraphs' Interactive Time Series Charting Library")
+ (description
+ "An R interface to the 'dygraphs' JavaScript charting library (a
+copy of which is included in the package). Provides rich facilities
+for charting time-series data in R, including highly configurable
+series- and axis-display and interactive features like zoom/pan and
+series/point highlighting.")
+ (license #f)))
+
+(define-public r-packrat
+ (package
+ (name "r-packrat")
+ (version "0.4.8-1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "packrat" version))
+ (sha256
+ (base32
+ "1wvjyvb7yy6hq188msqzf8qa00lhll865jp939byc6d4zpscm0x2"))))
+ (build-system r-build-system)
+ (home-page "https://github.com/rstudio/packrat/")
+ (synopsis
+ "A Dependency Management System for Projects and their R Package Dependencies")
+ (description
+ "Manage the R packages your project depends on in an isolated,
+portable, and reproducible way.")
+ (license license:gpl2)))
+
+(define-public r-pki
+ (package
+ (name "r-pki")
+ (version "0.1-3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "PKI" version))
+ (sha256
+ (base32
+ "1xhc84k4iszvfawwwzrwclfs41nvb8bmyygapxmsxjky725s7k1g"))))
+ (properties `((upstream-name . "PKI")))
+ (build-system r-build-system)
+ (native-inputs
+ `(("openssl" ,openssl)))
+ (propagated-inputs
+ `(("r-base64enc" ,r-base64enc)))
+ (home-page "http://www.rforge.net/PKI")
+ (synopsis
+ "Public Key Infrastucture for R Based on the X.509 Standard")
+ (description
+ "PKI functions such as verifying certificates, RSA encription and
+signing which can be used to build PKI infrastructure and perform
+cryptographic tasks.")
+ (license #f)))
+
+(define-public r-rjsonio
+ (package
+ (name "r-rjsonio")
+ (version "1.3-0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "RJSONIO" version))
+ (sha256
+ (base32
+ "1dwgyiy19sixhy6yclqcaaxswbmpq7digyjjxhy1qv0wfsvk94qi"))))
+ (properties `((upstream-name . "RJSONIO")))
+ (build-system r-build-system)
+ (home-page
+ "http://cran.r-project.org/web/packages/RJSONIO")
+ (synopsis
+ "Serialize R objects to JSON, JavaScript Object Notation")
+ (description
+ "This is a package that allows conversion to and from data in
+Javascript object notation (JSON) format. This allows R objects to be
+inserted into Javascript/ECMAScript/ActionScript code and allows R
+programmers to read and convert JSON content to R objects. This is an
+alternative to rjson package. Originally, that was too slow for
+converting large R objects to JSON and was not extensible. rjson's
+performance is now similar to this package, and perhaps slightly
+faster in some cases. This package uses methods and is readily
+extensible by defining methods for different classes, vectorized
+operations, and C code and callbacks to R functions for deserializing
+JSON objects to R. The two packages intentionally share the same
+basic interface. This package (RJSONIO) has many additional options
+to allow customizing the generation and processing of JSON content.
+This package uses libjson rather than implementing yet another JSON
+parser. The aim is to support other general projects by building on
+their work, providing feedback and benefit from their ongoing
+development.")
+ (license license:bsd-3)))
+
+(define-public r-rsconnect
+ (package
+ (name "r-rsconnect")
+ (version "0.8.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "rsconnect" version))
+ (sha256
+ (base32
+ "0y2sajcw1yngig06l7bxzcw993jbx13fl47fag9fa4f70qpnnwmq"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-digest" ,r-digest)
+ ("r-packrat" ,r-packrat)
+ ("r-pki" ,r-pki)
+ ("r-rcurl" ,r-rcurl)
+ ("r-rjsonio" ,r-rjsonio)
+ ("r-rstudioapi" ,r-rstudioapi)
+ ("r-yaml" ,r-yaml)))
+ (home-page
+ "http://cran.r-project.org/web/packages/rsconnect")
+ (synopsis
+ "Deployment Interface for R Markdown Documents and Shiny Applications")
+ (description
+ "Programmatic deployment interface for 'RPubs', 'shinyapps.io',
+and 'RStudio Connect'. Supported content types include R Markdown
+documents, Shiny applications, Plumber APIs, plots, and static web
+content.")
+ (license license:gpl2)))
+
+(define-public r-shinythemes
+ (package
+ (name "r-shinythemes")
+ (version "1.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "shinythemes" version))
+ (sha256
+ (base32
+ "0i220y051dq763idh1j5zhpb5cpv3jr11jd9akmry9aadyys5pz6"))))
+ (build-system r-build-system)
+ (propagated-inputs `(("r-shiny" ,r-shiny)))
+ (home-page
+ "http://cran.r-project.org/web/packages/shinythemes")
+ (synopsis "Themes for Shiny")
+ (description
+ "Themes for use with Shiny. Includes several Bootstrap themes
+from <http://bootswatch.com/>, which are packaged for use with Shiny
+applications.")
+ (license #f)))
+
+(define-public r-threejs
+ (package
+ (name "r-threejs")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "threejs" version))
+ (sha256
+ (base32
+ "1s3rdlzy7man6177ycayg6xsh6k8y1r9rdj9yzn3b93j2rs0nxbi"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-base64enc" ,r-base64enc)
+ ("r-crosstalk" ,r-crosstalk)
+ ("r-htmlwidgets" ,r-htmlwidgets)
+ ("r-igraph" ,r-igraph)))
+ (home-page "https://bwlewis.github.io/rthreejs")
+ (synopsis
+ "Interactive 3D Scatter Plots, Networks and Globes")
+ (description
+ "Create interactive 3D scatter plots, network plots, and globes
+using the 'three.js' visualization library (<https://threejs.org>).")
+ (license license:expat)))
+
+(define-public r-shinystan
+ (package
+ (name "r-shinystan")
+ (version "2.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "shinystan" version))
+ (sha256
+ (base32
+ "18bdh2h6grlwfx6p00214p7cgzg7zfhbvnkd1dmxihp9wf4l80af"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-bayesplot" ,r-bayesplot)
+ ("r-colourpicker" ,r-colourpicker)
+ ("r-dt" ,r-dt)
+ ("r-dygraphs" ,r-dygraphs)
+ ("r-ggplot2" ,r-ggplot2)
+ ("r-gridextra" ,r-gridextra)
+ ("r-gtools" ,r-gtools)
+ ("r-markdown" ,r-markdown)
+ ("r-reshape2" ,r-reshape2)
+ ("r-rsconnect" ,r-rsconnect)
+ ("r-rstan" ,r-rstan)
+ ("r-shiny" ,r-shiny)
+ ("r-shinyjs" ,r-shinyjs)
+ ("r-shinythemes" ,r-shinythemes)
+ ("r-threejs" ,r-threejs)
+ ("r-xtable" ,r-xtable)
+ ("r-xts" ,r-xts)))
+ (home-page "http://mc-stan.org/")
+ (synopsis
+ "Interactive Visual and Numerical Diagnostics and Posterior Analysis for Bayesian Models")
+ (description
+ "This package provides a graphical user interface for interactive Markov chain Monte Carlo (MCMC) diagnostics and plots and tables helpful for analyzing a posterior sample. The interface is powered by the 'Shiny' web application framework from 'RStudio' and works with the output of MCMC programs written in any programming language (and has extended functionality for 'Stan' models fit using the 'rstan' and 'rstanarm' packages).")
+ (license license:gpl3+)))