Package to get CAS numbers from publicly available domains: DrugBank drug vocabulary, common chemistry API, PubChem
To use this package, you will need to install it directly from GitHub.
library(devtools)
install_github("charis-wong/rcas")
library(rcas)
getCAS("paracetamol")