[Rd] Change in lapply's missing argument passing

William Dunlap wdun|@p @end|ng |rom t|bco@com
Sat Jun 27 00:44:18 CEST 2020


Consider the following expression, in which we pass 'i=', with no value
given for the 'i' argument, to lapply.
    lapply("x", function(i, j) c(i=missing(i),j=missing(j), i=)
>From R-2.14.0 (2011-10-31) through R-3.4.4 (2018-03-15) this evaluated to
c(i=TRUE, j=FALSE).  From R-3.5.0 (2018-04-23) through R-4.0.0 (2020-04-24)
this evaluated to c(i=FALSE, j=TRUE).

Was this change intentional?

Bill Dunlap
TIBCO Software
wdunlap tibco.com

	[[alternative HTML version deleted]]



More information about the R-devel mailing list