Following up on the somewhat important RcppTOML 0.1.0 releaseas which brought RcppTOML to Windows, we have a first minor update 0.1.1. Two things changed: once again updated upstream code from Chase Geigle‘s cpptoml which now supports Date types too, and we added the ability to parse TOML from strings as opposed to only from files.
TOML is a file format that is most suitable for configurations, as it is meant to be edited by humans but read by computers. It emphasizes strong readability for humans while at the same time supporting strong typing as well as immediate and clear error reports. On small typos you get parse errors, rather than silently corrupted garbage. Much preferable to any and all of XML, JSON or YAML — though sadly these may be too ubiquitous now.
TOML is making good inroads with newer and more flexible projects such as the Hugo static blog compiler, or the Cargo system of Crates (aka "packages") for the Rust language.
Changes in version 0.1.1 (2017-xx-yy)
Dates are now first class types, some support for local versus UTC times was added (though it may be adviseable to stick with UTC)
Parsing from (R) character variables is now supported as well
print.tomlno longer prints extra newlines