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

install_bitbucket - faulty path assembly when using subdir parameter #220

Closed
move bot opened this issue Oct 23, 2018 · 1 comment
Closed

install_bitbucket - faulty path assembly when using subdir parameter #220

move bot opened this issue Oct 23, 2018 · 1 comment

Comments

@move
Copy link

@move move bot commented Oct 23, 2018

@r-cheologist commented on Oct 23, 2018, 12:35 PM UTC:

Consider the following call:

> devtools::install_bitbucket('graumannlabtools/ReporteR', subdir = 'ReporteR.base')
Error in utils::download.file(url, path, method = download_method(), quiet = quiet,  :
cannot open URL 'https://api.bitbucket.org/2.0/repositories/graumannlabtools/ReporteR/src/master/ReporteR.baseDESCRIPTION'

If I, however help with a '/' like so:

> devtools::install_bitbucket('graumannlabtools/ReporteR', subdir = 'ReporteR.base/')
Downloading bitbucket repo graumannlabtools/ReporteR@master
...

it works - apparently a paste0 is used, where file.path ought to be?

Sincerely, Joh

This issue was moved by jimhester from r-lib/devtools#1899.

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

Successfully merging a pull request may close this issue.

None yet
1 participant