Lock a version that works. Without with, the R version might simply be the latest. What works on the "latest" now may not work on a future "latest" version.
Lock a version whose results can be reproduced on a contributor's machine (e.g., Arthur's). This might mean to favor the currently installed version. This will enable local replication of errors that might arise.
Why
Two reasons:
with
, the R version might simply be the latest. What works on the "latest" now may not work on a future "latest" version.How
See usage examples here