From b547ef1de9a9c9ce2425fc8b5a64ff326a584464 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade 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 --- man/ps_connections.Rd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/man/ps_connections.Rd b/man/ps_connections.Rd index c77fffa..2392df6 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() && ! ps:::is_cran_check()) (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.26.2