Currently we use implicit renv snapshots with dependencies.R + .renvignore to achieve a similar effect to explicit snapshots with a DESCRIPTION file. Explicit snapshots would be a more natural and preferable approach, but the seemed not to work in deployment to RSConnect when box was used. It might possible to use them after all - see research below.
Research by Jakub
Initial tests: both renv and packrat read it out of the box.
renv works with a DESCRIPTIOPN file that includes only Imports section. packrat requires also Package.
Need to be tested with RSConnect Deployment.
Note: DESCRIPTION can be manipulated using desc package.
Currently we use implicit renv snapshots with
dependencies.R+.renvignoreto achieve a similar effect to explicit snapshots with aDESCRIPTIONfile. Explicit snapshots would be a more natural and preferable approach, but the seemed not to work in deployment to RSConnect when box was used. It might possible to use them after all - see research below.Research by Jakub
Initial tests: both
renvandpackratread it out of the box.renvworks with a DESCRIPTIOPN file that includes onlyImportssection.packratrequires alsoPackage.Need to be tested with RSConnect Deployment.
Note: DESCRIPTION can be manipulated using
descpackage.