From e92727f871c2c8217251e34e52438f18c5f013bb Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sun, 12 Nov 2023 22:22:30 +0100 Subject: Import URLencode from utils, rebuild docs This was caught by pkgdown apparently not loading the utils package by default. --- docs/reference/Rplot001.png | Bin 1011 -> 20412 bytes docs/reference/chent.html | 29 +++++++++++++++++++++++------ docs/reference/pai.html | 14 +++++++++++++- docs/reference/plot.chent.html | 18 +++++++++++++++--- 4 files changed, 51 insertions(+), 10 deletions(-) (limited to 'docs/reference') diff --git a/docs/reference/Rplot001.png b/docs/reference/Rplot001.png index 17a3580..0e4970e 100644 Binary files a/docs/reference/Rplot001.png and b/docs/reference/Rplot001.png differ diff --git a/docs/reference/chent.html b/docs/reference/chent.html index cb0b1eb..2cedc00 100644 --- a/docs/reference/chent.html +++ b/docs/reference/chent.html @@ -771,25 +771,42 @@ Write an EMF image of the structure using
oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE)
 #> Trying to get chemical information from RDKit using user SMILES
 #> CCCCCCCCO
-#> Error in URLencode(self$identifier): could not find function "URLencode"
+#> Did not find chyaml file ./1-octanol.yaml
 print(oct)
-#> Error in eval(expr, envir, enclos): object 'oct' not found
+#> <chent>
+#> Identifier $identifier 1-octanol 
+#> InChI Key $inchikey 
+#> SMILES string $smiles:
+#>        user 
+#> "CCCCCCCCO" 
+#> Molecular weight $mw: 130.2 
 if (!is.null(oct$Picture)) {
   plot(oct)
 }
-#> Error in eval(expr, envir, enclos): object 'oct' not found
 
 caffeine <- chent$new("caffeine")
 #> PubChem:
 #> Trying to get chemical information from RDKit using PubChem_Canonical SMILES
 #> CN1C=NC2=C1C(=O)N(C(=O)N2C)C
-#> Error in URLencode(self$identifier): could not find function "URLencode"
+#> Did not find chyaml file ./caffeine.yaml
 print(caffeine)
-#> Error in eval(expr, envir, enclos): object 'caffeine' not found
+#> <chent>
+#> Identifier $identifier caffeine 
+#> InChI Key $inchikey RYYVLZVUVIJVGH-UHFFFAOYSA-N 
+#> SMILES string $smiles:
+#>              PubChem_Canonical 
+#> "CN1C=NC2=C1C(=O)N(C(=O)N2C)C" 
+#> Molecular weight $mw: 194.2 
+#> PubChem synonyms (up to 10):
+#>  [1] "caffeine"                "58-08-2"                
+#>  [3] "Guaranine"               "1,3,7-Trimethylxanthine"
+#>  [5] "Methyltheobromine"       "Theine"                 
+#>  [7] "Thein"                   "Cafeina"                
+#>  [9] "Koffein"                 "Mateina"                
 if (!is.null(caffeine$Picture)) {
   plot(caffeine)
 }
-#> Error in eval(expr, envir, enclos): object 'caffeine' not found
+