Yes. Specifically, RStudio overrides utils::install.packages() with their own
> install.packages
function (...)
.rs.callAs(name, hook, original, ...)
which is paved with good intentions, but does deflect blame towards R Core
things go wrong.
-pd
> On 15 Jun 2023, at 19:42 , Duncan Murdoch
(Sorry, forgot "Reply all" last time.)
That's an RStudio bug. It doesn't happen if you use install.packages()
from R.
Duncan Murdoch
On 14/06/2023 9:22 a.m., Dean Attali wrote:
There is a default R option for which repos to install from -
`getOption("repos")`.
When installing a package
There is a default R option for which repos to install from -
`getOption("repos")`.
When installing a package using install.packages(), you can provide a
`repos` parameter. The default value of that parameter is
`getOption("repos")`. I assumed that this parameter would override the R
option. In
3 matches
Mail list logo