diff options
author | pjotrp | 2020-05-06 09:16:01 -0500 |
---|---|---|
committer | pjotrp | 2020-05-06 09:16:01 -0500 |
commit | a26d7f7eacefcd4c3b2339f81d99218f4b36dc69 (patch) | |
tree | 1d6a1d6b8afea9d4bb935cc0a3911d3fe9771c3e /gn/packages/cran.scm | |
parent | 52ba4c45ddf6fcb811e88c5efb12dca200c0bd7e (diff) | |
parent | 5390e28c3308d0f9ce7ee2b96c9c4f31e3a7861b (diff) | |
download | guix-bioinformatics-a26d7f7eacefcd4c3b2339f81d99218f4b36dc69.tar.gz |
Merge branch 'master' of http://git.genenetwork.org/guix-bioinformatics/guix-bioinformatics
Diffstat (limited to 'gn/packages/cran.scm')
-rw-r--r-- | gn/packages/cran.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gn/packages/cran.scm b/gn/packages/cran.scm new file mode 100644 index 0000000..d92f9f3 --- /dev/null +++ b/gn/packages/cran.scm @@ -0,0 +1,29 @@ +(define-module (gn packages cran) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system r) + #:use-module (gnu packages)) + +(define-public r-tictoc + (package + (name "r-tictoc") + (version "1.0") + (source + (origin + (method url-fetch) + (uri (cran-uri "tictoc" version)) + (sha256 + (base32 + "1zp2n8k2ax2jjw89dsri268asmm5ry3ijf32wbca5ji231y0knj7")))) + (build-system r-build-system) + (home-page "http://github.com/collectivemedia/tictoc") + (synopsis "Functions for timing R scripts") + (description + "This package provides the timing functions @code{tic} and @code{toc} that +can be nested. One can record all timings while a complex script is running, +and examine the values later. It is also possible to instrument the timing call +with custom callbacks. In addition, this package provides class 'Stack', +implemented as a vector, and class 'List', implemented as a list, both of whic +support operations 'push', 'pop', 'first', 'last' and 'clear'.") + (license license:asl2.0))) |