Changelog
Source:NEWS.md
zeallot 0.2.0
CRAN release: 2025-05-27
Breaking changes
-
The collector syntax has changed. The previous syntax
...was incompatible withR CMD checkand would raise the error “… may be used in an incorrect context”. The new syntax..(double dots instead of triple) avoids this error. (#62) The
destructuremethods for the Date, character, and complex classes have been removed.
New features
-
Values may now be assigned by name. The new syntax allows assigning a value to a variable by name instead of position. (#47)
-
For package developers, the new function
zeallous()will preventR CMD checkfrom raising visible binding errors for variables assigned using%<-%. Call the function from a package’s.onLoadfunction. (#57).onLoad <- function(libname, pkgname) { zeallous() }
Major improvements
-
Collector variables now default to an empty list instead of raising an error when there are no values to collect. (#56)
-
Trailing anonymous collectors and value skips no longer raise errors.
zeallot 0.1.0
CRAN release: 2018-01-28
Minor Improvements
- Removed outdate language in the unpacking assignment vignette. (#36)
Bug Fixes
- Destructuring objects with multiple classes will no longer raise a warning. (#35)
zeallot 0.0.6.1
Bug Fixes
- Resolved problem where collector variables would not be assigned the correct default value. (#34)
zeallot 0.0.5
CRAN release: 2017-08-25
Major Changes
- The bracket and colon syntax has been completely removed, users will now see an “unexpected call
{” error message when attempting to use the old syntax. Please use thec()syntax for the name structure.
Major Improvements
- A
%->%operator has been added. The right operator performs the same operation as%<-%with the name structure on the right-hand side and the values to assign on the left-hand side. -
=may be used to specify the default value of a variable. A default value is used when there are an insufficient number of values.
zeallot 0.0.3
CRAN release: 2017-02-27
- see 0.0.2.1 notes for additional updates
Minor Improvements
- Examples now consistently put spaces around colons separating left-hand side variables, e.g.
a : binstead ofa: b.
Bug Fixes
- When unpacking an atomic vector, a collector variable will now collect values as a vector. Previously, values were collected as a list (#14).