I'm running into some problems when installing and resolving dependencies for packages that imports/depends on packages in a private github repo.
> deps <- devtools::dev_package_deps(dependencies = TRUE)
Using GitHub PAT from envvar GITHUB_PAT
Using GitHub PAT from envvar GITHUB_PAT
Error in data.frame(package = package, installed = installed, available = available, :
row names contain missing values
>
The issue seems to be that we are not authenticating to Github when trying to resolve the package name. We then end up getting an error message when trying to construct a data.frame of named vectors with NA names.
I'm submitting a pull request for a solution where we:
- Use the oath_token to authenticate before downloading the DESCRIPTION file.
- Download the description from https://raw.githubusercontent.com/user/repo/... instead of https://github.com/user/repo/RAW/.... For some reason the latter approach doesn't seem to work.
I'm running into some problems when installing and resolving dependencies for packages that imports/depends on packages in a private github repo.
The issue seems to be that we are not authenticating to Github when trying to resolve the package name. We then end up getting an error message when trying to construct a
data.frameof named vectors withNAnames.I'm submitting a pull request for a solution where we: