Added basic checking of the options list together with some testthat code for checking whether this works.
Small modifcations in the parser and included checker.