diff options
Diffstat (limited to 'man')
| -rw-r--r-- | man/chent.Rd | 3 | ||||
| -rw-r--r-- | man/pai.Rd | 3 | ||||
| -rw-r--r-- | man/plot.chent.Rd | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/man/chent.Rd b/man/chent.Rd index 464c759..b348070 100644 --- a/man/chent.Rd +++ b/man/chent.Rd @@ -12,6 +12,8 @@ information is retrieved from the internet. Additionally, it can be generated using RDKit if RDKit and its python bindings are installed. } \examples{ +# Don't run examples per default, as PubChem may be unavailable +\dontrun{ caffeine <- chent$new("caffeine") print(caffeine) if (!is.null(caffeine$Picture)) { @@ -20,6 +22,7 @@ if (!is.null(caffeine$Picture)) { oct <- chent$new("1-octanol", smiles = "CCCCCCCCO", pubchem = FALSE) print(oct) } +} \section{Public fields}{ \if{html}{\out{<div class="r6-fields">}} \describe{ @@ -14,6 +14,8 @@ the complete result of querying the BCPC compendium using \link[webchem:bcpc_query]{bcpc_query}. } \examples{ +# Don't run examples per default, as PubChem may be unavailable +\dontrun{ atr <- pai$new("atrazine") print(atr) if (!is.null(atr$Picture)) { @@ -23,6 +25,7 @@ if (!is.null(atr$Picture)) { decanol <- pai$new("1-Decanol") print(decanol) } +} \section{Super class}{ \code{\link[chents:chent]{chents::chent}} -> \code{pai} } diff --git a/man/plot.chent.Rd b/man/plot.chent.Rd index ecaa01b..1ac1be6 100644 --- a/man/plot.chent.Rd +++ b/man/plot.chent.Rd @@ -15,9 +15,12 @@ Plot method for chent objects } \examples{ +# Don't run examples per default, as PubChem may be unavailable +\dontrun{ caffeine <- chent$new("caffeine") print(caffeine) if (!is.null(caffeine$Picture)) { plot(caffeine) } } +} |
