r-devel / r-project-sprint-2023

Material for the R project sprint
https://contributor.r-project.org/r-project-sprint-2023/
17 stars 3 forks source link

Assess whether addition and use of local variables during S3 dispatch can be removed #64

Open gmbecker opened 1 year ago

gmbecker commented 1 year ago

Endorsed by Luke

Stop adding local variables in S3 generics to method evaluation. This very strange feature make reasoning about method code very hard. Can it be dropped without causing too much collateral damage?

aitap commented 10 months ago

See this R-devel thread and SVN revisions 85312, 85323, 85341. I don't see the packages listed as affected failing CRAN checks or being updated to fix this yet, but the work is evidently underway.