renv_remote_pkgs {rix} | R Documentation |
renv_remote_pkgs
Description
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
## Not run:
renv_remote_pkgs(read_renv_lock()$Packages)
## End(Not run)
[Package rix version 0.16.0 Index]