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