Skip to content

support for installation from renv.lock lockfile? #343

@kevinushey

Description

@kevinushey

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions