The collector syntax has changed. The previous syntax ... was incompatible
with R CMD check and would raise the error "... may be used in an incorrect
context". The new syntax .. (double dots instead of triple) avoids this
error. (#62)
# new
c(x, ..) %<-% list(1, 2, 3)
# old
c(x, ...) %<-% list(1, 2, 3)
The destructure methods for the Date, character, and complex classes have
been removed.
Values may now be assigned by name. The new syntax allows assigning a value to a variable by name instead of position. (#47)
c(disp=, gear=) %<-% mtcars
For package developers, the new function zeallous() will prevent
R CMD check from raising visible binding errors for variables assigned using
%<-%. Call the function from a package's .onLoad function. (#57)
.onLoad <- function(libname, pkgname) {
zeallous()
}
Collector variables now default to an empty list instead of raising an error when there are no values to collect. (#56)
c(x, ..y) %<-% list(1)
Trailing anonymous collectors and value skips no longer raise errors.
c(x, ..) %<-% list(1)
c(y, .) %<-% list(1)
Error messages have been simplified.
R versions >= 3.2 are formally supported.
[[, [, and $ allowing
assignment of parts of objects. The parent object must already
exist, otherwise an error is raised. (@rafaqz, #32){" error message when attempting to use the old syntax.
Please use the c() syntax for the name structure.%->% 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.c(). Documentation and vignettes has been updated
accordingly. Using the old syntax now raises a warning and will be removed in
future versions of zeallot. (@hadley, #21)%<-% can now be used for regular assignment. (@hadley, #17)... can now be used to skip multiple values without assigning those values
and is recommended over the previously suggested ..... (@hadley, #18)massign() is no longer exported.a : b instead of a: b.Not on CRAN, changes will appear under version 0.0.3
Added missing URL and BugReports fields to DESCRIPTION
Fixed broken badges in README