aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/statistics.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index c98299a780..6ef89185f1 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5506,14 +5506,14 @@ is supported.")
(define-public r-lubridate
(package
(name "r-lubridate")
- (version "1.7.9.2")
+ (version "1.7.10")
(source
(origin
(method url-fetch)
(uri (cran-uri "lubridate" version))
(sha256
(base32
- "0yfvlgksasmia7rsp83lsipjpgvlly5qkldcfxj68lfaz9l2sspf"))))
+ "1s653d6rnpf9bkynxmbq4fdjdcz7r9ma19aph8f5y9ck70his4hm"))))
(build-system r-build-system)
(propagated-inputs
`(("r-generics" ,r-generics)
; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. (define-module (test-zlib) #:use-module (guix zlib) #:use-module (guix tests) #:use-module (srfi srfi-64) #:use-module (rnrs bytevectors) #:use-module (rnrs io ports) #:use-module (ice-9 match)) ;; Test the (guix zlib) module. (unless (zlib-available?) (exit 77)) (test-begin "zlib") (test-assert "compression/decompression pipe" (let ((data (random-bytevector (+ (random 10000) (* 20 1024))))) (match (pipe) ((parent . child) (match (primitive-fork) (0 ;compress (dynamic-wind (const #t) (lambda () (close-port parent) (call-with-gzip-output-port child (lambda (port) (put-bytevector port data)))) (lambda () (primitive-exit 0)))) (pid ;decompress (begin (close-port child) (let ((received (call-with-gzip-input-port parent (lambda (port) (get-bytevector-all port)) #:buffer-size (* 64 1024)))) (match (waitpid pid) ((_ . status) (and (zero? status) ;; PORT itself isn't closed but its underlying file ;; descriptor must have been closed by 'gzclose'. (catch 'system-error (lambda () (seek (fileno parent) 0 SEEK_CUR) #f) (lambda args (= EBADF (system-error-errno args)))) (bytevector=? received data)))))))))))) (test-end)