Skip to content

webchem v1.1.0

Compare
Choose a tag to compare
@stitam stitam released this 03 Oct 06:37
· 361 commits to master since this release
aff321f

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 in ci_query() and aw_query() has been changed to "from" for consistency with other functions.
  • fn_percept() and cts_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 the match argument instead of choices 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.