diff options
Diffstat (limited to 'inst/examples/octanol.R')
-rw-r--r-- | inst/examples/octanol.R | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inst/examples/octanol.R b/inst/examples/octanol.R index 3e42c38..b13d9ce 100644 --- a/inst/examples/octanol.R +++ b/inst/examples/octanol.R @@ -1,3 +1,5 @@ oct <- chent$new("1-octanol", smiles = "CCCCCCCCO") print(oct) -plot(oct) +if (requireNamespace("grConvert")) { + plot(oct) +} |