-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: use of NULL environment is defunct #1208
Comments
Unfortunately I can't reproduce this. Do you see the issue in other situations? |
This happens under > rlang:::cli_format_warning("Hi", rlang::empty_env())
Error in env_get(env, ".rlang_use_cli_format", default = default, inherit = TRUE, :
use of NULL environment is defunct |
This is traced back to: > rlang:::use_cli_format(rlang::empty_env())
Error in env_get(env, ".rlang_use_cli_format", default = default, inherit = TRUE, :
use of NULL environment is defunct |
Ah perhaps I needed dev vroom to reproduce? Either way I can reproduce your minimal reprex with |
Thanks @lionel- ! I don't know exactly why the |
Yes, I've just reproduced this issue with the dev version of both |
After #1176, I get the following error:
Here's an example:
Note that reading this file with
altrep = TRUE
or usingutils::read.csv()
(or any other reader that doesn't depend onrlang
) is ok. Moreover, other conditions can trigger the same error, such as setting.default
incol_types
with specific files. None of this happens with the CRAN version ofrlang
.This is traced back as follows:
The text was updated successfully, but these errors were encountered: