NEWS | R Documentation |
New toml++ version 3.3.0 with fix to permit compilation on ancient macOS systems as used by CRAN for the Intel-based builds.
Explicitly set -DTOML_ENABLE_FLOAT16=0
to permit compilation
on some architectures stumbling of the type.
Rewritten in C++17 using toml++ for TOML v1.0.0 compliance
Unchanged interface from R, unchanged (and expanded tests)
Several small continuous integration upgrades since last release
Add #include <limits>
to header file, also contributed
upstream, to permit compilation under the (unreleased) g++-11
.
Switch the simple cleanup
script to sh
.
Switch CI use to r-ci for focal and bspm.
Update several TOML URLs to https://toml.io/en/
.
Propagate the escape
switch to calls of
getTable()
and getArray()
(Václav Hausenblas in
#32 completing #26).
The README.md
file now mentions TOML v0.5.0 support
(Watal Iwasaki in #35 addressing #33).
Encodings in arrays is to UTF-8 for character (Václav Hausenblas in #36 completing #28)
The package now uses tinytest (Dirk in #38 fixing #37, also Václav in #39).
Escape characters treatment now has toggle (Václav Hausenblas in #27 fixing #26)
The TOML 0.5.0 'time' type is now supported (somewhat) by returning a formatted string (#29)
Encodings are now supported by defaulting to UTF-8 (Václav Hausenblas in #30 fixing #28)
Spelling / grammar fixes to README (Jon Calder in #18)
Cast from StretchyList
to List
ensures lists
appear as List
objects in R
Support optional includize
pre-processor for recursive
includes by Dan Dillon as a header-only library (#21 and #22)
Support includize
argument in R and C++ parser interface
Added a few more #nocov
tags for coverage (#23)
Synchronized with new upstream cpptoml version supporting the TOML v0.5.0 specification. (#25)
Nested TableArray types are now correctly handled (#16)
Dates and Datetimes in arrays in the input now preserve their types instead of converting to numeric vectors (#13)
Boolean vectors are also correctly handled (#14)
TableArray types are now stored as lists in a single named list (#15)
The README.md file was expanded with an example and screenshot.
Added file init.c
with calls to R_registerRoutines()
and R_useDynamicSymbols()
; also use .registration=TRUE
in useDynLib
in NAMESPACE
Two example files were updated.
Synchronized multiple times with ccptoml upstream adding support for local datetime and local date and more (PR #9, #10, PR #11)
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
Output from print.toml
no longer prints extra newlines
Added Windows support by relying on Rcpp::mktime00()
(PR s#6 and #8 closing #5 and #3)
Synchronized with cpptoml
upstream (#9)
Updated Travis CI support via newer run.sh
Synchronized with cpptoml
upstream (PR #4)
Improved and extended examples
Minor update of upstream cpptoml.h
More explicit call of utils::str()
Properly cope with empty lists (#2)
First CRAN release after four weeks of initial development