Skip to contents

Construct a list to be passed the git_pkgs argument of rix The list returned contains the information necessary to have nix attempt to build the packages from their external repositories.

Usage

renv_remote_pkgs(renv_lock_remote_pkgs, host = NULL)

Arguments

renv_lock_remote_pkgs

the list of package information from an renv.lock file.

host

the host of remote package, defaults to NULL meaning the RemoteHost of the renv entry will be used. currently supported hosts: 'api.github.com' 'gitlab.com' see remotes for more.

Value

a list of lists with three elements named: "package_name", "repo_url", "commit"

Examples

if (FALSE) { # \dontrun{
renv_remote_pkgs(read_renv_lock()$Packages)
} # }