I am creating a project (not a package) using usethis::create_project
. I would like to make this a project for easy collaboration and reproducibility.
I understand that the renv
package aids in dependency management, and collaborators/reproducers can use renv::restore
to get all dependencies. I also understand that I can use the Imports field in the DESCRIPTION file to state dependencies, and collaborators/reproducers can use devtools::load_all
to load the project dependencies.
Is there an advice on which of the two options to use? Or use both? And if so, do they interact?