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

Return a writeable dir from swirl_data_dir,_courses_dir #860

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

Conversation

ehmry
Copy link

@ehmry ehmry commented Feb 14, 2021

Swirl tries to download course data into the swirl package directory, which might be immutable. This is the case on NixOS where the system package manager is building the R environment.

I don't know if this patch is a reasonable solution, but I'd rather not file an issue without suggesting a fix.

If the swirl package directory is not writeable, return a "swirl"
sub-directory in the 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

Successfully merging this pull request may close these issues.

1 participant