-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feedback Florian K. #24
Comments
Yes, packages can be installed from any weblink. The
I think explaining that {renv} shims |
Ope, yes this should! |
I've corrected this. I originally had the exercise set-up slightly differently, but did not update this text.
The rendering failure is intentional! I want people to go through precisely these steps. |
24 feedback florian k Closes #24
Maybe I missed it, but what was your answer to this?
I'm also asking because I'm interested to hear your thoughts on it. |
I made some relevant edits in the renv-exercises repo which haven't been integrated yet. I'm indifferent on the creation of a |
Ah, I see.
Alright, just wondered whether you had in mind an entirely different way of handling this. |
Overall, I found the introduction to renv to be very helpful and understandable! I have created one pull request each for both repos with smaller fixes (mostly typos: #19 and lmu-osc/introduction-to-renv-exercises#3), feel free to accept or reject them. I have also created four issues (#20, #21, #22, #23) before creating this summary issue with all remaining (small) notes. But again, I deem it already a very worthwhile tutorial!
Background
Reproducibility
Technical definitions
install.packages()
? Maybe rather use r-universe as a second example.R Package Managers
{renv}
Quick start
Caching
Exercises > Explicitly Record
During this step I get "No issues found -- the project is in a consistent state."
Therefore, running
renv::restore()
, as is suggested next, leads to "The library is already synchronized with the lockfile."Rendering then fails due to the missing
maps
package, which I add to the lock file usingrenv::record("maps")
. Only then therenv::restore()
installs the missing package.Also, now I'm warned that the project is out of sync due to the {maps} package that is recorded but seemingly not used. Is it supposed to be warn me? From the documentation I gather that the recommended way is to create a file called
_dependencies.R
withlibrary()
calls.Optional content >
embed()
anduse()
renv::embed()
or a lockfile"?Open questions
install.packages()
is altered in a repo which is controlled by renv?I really liked it when you explained the three columns reported by
renv::status()
in {renv} > Starting Details > Status and Snapshot > Status.renv::snapshot()
will updaterecorded
according toused
renv::record()
will updaterecorded
renv::restore()
will updateinstalled
according torecorded
install.packages()
will updateinstalled
The text was updated successfully, but these errors were encountered: