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 --- R/chent.R | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'R') 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 -- cgit v1.2.1