Fixes for C API compliance.
Switched from CHANGELOG to
NEWS.md.
stdio.h and
stddef.h.verbatim_logical helper function.sprintf. Changed in included clib to
snprintf.as.yaml
relied on.read_yaml parameter readLines.warn
that defaults to TRUE for overriding warnings about
incomplete files.BUILTINSXP functions as
handlers.eval.expr default to FALSE.merge.precedence option to
yaml.load.!bool tag (reported
by Luke Goodsell).-Wall warnings to appease CRAN.as.yaml.as.yaml.as.yaml.as.yaml representation of very small negative
floating point numbers (reported by Ryan Welch).int#base60 tag
(reported by Nancy Irisarri).eval.expr option to yaml.load
function.error.label argument (patch by Gregory
R. Warnes).MARK_NOT_MUTABLE instead of SET_NAMED,
which is deprecated.read_yaml and write_yaml convenience
functions.error.label parameter to yaml.load
and yaml.load_file.yaml_char_t, and
vice versa.memcpy to
memmove.as.yaml to control how
many digits are printed when emitting.Inf,
-Inf, NaN, NA, TRUE,
and FALSE (bug submitted by Richard Cotton).
Inf is emitted as .inf.-Inf as -.inf.NaN as .nan.TRUE is now emitted as yes, and
FALSE as no.NA: .naNA_real_: .na.realNA_integer_: .na.integerNA_character_: .na.characterunicode option to as.yaml() (bug
submissions by Gergely Daróczi and Aleksandar Blagotić).yaml.load() ignoring explicit quotes around
strings (bug submitted by Jonas Zimmermann).as.yaml() not quoting strings that need to be
quoted.lang5() function for backwards compatibility
with R < 2.12.0 (bug submitted by Philipp Hofmann).as.yaml() converting numeric vectors incorrectly
(bug submitted by Markus Göker).as.yaml in C (using libyaml’s emitter).pre.indent option to as.yaml,
mainly because libyaml doesn’t support pre-indention and I’m not sure
the option is useful anymore; will revisit if requested.yaml.load("[1, [2, 3], 4]") returns
list(1L, c(2L, 3L), 4L).!expr tag).as.yaml (converts
to a sequence).yaml.load_file function to read from
files/connections.format instead of as.character now
in as.yaml.default.as.yaml bug where a nested empty list wasn’t
converted correctly.yaml.load will now load empty documents (bug submitted
by Jeff Klingner).as.yaml will return '[]' for empty objects
(patch submitted by Brendan O’Connor).as.yaml will now create valid YAML for a list that
contains a list of length one (bug submitted by Gabor
Grothendieck).