Skip to content

Force rlang bindings on unload #157

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

Merged
merged 2 commits into from
Jun 14, 2021
Merged

Force rlang bindings on unload #157

merged 2 commits into from
Jun 14, 2021

Conversation

lionel-
Copy link
Member

@lionel- lionel- commented Apr 30, 2021

To prevent lazy rlang bindings to be resolved in the new partially created namespace when forced from pkgload itself.

@lionel-
Copy link
Member Author

lionel- commented Apr 30, 2021

Actually we should probably unconditionally force on unload for all packages, in case of dangling references. Otherwise unforced lazy bindings get decompress errors if the namespace is unloaded and inconsistency issues if it is reloaded. What do you think Jim?

@jimhester
Copy link
Member

yeah I think forcing on unload unconditionally seems like the right approach.

@lionel- lionel- force-pushed the rlang-force branch 2 times, most recently from 53c20c8 to 5e3e21b Compare April 30, 2021 12:08
@lionel- lionel- requested a review from jimhester April 30, 2021 12:23
@lionel-
Copy link
Member Author

lionel- commented Jun 14, 2021

Is this ready to be merged @jimhester?

@jimhester
Copy link
Member

Sure you can merge it whenever you are ready, thanks for the ping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants