Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitbucket remote #293

Closed
kellijohnson-NOAA opened this issue Feb 13, 2019 · 2 comments
Closed

bitbucket remote #293

kellijohnson-NOAA opened this issue Feb 13, 2019 · 2 comments

Comments

@kellijohnson-NOAA
Copy link

kellijohnson-NOAA commented Feb 13, 2019

Getting an error in

install_github("nwfsc-assess/VASTWestCoast")

because I have a bitbucket remote as well as github remotes. It is trying to find the bitbucket repository using the following URL which is listed in the error I received from R version 3.5.2 on a Windows machine

Downloading GitHub repo nwfsc-assess/VASTWestCoast@master
Error in utils::download.file(url, path, method = download_method(), quiet = quiet,  : 
  cannot open URL 'https://api.github.com/repositories/hrue/r-inla/src/default/rinla/DESCRIPTION'

my remote section of my DESCRIPTION file looks like

Remotes: 
    github::James-Thorson/FishData, 
    bitbucket::hrue/r-inla/rinla@default,
    github::James-Thorson/FishStatsUtils, 
    github::James-Thorson/ThorsonUtilities, 
    github::James-Thorson/VAST, 
    github::nwfsc-assess/nwfscSurvey
@antoine-sachet
Copy link
Contributor

Symptom for #337 and #342

Currently the host of the package is passed to the dependency (#337) hence what you are observing. If you change the code to avoid passing the host to the dependencies, it still won't work because the default bitbucket host in bitbucket_remote is NULL (#342), so you'll get this error:

Error in utils::download.file(url, path, method = download_method(), quiet = quiet,  : 
  cannot open URL 'https://repositories/hrue/r-inla/src/default/rinla/DESCRIPTION'

@jimhester
Copy link
Member

This is now installs without an error in the current devel version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants