-
Notifications
You must be signed in to change notification settings - Fork 153
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
settings.json file with empty r.version causes failure #1353
Comments
My guess is the project contains an
Are you explicitly calling |
Not at all. We use a hydrate -> restore -> snapshot workflow You are correct that the project contains a renv/profiles/lesson-requirements/renv/settings.json with an empty R version, which was added in carpentries/sandpaper-docs@b9ec78a. I believe it's a holdover from when I first created the {renv} project back in January 2022, which created the settings.dcf file. I've taken a look at some of the more recent repositories. They do not have the settings (i.e. datacarpentry/r-socialsci), and yet they work with this version of {renv} so I believe this will be fixed if I remove the settings files. |
Thanks! I also pushed a bandaid to |
Once again, I am finding myself caught in a situation where something has changed and I do not know what it is. Here is a reprex (that uses the packages for {knitr}), but I will work on producing a minimal one:
reprex output
Session Information
And here is the trackeback of the error, but this points to the fact that {renv} is trying to load a project that has no R version attached.
The diff for the lockfile looks like this:
The text was updated successfully, but these errors were encountered: