I tried my best to track this issue down, but it's been a bit tricky to navigate the pak private library and async. Hopefully I'm close enough that the bug report is useful.
Reproducing the error
I'm struggling to find a way to make a full reprex, but the situation is
Enterprise GitLab
Using username and access token configured via gitcreds
spec <- "pkgname=git::https://enterprise.com/org/pkgname.git"
prop <- pkgdepends::new_pkg_installation_proposal(spec)
prop$download()
# ℹ Getting 13 pkgs with unknown sizes
# ✖ Failed to download pkgname 0.0.0.9000 (source)
# ✔ Cached copy of RColorBrewer 1.1-3 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build
# ✔ Cached copy of colorspace 2.1-0 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build
# ✔ Cached copy of farver 2.1.1 (x86_64-pc-linux-gnu-ubuntu-22.04) is the latest build
# ...
# ✖ Failed to download 1 package.
I tried my best to track this issue down, but it's been a bit tricky to navigate the
pak
private library and async. Hopefully I'm close enough that the bug report is useful.Reproducing the error
I'm struggling to find a way to make a full reprex, but the situation is
gitcreds
Best effort at debugging
Given the remote,
DESCRIPTION
info usingpkgdepends:::type_git_get_data(remote)
async_git_download_repo(url, ref = sha, output = pkgdir)
(orgit_download_repo
)