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

running update_cache() in subfolder causes a new renv/ folder to be created #391

Closed
zkamvar opened this issue Feb 7, 2023 · 0 comments · Fixed by #392
Closed

running update_cache() in subfolder causes a new renv/ folder to be created #391

zkamvar opened this issue Feb 7, 2023 · 0 comments · Fixed by #392

Comments

@zkamvar
Copy link
Contributor

zkamvar commented Feb 7, 2023

In sarahkaspar/biostatistics-course#1 I had encountered a situation where the user attempted to run sandpaper::update_cache() while inside of the episodes/ folder (which is not an uncommon use case) and instead of fixing their issue, they accidentally committed the updated cache and all of the symbolic links to episodes/renv/

When update_cache() is run, it should first use root_path() to make sure it's in the correct part of the lesson

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 a pull request may close this issue.

1 participant