Skip to content
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

Daemon cleanup does not record initial state of global environment #91

Closed
shikokuchuo opened this issue Dec 28, 2023 · 0 comments · Fixed by #92
Closed

Daemon cleanup does not record initial state of global environment #91

shikokuchuo opened this issue Dec 28, 2023 · 0 comments · Fixed by #92
Labels
bug Something isn't working

Comments

@shikokuchuo
Copy link
Owner

As identified by @noamross in #90 (comment),:

daemon() cleanup does not currently restore objects in the global environment to an initial state - as the initial state is not recorded.

Instead, it is incorrectly assumed that .Random.seed is the only object.

This is not necessarily the case if

(i) it is called interactively with objects already in the global environment, or
(ii) these are created by R startup files such as .Rprofile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant