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

Move prex_*() output files to a temp dir #380

Closed
jennybc opened this issue Jun 17, 2021 · 1 comment
Closed

Move prex_*() output files to a temp dir #380

jennybc opened this issue Jun 17, 2021 · 1 comment

Comments

@jennybc
Copy link
Member

jennybc commented Jun 17, 2021

Several of us have noticed that prex_*() functions now leave their files in current working directory. I'm not completely sure if this is new behaviour, but it doesn't really matter. Consider whether to move these files to a temp dir. On the surface, seems like it should be fine, but I need to analyze it more carefully.

@jennybc
Copy link
Member Author

jennybc commented Jun 25, 2021

FWIW I did verify that this is changed behaviour between v1.0.0 and v2.0.0. Root cause is the location of input (below temp dir in v1.0.0 vs. in working directory in v2.0.0). We need to be cool with writing the reprex file to one place (below temp dir), even though we're going to tell knitr to work in current working directory.

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

1 participant