Skip to content

scribe 0.3.0

Latest
Compare
Choose a tag to compare
@jmbarbone jmbarbone released this 22 Oct 20:07

Breaking changes

  • $convert field now defaults to the newly exported scribe_convert() helper
    • This selects one of three conversions: 1) default (see next bullet), 2) string evaluation, and 3) no conversion.
    • default conversions use value_convert(), which internally uses utils::type.convert() (and some additional steps for dates. Be aware that type.convert("1", as.is = TRUE) will return integers, and a decimal should be included if a numeric is desired (e.g., type.convert("1.", as.is = TRUE)
    • previously, a prototype could be set (e.g., convert = character()), which will now fail but can be replaced with a simple function (e.g., convert = as.character).

Bug fixes

  • convert is no longer ignored when set in scribeArg #70

New features

  • flag action now accepts NA as a default #67

Non-user facing changes