diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-02-19 18:55:27 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-02-19 18:55:27 +0100 |
commit | 95a067f0ed8fb580cc3652acd4c7885eb000244a (patch) | |
tree | 962082965df5bc561e109f7670a6062a0300f0a8 /man/chent.Rd | |
parent | 132bd73395033a95163080517b5a7c371cf512a2 (diff) |
Skip plotting in examples if grConvert is missing
Diffstat (limited to 'man/chent.Rd')
-rw-r--r-- | man/chent.Rd | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/man/chent.Rd b/man/chent.Rd index 8d85de1..a90a3b3 100644 --- a/man/chent.Rd +++ b/man/chent.Rd @@ -55,9 +55,13 @@ configured for use with PythonInR} \examples{ oct <- chent$new("1-octanol", smiles = "CCCCCCCCO") print(oct) -plot(oct) +if (requireNamespace("grConvert")) { + plot(oct) +} caffeine <- chent$new("caffeine") print(caffeine) -plot(caffeine) +if (requireNamespace("grConvert")) { + plot(caffeine) +} } \keyword{data} |