Skip to content

install_bitbucket - faulty path assembly when using subdir parameter #220

@ghost

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions