Desired goal: have
install.packages("mypkg") install the the latest version of dependency package
pkgx from local package manager.
Current approach: To get the latest dependency package,
pkgx, installed as part of installing
mypkg, I have used
DESCRIPTION file of
The relevant chunk of
DESCRIPTION looks like below
Imports: pkgx Remotes: git::https://internalgithub.com/myrepo/pkgx.git@master,
I can try to point installation to pkg-manager via
url:: as given below
Imports: pkgx Remotes: url::http://internal-rstudio-pkgmanager.com/internalpkgs/latest/src/contrib/mypkg_0.0.0.9001.tar.gz,
This almost works except it is pointing to a specific version as opposed to the latest.
Question: Is there a way to ensure internal
pkgx is installed (note there is a CRAN version of
pkgx that I don't want) without having to rely the user of
mypkg having to get the
repos specified correctly at the install?