On Thu, 6 Feb 2025 09:36:23 -0800
arilamst...@gmail.com wrote:

> It appears that install.packages does not automatically install
> package dependencies when the package is installed via a URL. [...]
> When I type getOption('repos') I get:
> 
>                        CRAN
> "https://cran.rstudio.com/";
> attr(,"RStudio")
> [1] TRUE

Do you set this value somewhere (via an environment variable or start
up file)?  Or is it this value because you use RStudio as IDE?

If you use RStudio, please be aware that RStudio has its own version of
install.packages():

RStudio> install.packages
function (...) 
.rs.callAs(name, hook, original, ...)
<environment: 0x12a530f00>

So if you are using RStudio, you will have to talk with Posit about
changing the behaviour of install.packages().

If you want the behaviour of utils::install.packages() to change, I am
sure that R-Core will consider any diff that implements the
new/improved behaviour. :-)

Cheers,

        Berwin

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to