diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2023-11-12 22:22:30 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2023-11-12 22:22:30 +0100 |
commit | e92727f871c2c8217251e34e52438f18c5f013bb (patch) | |
tree | b6fd0c200d41cf5339e8e36a06d6b4d0c72daa3a /docs/reference/chent.html | |
parent | 9828b97fb946104f15e537fc6a53653f1bceb27d (diff) |
Import URLencode from utils, rebuild docs
This was caught by pkgdown apparently not loading the utils package by
default.
Diffstat (limited to 'docs/reference/chent.html')
-rw-r--r-- | docs/reference/chent.html | 29 |
1 files changed, 23 insertions, 6 deletions
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 <a href="https://rdrr.io/pkg/devEMF/ma <div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">oct</span> <span class="op"><-</span> <span class="va">chent</span><span class="op">$</span><span class="fu">new</span><span class="op">(</span><span class="st">"1-octanol"</span>, smiles <span class="op">=</span> <span class="st">"CCCCCCCCO"</span>, pubchem <span class="op">=</span> <span class="cn">FALSE</span><span class="op">)</span></span></span> <span class="r-msg co"><span class="r-pr">#></span> Trying to get chemical information from RDKit using user SMILES</span> <span class="r-msg co"><span class="r-pr">#></span> CCCCCCCCO</span> -<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in URLencode(self$identifier):</span> could not find function "URLencode"</span> +<span class="r-msg co"><span class="r-pr">#></span> Did not find chyaml file ./1-octanol.yaml</span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/print.html" class="external-link">print</a></span><span class="op">(</span><span class="va">oct</span><span class="op">)</span></span></span> -<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in eval(expr, envir, enclos):</span> object 'oct' not found</span> +<span class="r-out co"><span class="r-pr">#></span> <chent></span> +<span class="r-out co"><span class="r-pr">#></span> Identifier $identifier 1-octanol </span> +<span class="r-out co"><span class="r-pr">#></span> InChI Key $inchikey </span> +<span class="r-out co"><span class="r-pr">#></span> SMILES string $smiles:</span> +<span class="r-out co"><span class="r-pr">#></span> user </span> +<span class="r-out co"><span class="r-pr">#></span> "CCCCCCCCO" </span> +<span class="r-out co"><span class="r-pr">#></span> Molecular weight $mw: 130.2 </span> <span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="op">!</span><span class="fu"><a href="https://rdrr.io/r/base/NULL.html" class="external-link">is.null</a></span><span class="op">(</span><span class="va">oct</span><span class="op">$</span><span class="va">Picture</span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span> <span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/graphics/plot.default.html" class="external-link">plot</a></span><span class="op">(</span><span class="va">oct</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="op">}</span></span></span> -<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in eval(expr, envir, enclos):</span> object 'oct' not found</span> <span class="r-in"><span></span></span> <span class="r-in"><span><span class="va">caffeine</span> <span class="op"><-</span> <span class="va">chent</span><span class="op">$</span><span class="fu">new</span><span class="op">(</span><span class="st">"caffeine"</span><span class="op">)</span></span></span> <span class="r-msg co"><span class="r-pr">#></span> PubChem:</span> <span class="r-msg co"><span class="r-pr">#></span> Trying to get chemical information from RDKit using PubChem_Canonical SMILES</span> <span class="r-msg co"><span class="r-pr">#></span> CN1C=NC2=C1C(=O)N(C(=O)N2C)C</span> -<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in URLencode(self$identifier):</span> could not find function "URLencode"</span> +<span class="r-msg co"><span class="r-pr">#></span> Did not find chyaml file ./caffeine.yaml</span> <span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/print.html" class="external-link">print</a></span><span class="op">(</span><span class="va">caffeine</span><span class="op">)</span></span></span> -<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in eval(expr, envir, enclos):</span> object 'caffeine' not found</span> +<span class="r-out co"><span class="r-pr">#></span> <chent></span> +<span class="r-out co"><span class="r-pr">#></span> Identifier $identifier caffeine </span> +<span class="r-out co"><span class="r-pr">#></span> InChI Key $inchikey RYYVLZVUVIJVGH-UHFFFAOYSA-N </span> +<span class="r-out co"><span class="r-pr">#></span> SMILES string $smiles:</span> +<span class="r-out co"><span class="r-pr">#></span> PubChem_Canonical </span> +<span class="r-out co"><span class="r-pr">#></span> "CN1C=NC2=C1C(=O)N(C(=O)N2C)C" </span> +<span class="r-out co"><span class="r-pr">#></span> Molecular weight $mw: 194.2 </span> +<span class="r-out co"><span class="r-pr">#></span> PubChem synonyms (up to 10):</span> +<span class="r-out co"><span class="r-pr">#></span> [1] "caffeine" "58-08-2" </span> +<span class="r-out co"><span class="r-pr">#></span> [3] "Guaranine" "1,3,7-Trimethylxanthine"</span> +<span class="r-out co"><span class="r-pr">#></span> [5] "Methyltheobromine" "Theine" </span> +<span class="r-out co"><span class="r-pr">#></span> [7] "Thein" "Cafeina" </span> +<span class="r-out co"><span class="r-pr">#></span> [9] "Koffein" "Mateina" </span> <span class="r-in"><span><span class="kw">if</span> <span class="op">(</span><span class="op">!</span><span class="fu"><a href="https://rdrr.io/r/base/NULL.html" class="external-link">is.null</a></span><span class="op">(</span><span class="va">caffeine</span><span class="op">$</span><span class="va">Picture</span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span></span> <span class="r-in"><span> <span class="fu"><a href="https://rdrr.io/r/graphics/plot.default.html" class="external-link">plot</a></span><span class="op">(</span><span class="va">caffeine</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="op">}</span></span></span> -<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in eval(expr, envir, enclos):</span> object 'caffeine' not found</span> +<span class="r-plt img"><img src="chent-1.png" alt="" width="700" height="433"></span> </code></pre></div> </div> </main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2> |