33 lines
920 B
Diff
33 lines
920 B
Diff
From 403d0337ff8e3c4c138f509294b7a01baa0513ab Mon Sep 17 00:00:00 2001
|
|
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
|
|
index e72b73e..0c1c206 100644
|
|
--- 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{
|
|
\dontshow{if (ps::ps_is_supported()) (if (getRversion() >= "3.4") withAutoprint else force)(\{ # examplesIf}
|
|
+\dontrun{
|
|
p <- ps_handle()
|
|
ps_connections(p)
|
|
sc <- socketConnection("httpbin.org", port = 80)
|
|
ps_connections(p)
|
|
close(sc)
|
|
ps_connections(p)
|
|
+}
|
|
\dontshow{\}) # examplesIf}
|
|
}
|
|
\seealso{
|
|
--
|
|
2.21.1
|
|
|