summaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorRanke Johannes <johannes.ranke@agroscope.admin.ch>2024-11-28 16:56:12 +0100
committerRanke Johannes <johannes.ranke@agroscope.admin.ch>2024-11-28 16:56:12 +0100
commit09fbf31ef6f352e76abac2a7e76838ef331edeb9 (patch)
treec629ce6f307e633ab0f3c9942ca37f42f658fef9 /R
parentb292c01b2f5132a34a6ed1946e1df54069676988 (diff)
Improve README and example code
Diffstat (limited to 'R')
-rw-r--r--R/chent.R5
1 files changed, 2 insertions, 3 deletions
diff --git a/R/chent.R b/R/chent.R
index e3aa3ee..7b3ba3f 100644
--- a/R/chent.R
+++ b/R/chent.R
@@ -40,14 +40,13 @@
#' @param file The file to write to
#' @param dir The directory to write the file to
#' @examples
-#' oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE)
-#' print(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)
chent <- R6Class("chent",
public = list(
#' @field identifier (`character(1)`)\cr

Contact - Imprint