webchem v1.1.0
NEW FEATURES
- Download images of substances from Chemical Identifier Resolver (CIR) with
cir_img()
. - Download images of substances from ChemSpider with
cs_img()
. find_db()
checks if a query gets a hit in most databases integrated in webchem. Useful for deciding which of several databases to focus on given a set of chemicals.
MINOR IMPROVEMENTS
- Most functions now use httr::RETRY() to access webservices.
- Verbose messages are now harmonized.
- The
"type"
argument inci_query()
andaw_query()
has been changed to"from"
for consistency with other functions. fn_percept()
andcts_compinfo()
now have"query"
and"from"
arguments for consistency with other functions.- Possible values for
"from"
have been made more consistent across functions. pc_synonyms()
,cts_convert()
,cir_query()
have been changed to use thematch
argument instead ofchoices
for consistency with other functions.get_etoxid()
output changed slightly so that the matched chemical name string no longer includes the etoxid in parentheses.is.cas()
is now vectorized.
BUG FIXES
- Fix URL encoding so SMILES queries don't fail on some special characters.