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

Don't copy mode to temp file #188

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MichaelChirico
Copy link
Contributor

We run tests where the package directory lacks write permissions, but tempdir() is fine. Copying to tempdir() while maintaining the original permissions partially defeats the purpose.

This is a broader problem that mainly appears to affects us (I don't know of any CRAN policy about assuming write permissions in the test directory), but the fix here is simple enough that I'm offering this PR.

Feel free to reject if you'd rather not worry about this and we'll just keep a patch.

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.

1 participant