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

on.exit in tests? #233

Open
brodieG opened this issue Aug 3, 2017 · 0 comments
Open

on.exit in tests? #233

brodieG opened this issue Aug 3, 2017 · 0 comments
Milestone

Comments

@brodieG
Copy link
Owner

brodieG commented Aug 3, 2017

Currently not entirely sure when on.exit would get called. Maybe after eval of that same expression? Based on this it would seem so:

> eval(quote(on.exit(cat('hello\n'))))
hello

If so do we need another mechanism to register on.exit? Maybe not; after all typically on.exit is designed for when something fails, and those failures should be very rare with unitizer. Notwithstanding, it may still be desirable to have that fallback for stuff like Sys.setlocale, etc.

@brodieG brodieG added this to the 1.5.0 milestone Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant