From 09fbf31ef6f352e76abac2a7e76838ef331edeb9 Mon Sep 17 00:00:00 2001 From: Ranke Johannes Date: Thu, 28 Nov 2024 16:56:12 +0100 Subject: Improve README and example code --- man/chent.Rd | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'man') diff --git a/man/chent.Rd b/man/chent.Rd index 6edc226..93c7a34 100644 --- a/man/chent.Rd +++ b/man/chent.Rd @@ -12,17 +12,13 @@ information is retrieved from the internet. Additionally, it can be generated using RDKit if RDKit and its python bindings are installed. } \examples{ -oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE) -print(oct) -if (!is.null(oct$Picture)) { - plot(oct) -} - caffeine <- chent$new("caffeine") print(caffeine) if (!is.null(caffeine$Picture)) { plot(caffeine) } +oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE) +print(oct) } \section{Public fields}{ \if{html}{\out{
}} -- cgit v1.2.1