Merge branch '16-t-varop-mm' into 21-scalars
more careful about PROTECT (both ways)
Merge branch '23-applydefine' into 24
make R_EmptyEnv be a constant
Merge branch '21-scalars' into 24