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
My institution uses a drat repository in our GitHub Enterprise to distribute packages internally. Since renv 0.17.0renv::install() seems to fail for any package (even CRAN packages) when our drat repo is in my renv.lock.
I did some digging and it seems like the regression may have occurred at 62c73d9 where a warning was upgraded to an error in available-packages.R.
# Works but issues some warning messages due to the drat repo not serving binariesutils::install.packages("dplyr")
#> ...#> Warning: unable to access index for repository https://ezraporter.github.io/drat/bin/macosx/big-sur-arm64/contrib/4.2:#> cannot open URL 'https://ezraporter.github.io/drat/bin/macosx/big-sur-arm64/contrib/4.2/PACKAGES'#> ...
Ideally renv would also be able to install and track sources for packages downloaded from drat repos.
My institution uses a
drat
repository in our GitHub Enterprise to distribute packages internally. Sincerenv 0.17.0
renv::install()
seems to fail for any package (even CRAN packages) when ourdrat
repo is in myrenv.lock
.I did some digging and it seems like the regression may have occurred at 62c73d9 where a warning was upgraded to an error in
available-packages.R
.reprex
I created a
drat
repo at https://ezraporter.github.io/drat to show the issue:renv.lock
:Show error message
Ideally
renv
would also be able to install and track sources for packages downloaded fromdrat
repos.In
renv 0.16.0
, this works:where
dummypackage
is a package in https://ezraporter.github.io/drat.renv::snapshot()
generates the right thing in myrenv.lock
:In the latest development version:
However,
renv::snapshot()
doesn't generate the right thing:Session Info
Session Info
The text was updated successfully, but these errors were encountered: