guix_mirror_bot pushed a commit to branch r-team
in repository guix.
commit f809d4e9ea2cececc0f6f61e768eecf1d15c497c
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Mar 16 09:36:23 2026 +0100
gnu: Add r-pingr.
* gnu/packages/cran.scm (r-pingr): New variable.
Change-Id: I02c64e0b92a88f492cae0dbd9f3b4abb1f42e353
---
gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0196dae1c9..1d818fc9f0 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6037,6 +6037,33 @@ of blocks (groups of samples). @code{permute} also
allows split-plot designs,
in which the whole-plots or split-plots or both can be freely exchangeable.")
(license license:gpl2+)))
+(define-public r-pingr
+ (package
+ (name "r-pingr")
+ (version "2.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "pingr" version))
+ (sha256
+ (base32 "152zffi2bg5yyjbk7h83fdn1n6ab24m14d69qb2xhs4bydjad2r1"))))
+ (properties `((upstream-name . "pingr")))
+ (build-system r-build-system)
+ (arguments
+ (list
+ #:skipped-tests
+ ;; In the build container you can't ping anything.
+ '(("test-icmp.R" "We can ping localhost" "We can ping a remote host")
+ ("test-tcp.R" "We can ping a remote host"))))
+ (propagated-inputs (list r-processx))
+ (native-inputs (list r-testthat))
+ (home-page "https://r-lib.github.io/pingr/")
+ (synopsis "Check if a remote computer is up")
+ (description
+ "Check if a remote computer is up. It can either just call the system
+@command{ping} command, or check a specified TCP port.")
+ (license license:expat)))
+
(define-public r-pkgconfig
(package
(name "r-pkgconfig")