[Rd] Fwd: install.packages doesn't produce warnings unless qualified with utils::

David Hugh-Jones davidhughjones at gmail.com
Sun Mar 4 10:40:19 CET 2018

On Sat, 3 Mar 2018 at 20:01, Joshua Ulrich <josh.m.ulrich at gmail.com> wrote:

> >
> My guess is that something (a package, console, etc) is masking
> utils::install.packages().
This looks about right. On R in the terminal the warning is thrown. In
Rstudio I have the problem, and:

 > getAnywhere('install.packages')
2 differing objects matching ‘install.packages’ were found
in the following places
Use [] to view one of them

And the version in package.utils looks like:

function (...)
.rs.callAs(name, hook, original, ...)

OK, so an RStudio issue. Indeed, this looks like the problem:


There, callAs is defined as running a function with error handlers which
use `cat` to reprint warnings.

Sent from Gmail Mobile

	[[alternative HTML version deleted]]

More information about the R-devel mailing list