From 95a067f0ed8fb580cc3652acd4c7885eb000244a Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 19 Feb 2019 18:55:27 +0100 Subject: Skip plotting in examples if grConvert is missing --- man/plot.chent.Rd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man/plot.chent.Rd') diff --git a/man/plot.chent.Rd b/man/plot.chent.Rd index 416675d..a406533 100644 --- a/man/plot.chent.Rd +++ b/man/plot.chent.Rd @@ -17,5 +17,7 @@ Plot method for chent objects \examples{ caffeine <- chent$new("caffeine") print(caffeine) -plot(caffeine) +if (requireNamespace("grConvert")) { + plot(caffeine) +} } -- cgit v1.2.1