It looks like pak has its own machinery for creating and installing from lockfiles, e.g.
pak::lockfile_create(<pkgs>)
pak::lockfile_install()
Is there a straightforward mechanism whereby lockfiles created by renv.lock could work here as well?
The main barrier I see is that one cannot yet create lockfiles from versioned R packages; e.g.
> pak::lockfile_create("rlang@0.4.12")
x Creating lockfile pkg.lock [66ms]
Error: Cannot install packages:
* rlang@0.4.12: Versioned CRAN packages are not implemented yet
If we had that, I think it would be straightforward for renv to create a list of versioned remotes that could be passed into pak.
It looks like
pakhas its own machinery for creating and installing from lockfiles, e.g.Is there a straightforward mechanism whereby lockfiles created by
renv.lockcould work here as well?The main barrier I see is that one cannot yet create lockfiles from versioned R packages; e.g.
If we had that, I think it would be straightforward for
renvto create a list of versioned remotes that could be passed intopak.