aboutsummaryrefslogtreecommitdiff
path: root/man/plot.chent.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-02-19 18:55:27 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-02-19 18:55:27 +0100
commit95a067f0ed8fb580cc3652acd4c7885eb000244a (patch)
tree962082965df5bc561e109f7670a6062a0300f0a8 /man/plot.chent.Rd
parent132bd73395033a95163080517b5a7c371cf512a2 (diff)
Skip plotting in examples if grConvert is missing
Diffstat (limited to 'man/plot.chent.Rd')
-rw-r--r--man/plot.chent.Rd4
1 files changed, 3 insertions, 1 deletions
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)
+}
}

Contact - Imprint