You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install a package from a github repository but the installation crashes with a strange behaviour.
devtools::install_github("mariodejung/cfpscripts", ref = "develop", dependencies = FALSE)
Using GitHub PAT from envvar GITHUB_PAT
Downloading GitHub repo mariodejung/cfpscripts@develop
from URL https://api.github.com/repos/mariodejung/cfpscripts/zipball/develop
Installing cfpscripts
Downloading GitHub repo mariodejung/rMQanalysis@develop
from URL https://api.github.com/repos/mariodejung/rMQanalysis/zipball/develop
Error in stop(github_error(request)) : Not Found (404)
The repository is private, so this is not very reproducible. But when I install my package, install_github starts to install another package which is defined in my DESCRIPTION file as Imports: and at that point, the function fails.
The package rMQanalysis is already installed, thats why I switched dependencies=FALSE.
The issue started with devtools 1.12.0... With 1.11.1 it works as expected. So maybe there is a bug.
The text was updated successfully, but these errors were encountered:
mariodejung
changed the title
devtools 1.12.0 install_github fails installing when Imports
devtools 1.12.0 install_github fails installing when Imports are defined.
Sep 27, 2016
hadley
added
bug
an unexpected problem or unintended behavior
install
reprex
needs a minimal reproducible example
and removed
bug
an unexpected problem or unintended behavior
labels
Nov 3, 2016
I am also seeing this on private repos that depend on other private repos - the error message is the same as you get if you try to access a private repo without the auth token. I have not reproduced this on public repos. I speculate that the process is seeing the import, assuming it is public and trying to download it without passing through the auth token.
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/
lockbot
locked and limited conversation to collaborators
Sep 18, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to install a package from a github repository but the installation crashes with a strange behaviour.
The repository is private, so this is not very reproducible. But when I install my package,
install_github
starts to install another package which is defined in my DESCRIPTION file asImports:
and at that point, the function fails.The package
rMQanalysis
is already installed, thats why I switcheddependencies=FALSE
.The issue started with devtools 1.12.0... With 1.11.1 it works as expected. So maybe there is a bug.
I already asked a question in stack overflow, but it took me some time to figure out where the problem is. http://stackoverflow.com/questions/39657795/problems-installing-r-package-via-devtools-install-github
If I remove the
Imports: rMQanalysis
or downgrade todevtools 1.11.1
everything works normal.The text was updated successfully, but these errors were encountered: