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

2018-03-03 Thread Duncan Murdoch
On 03/03/2018 3:00 PM, Joshua Ulrich wrote: On Sat, Mar 3, 2018 at 1:33 PM, David Hugh-Jones wrote: Hi all, Assuming this is an R core issue: tryCatch(install.packages("clipr", repos = "bullshit"), warning = function (w) cat("got a warning")) Warning in install.packages : unable to access

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

2018-03-03 Thread Joshua Ulrich
On Sat, Mar 3, 2018 at 1:33 PM, David Hugh-Jones wrote: > Hi all, > > Assuming this is an R core issue: > > tryCatch(install.packages("clipr", repos = "bullshit"), warning = function > (w) cat("got a warning")) > Warning in install.packages : > unable to access index for repository bullshit/src/

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

2018-03-03 Thread David Hugh-Jones
Hi all, Assuming this is an R core issue: tryCatch(install.packages("clipr", repos = "bullshit"), warning = function (w) cat("got a warning")) Warning in install.packages : unable to access index for repository bullshit/src/contrib: cannot open URL 'bullshit/src/contrib/PACKAGES' Warning in i