Skip to content

Releases: MatthewHeun/matsindf

v0.4.8

01 Feb 12:23
Compare
Choose a tag to compare

matsindf 0.4.8 (2024-01-31)

  • Fixed a bug wherein passing NULL in all named arguments to matsindf_apply()
    caused an error.
    Doing so now leads to a list of empty lists.
  • Tests now run in parallel.
  • Throughout the test suite,
    now have better matrix equality tests
    that are agnostic to matrix class.
  • Improved speed of collapse_to_matrices() by a factor of 3.

v0.4.7

21 Dec 13:37
Compare
Choose a tag to compare

matsindf 0.4.7 (2023-12-20)

  • Added statement of need to README file.
  • No new tests.
    • Still at 377 tests, all passing.
    • Test coverage remains at 100%.

v0.4.6

10 Dec 16:41
Compare
Choose a tag to compare

matsindf 0.4.6 (2023-12-09)

  • Fix pkgdown website on GitHub.
  • No new tests.
    • Still at 377 tests, all passing.
    • Test coverage remains at 100%.

v0.4.5

02 Dec 14:16
Compare
Choose a tag to compare

matsindf 0.4.5 (2023-12-01)

  • Added code of conduct and contributing pages to documentation.
  • No new tests.
    • Still at 377 tests, all passing.
    • Test coverage remains at 100%.

v0.4.4

18 Aug 18:49
Compare
Choose a tag to compare

matsindf 0.4.4 (2023-08-18)

  • Fixed a bug in matsindf_apply() where a
    a data frame column with some named elements
    and some unnamed elements led to the unnamed elements
    yielding 0 or NULL results after FUN was applied.
    The fix was to unname() everything before calling
    purrr::transpose().
  • Added a line break and separator in df_to_msg()
    to make error reports easier to read.
  • One new test.
    • Now at 377 tests, all passing.
    • Test coverage remains at 100 %.

v0.4.3

23 May 20:11
Compare
Choose a tag to compare

matsindf 0.4.3 (2023-05-23)

  • Deprecated matrix.class argument.
    It will be removed soon.
  • Renamed matrix.class argument to matrix_class.
  • New tests for deprecations.
    • Now at 376 tests, all passing.
    • Test coverage remains at 100 %.

v0.4.2

04 May 15:52
Compare
Choose a tag to compare

matsindf 0.4.2 (2023-05-04)

  • Move to latest version of GitHub test coverage workflow.
  • This version not released to CRAN.
  • No new tests.
    • Still at 374 tests, all passing.
    • Test coverage remains at 100 %.

v0.4.1

26 Apr 18:27
Compare
Choose a tag to compare

matsindf 0.4.1 (2023-04-26)

  • The mapping of length-1 strings in the ... argument of
    matsindf_apply() now extends to default arguments of FUN.
  • The rewrite of matsindf_apply() enables better error and warning messages in many places.
  • Rewrote all of matsindf_apply().
    It was a complete mess!
    Hopefully, it is now easier to debug and maintain.
    • matsindf_apply() now correctly returns a list when lists are provided in the ... argument.
      Previously, it incorrectly returned a data frame.
    • matsindf_apply() now correctly disallows any unused arguments supplied in its ... argument.
      Previously, some unused argument situations were not flagged as errors,
      despite documentation saying they would be.
    • matsindf_apply() now gives warning messages when an argument to FUN cannot be found
      in any of ..., .dat, or defaults to FUN.
      This condition may be OK, and the caller can suppress the warning by passing
      .warn_missing_FUN_args = FALSE to matsindf_apply().
    • matsindf_apply() now gives more descriptive error messages.
    • matsindf_apply() now allows more options for incoming data.
    • matsindf_apply() now tries really hard to deal with empty inputs,
      falling back to returning the original input
      unmodified (except possibly wrapped in a list()) when
      the input has zero rows (in the case of a data frame)
      or zero length (in the case of lists).
  • Many new tests to verify that the package works after rewriting matsindf_apply().
    • Now at 374 tests, all passing.
    • Test coverage remains at 100 %.

v0.4.0

09 Mar 19:22
Compare
Choose a tag to compare

matsindf 0.4.0 (2023-03-07)

  • All functions now work with both matrix and Matrix objects,
    thereby enabling use of sparse matrices.
    Use matsbyname::Matrix() to create sparse matrices
    as appropriate.
  • mat_to_rowcolval() now accepts Matrix objects
    in the .matrix argument.
  • rowcolval_to_mat() gains a matrix.class argument
    that specifies whether a matrix or a Matrix
    should be created.
  • Many new tests to verify that the package works with Matrix objects.
    • Now at 323 tests, all passing.
    • Test coverage remains at 100 %.

v0.3.12

25 Jan 02:06
Compare
Choose a tag to compare

matsindf 0.3.12 (2023-01-24)

  • Fixed a differential error message challenge for tests.
  • Move tests associated with verify_cols_missing()
    from the Recca package to matsindf.
    Those tests didn't belong in Recca.
  • Updated to the latest version of the github actions
    continuous integration workflow.
  • Better docs for expand_to_tidy().
  • New function matrix_cols() tells which columns contain matrices,
    either in the any() sense or in the all() sense.
  • Improved matsindf_apply() primer vignette
    discusses how to handle heterogeneous arguments
    types to FUN.
  • New tests to verify matsindf_apply() when using string arguments to FUN.
    • Now at 209 tests, all passing.
    • Test coverage remains at 100 %.