The renv approach may be useful if you can convince your collaborators to buy into a project-centric approach. That is:
- The project containing your scripts is managed by
renv;
- Collaborators are able to open that project, and enter the appropriate
renv context upon opening the project,
- Users can then source the requisite files.
This is, admittedly, cumbersome for the simpler cases. We're currently investigating ways we can make it easier to share stand-alone reproducible R scripts with renv.
(You might also want to check out https://groundhogr.com/)