Description Usage Arguments Value Author(s) See Also Examples
View source: R/ChemicalCuration.R
This basic function using string manipulation to test whether a CAS number is in the expected format. Useful to detect errors that occur in excel etc. Potential future extension: to return corrected CAS numbers (not yet implemented). This function checks if the string is longer than 7 and contains 3 dashes.
| 1 | CAS_test(CAS_RN)
 | 
| CAS_RN | Text string containing the CAS number to test. | 
Returns TRUE or FALSE (fails test).
Emma Schymanski <emma.schymanski@uni.lu>
| 1 2 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.