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
When subsequently running renv::restore() on a different machine, I get an error because it attempts to download from: https://api.bitbucket.org/2.0/d-sci/exemplrDependency/get/e747b3b9d19befa297f3ca5c818105f2ec7f98ef.tar.gz
and gets a 404.
To solve this, I had to manually update the RemoteHost to bitbucket.org so that it would (successfully) attempt to download from https://bitbucket.org/d-sci/exemplrDependency/get/e747b3b9d19befa297f3ca5c818105f2ec7f98ef.tar.gz
Indeed, it seems that renv simply can't install bitbucket remotes due to this issue:
> renv::install('bitbucket::d-sci/exemplrDependency')
Retrieving 'https://api.bitbucket.org/2.0/d-sci/exemplrDependency/get/e747b3b9d19befa297f3ca5c818105f2ec7f98ef.tar.gz' ...
Warning messages:
1: curl: (22) The requested URL returned error: 404
2: curl: (22) The requested URL returned error: 404
even though remotes::install_bitbucket('d-sci/exemplrDependency') works.
Of note, remotes seems to know to convert to the appropriate URL:
When snapshotting or discovering a bitbucket package
bitbucket::d-sci/exemplrDependency
, my renv.lock file was updated like:When subsequently running
renv::restore()
on a different machine, I get an error because it attempts to download from:https://api.bitbucket.org/2.0/d-sci/exemplrDependency/get/e747b3b9d19befa297f3ca5c818105f2ec7f98ef.tar.gz
and gets a 404.
To solve this, I had to manually update the
RemoteHost
tobitbucket.org
so that it would (successfully) attempt to download fromhttps://bitbucket.org/d-sci/exemplrDependency/get/e747b3b9d19befa297f3ca5c818105f2ec7f98ef.tar.gz
Indeed, it seems that renv simply can't install bitbucket remotes due to this issue:
even though
remotes::install_bitbucket('d-sci/exemplrDependency')
works.Of note,
remotes
seems to know to convert to the appropriate URL:That
exemplrDependency
is a dummy, public repo so you should be able to recreate all this without any auth.The text was updated successfully, but these errors were encountered: