When dock_from_renv() is run the resulting dockerfile doesn't require the renv::restore() command to be executed with the same version of renv as specified in the lockfile. This could introduce errors if the exact version of renv is important.
I am submitting a PR to introduce an option into dock_from_renv() to allow the function to run the renv::restore() command in the dockerfile with the matching version renv from the lockfile.
When
dock_from_renv()
is run the resulting dockerfile doesn't require therenv::restore()
command to be executed with the same version of renv as specified in the lockfile. This could introduce errors if the exact version of renv is important.I am submitting a PR to introduce an option into
dock_from_renv()
to allow the function to run therenv::restore()
command in the dockerfile with the matching version renv from the lockfile.