-
Remove calls to
std::sprintf()
. -
Support
=>
pipe-bind operator, to be introduced in R 4.1.0. -
Support
|>
pipe operator, to be introduced in R 4.1.0. -
Support raw string syntax, introduced in R 4.0.0.
- Ensure tests pass on platforms where
char
is unsigned. (#21)
- Register native routines.
- More work to ensure
sourcetools
can build on Solaris.
- More work to ensure
sourcetools
can build on Solaris.
- Relax C++11 requirement, to ensure that
sourcetools
can build on machines with older compilers (e.g. gcc 4.4).
- Disable failing tests on Solaris.
- Rename token type
ERR
toINVALID
to fix build errors on Solaris.
The first release of sourcetools
comes with a small set
of features exposed to R:
-
read(file)
: Read a file (as a string). Similar toreadChar()
, but faster (and maybe be optimized to use a memory mapped file reader in the future). -
tokenize_file(file)
: Tokenize an R script. -
tokenize_string(string)
: Tokenize a string of R code.