Skip to content

Releases: SystemsBioinformatics/parcr

parcr 0.6.1

17 Feb 09:45

Choose a tag to compare

Bug fix

  • function str_match() did not emulate stringr::str_match exactly. 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

15 Feb 15:28

Choose a tag to compare

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 on stringr::str_match(). However,
    the dependency was not listed in DESCRIPTION. This may have led to errors when
    the stringr package was not installed. The function has been fixed by
    implementing it with base functions.

parcr 0.5.3

18 Jul 09:17

Choose a tag to compare

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

07 Jun 07:09

Choose a tag to compare

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

31 Jan 13:23

Choose a tag to compare

  • 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

17 Jan 11:40

Choose a tag to compare

  • All function descriptions and documentation thoroughly reviewed and updated.
  • Vignettes reviewed and updated.