aboutsummaryrefslogtreecommitdiff
path: root/inst/examples/octanol.R
diff options
context:
space:
mode:
Diffstat (limited to 'inst/examples/octanol.R')
-rw-r--r--inst/examples/octanol.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/inst/examples/octanol.R b/inst/examples/octanol.R
index b13d9ce..8818836 100644
--- a/inst/examples/octanol.R
+++ b/inst/examples/octanol.R
@@ -1,5 +1,5 @@
oct <- chent$new("1-octanol", smiles = "CCCCCCCCO")
print(oct)
-if (requireNamespace("grConvert")) {
+if (!is.null(caffeine$Picture)) {
plot(oct)
}

Contact - Imprint