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
I encountered this issue when using the rstudio binary builds of R on Debian unstable, which is not an officially supported platform. As such this is a bit niche and might not be worth addressing.
The result is the equivalent of running options(HTTPUserAgent = character(0)) (see rstudio/r-builds#196 for background).
In this case, every attempt to run install() with renv 1.0.3 fails with:
options(HTTPUserAgent=character(0))
renv::install("tidyverse")
#> Error in if (!grepl("renv", agent)) {: argument is of length zero
The fix could be to set agent to NULL if it is equal to character(0). However, feel free to close this since it's probably not a likely scenario that others will run into unless they are using the rstudio R binaries on Debian testing or unstable.
The text was updated successfully, but these errors were encountered:
I encountered this issue when using the rstudio binary builds of R on Debian unstable, which is not an officially supported platform. As such this is a bit niche and might not be worth addressing.
The result is the equivalent of running
options(HTTPUserAgent = character(0))
(see rstudio/r-builds#196 for background).In this case, every attempt to run
install()
with renv 1.0.3 fails with:Created on 2024-01-09 with reprex v2.0.2
This is because of this internal function:
renv/R/http.R
Lines 2 to 5 in de3af61
The fix could be to set
agent
to NULL if it is equal tocharacter(0)
. However, feel free to close this since it's probably not a likely scenario that others will run into unless they are using the rstudio R binaries on Debian testing or unstable.The text was updated successfully, but these errors were encountered: