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

Switch to fs #2331

Merged
merged 18 commits into from
Mar 26, 2021
Merged

Switch to fs #2331

merged 18 commits into from
Mar 26, 2021

Conversation

malcolmbarrett
Copy link
Contributor

This PR switches from base R file functions to fs. That was mostly a one-to-one switch (although I'm not 100% sure I translated all of the more esoteric base incantations correctly), but I did discover some subtle misbehavior in clean_vignettes() and its test expectations. This PR addresses those, as well: clean_vignette() now deletes empty doc and Meta folders

Closes #1826

@malcolmbarrett
Copy link
Contributor Author

Looks like that mac check failure just farted out while setting up. Not my fault 😇

@malcolmbarrett
Copy link
Contributor Author

I swapped out a use of file.path(tempdir(), ...) for path_temp(...), but I did not replace other uses of tempdir() as it seemed unnecessary. Happy to fully swap those if you think that's better

@jimhester
Copy link
Member

This looks great!

Thanks a bunch!

@jimhester jimhester merged commit d5901f8 into r-lib:master Mar 26, 2021
@malcolmbarrett
Copy link
Contributor Author

Awesome, thanks! Let me know if I can help with anything else 😄

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.

Convert to use fs
2 participants