Releases: SystemsBioinformatics/parcr
Releases · SystemsBioinformatics/parcr
parcr 0.6.1
Bug fix
-
function
str_match()did not emulatestringr::str_matchexactly. The latter
function only uses regular expressions. -
function
parser_error_context()caused an error when input had only a few
lines and the error occurred on the first few lines.
parcr 0.6.0
New feature
- Improved error messaging.
- The line where the parser fails is now displayed together with its context
- The error message mentions expected values. Some of these are
automatically inferred, whereas others can be induced by creating named
parsers
Bug fix
- The function
stringparser()depended onstringr::str_match(). However,
the dependency was not listed in DESCRIPTION. This may have led to errors when
thestringrpackage was not installed. The function has been fixed by
implementing it with base functions.
parcr 0.5.3
New feature
- Added a constructor function for string parsers using stringr::str_match()
because the pattern occurs very often in the construction of string parsers.
parcr 0.5.2
Bug fix
- Parser zero_or_one() was not greedy, meaning that it sometimes did not parse
input that it should be able to parse (see
issue #12).
New feature
- Added the function Ignore() which reads and discards all elements until the
end of a vector.
parcr 0.5.1
- Because of the use of base::isa() this package requires R 4.1 or higher,
not R 2.1. This has been corrected in the DESCRIPTION. Running on
ubuntu-latest and R 4.1 is checked by CI workflow on Github. - Minor corrections and additions to both vignettes.
parcr 0.5.0
- All function descriptions and documentation thoroughly reviewed and updated.
- Vignettes reviewed and updated.