CRAN errors on recent R-devel
Closed this issue · 3 comments
This is intended as a heads-up before many upcoming errors in CRAN checks.
Starting from R-devel version "2020-05-09 r78394", CRAN checks produce errors with the same message "'where' must be an environment" (for example, see this log). This comes from base::bquote(...)
, which is used in ellipsis:::exit_handler(action)
.
Current CRAN version of 'ellipsis' has implementation of exit_handler()
using bquote()
with where
argument being a list. Recent update in R-devel explicitly prohibited where
to be anything other than environment (see this commit on R-devel). This seems to be the root cause of errors.
on_exit()
implementation in development version is different and is using eval()
(changed in this commit), which might have already fixed the issue, but is not yet on CRAN.
cc @hadley, @lionel- , as this seems to be important ('ellipsis' is used in 'tidyr', which has many reverse dependencies).
Context: https://bugs.r-project.org/bugzilla/show_bug.cgi?id=16538
Thanks we'll prepare a release soonish.