NEWS.md
matsindf.Rmd vignette now uses the keep argument on matsbyname::hatize_byname().matsindf.Rmd vignette. Needed to supply the keep argument on hatize_byname().matsindf_apply().matsindf_apply() for functions similar in form to those in Recca.context() calls at top of test files.NULL .DF in matsindf_apply().dplyr, all calls to dplyr::group_by() now use .add argument instead of add argument.dplyr 1.0.0. Several tests in matsindf assumed that some dplyr functions returned data.frames. Now that many dplyr functions return tibbles, the matsindf tests needed to be rewritten. All tests pass vs. dplyr 0.8.5. One warning remains when testing matsindf with dplyr 1.0.0, namely that the add argument of group_buy() is deprecated. When dplyr 1.0.0 is released to CRAN, I will convert add to .add, per the dplyr authors’ recommendation.data.frame() has stringsAsFactors = TRUE by default. In R4.0.0, stringsAsFactors = FALSE will be the default. In one test (“small example works as expected”), I was relying on the current behavior (stringsAsFactors = TRUE). That reliance has been removed so that this test will also pass under R4.0.0.matrix objects now inherit from both matrix and array. Thus, code should no longer assume that class(A) returns an object of length 1 when A is a matrix. So, I eliminated all instances of class(A) == "matrix" in if statements in favor of inherits(A, "matrix"). See https://developer.r-project.org/Blog/public/2019/11/09/when-you-think-class.-think-again/index.html for more details.group_by_everything_except() to use a new helper function everything_except()
group_by_everything_except()
\dontrun{} –> \donttest{} in Roxygen examplesmatsindf functions.:= and .data at a high level.pkgdown documentation.rowtypes and coltypes arguments to expand_to_tidy and collapse_to_matrices functions are no longer NULL. Rather, they are “rowtypes” and “coltypes”.matsindf_apply primer to include sections on using matsindf_apply with a data frame and programming.index_column that ratios both numbers and matrices relative to an initial time.expand_to_tidy now accepts a named list of matrices as input.matsindf_apply now obtains named arguments from .DF when a name in .DF matches a name of an argument to FUN. This behavior is overridden by supplying a string argument in ... of matsindf_apply.matsindf_apply now accepts a list as input when arguments are all strings.