We have an organisational GitLab server where we store some internal packages. For packageA
stored on GitLab to depend on another package (packageB
) stored on GitLab we have the equivalent lines in packageA
's DESCRIPTION
file:
Imports:
packageB
Remotes: url::https://gitlab.orgname.uk/packages/packageB/-/archive/master/packageB-master.zip
We want to install the uninstalled dependencies, but not install the the dependencies that are already installed (or ask us before installing them at least).
We install the package from GitLab using remotes::install_git()
. This seems to install packageB
even when already we have the latest version installed. Is there a way around this?