2020-10-10 08:06:13 +00:00
|
|
|
From b547ef1de9a9c9ce2425fc8b5a64ff326a584464 Mon Sep 17 00:00:00 2001
|
2020-02-26 02:44:08 +00:00
|
|
|
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
|
|
|
Date: Tue, 25 Feb 2020 21:16:57 -0500
|
|
|
|
Subject: [PATCH] Don't run example that uses the network.
|
|
|
|
|
|
|
|
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
|
|
|
---
|
|
|
|
man/ps_connections.Rd | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/man/ps_connections.Rd b/man/ps_connections.Rd
|
2020-10-10 08:06:13 +00:00
|
|
|
index c77fffa..2392df6 100644
|
2020-02-26 02:44:08 +00:00
|
|
|
--- a/man/ps_connections.Rd
|
|
|
|
+++ b/man/ps_connections.Rd
|
|
|
|
@@ -32,12 +32,14 @@ For a zombie process it throws a \code{zombie_process} error.
|
|
|
|
}
|
|
|
|
\examples{
|
2020-10-10 08:06:13 +00:00
|
|
|
\dontshow{if (ps::ps_is_supported() && ! ps:::is_cran_check()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
|
2020-02-26 02:44:08 +00:00
|
|
|
+\dontrun{
|
|
|
|
p <- ps_handle()
|
|
|
|
ps_connections(p)
|
|
|
|
sc <- socketConnection("httpbin.org", port = 80)
|
|
|
|
ps_connections(p)
|
|
|
|
close(sc)
|
|
|
|
ps_connections(p)
|
|
|
|
+}
|
|
|
|
\dontshow{\}) # examplesIf}
|
|
|
|
}
|
|
|
|
\seealso{
|
|
|
|
--
|
2020-10-10 08:06:13 +00:00
|
|
|
2.26.2
|
2020-02-26 02:44:08 +00:00
|
|
|
|