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

tests/testthat/cleanup_temp.R should arguably fully clean up /tmp but doesn't #402

Open
malcook opened this issue Sep 5, 2024 · 2 comments

Comments

@malcook
Copy link

malcook commented Sep 5, 2024

The tests in tests/testthat/cleanup_temp.R should probably fully delete all the files it creates in the temp directory.

This can be achieved by adding a call to gs_cleanup_temp(gs_untouched) at the end

I discovered this while running the tests by hand as part of studying them to understand how these functions worked since I was running out of disk during a long running data-intensive session involving flowWorkspace.

@mikejiang
Copy link
Member

The test data generated in temp folder in unit test is pretty small, I doubt this was the major source of contribution to your out of disk problem

@malcook
Copy link
Author

malcook commented Sep 5, 2024 via email

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

No branches or pull requests

2 participants