Ivan, can you give more detail on this? I've heard this issue mentioned, but when I open RStudio and run find("install.packages") it returns "utils::install.packages", and running dump() from within RStudio console and from an external "R --vanilla" gives identical results.

I thought at one point this might only refer to the GUI package-installation interface, but you seem to be saying it's the install.packages() function as well.

Running an up-to-date RStudio on Linux, FWIW -- maybe weirdness only happens on other OSs?

   Ben Bolker

On 2024-03-20 12:13 p.m., Ivan Krylov via R-help wrote:
В Wed, 20 Mar 2024 16:02:27 +0000
Jorgen Harmse via R-help <r-help@r-project.org> пишет:

install.packages(tar,type='source',repos=NULL)

Error in library(jhBase) : there is no package called ‘jhBase’

Execution halted

Warning in install.packages(tar, type = "source", repos = NULL) :

   installation of package
‘/Users/jharmse/Library/CloudStorage/OneDrive-RokuInc/jhBase_1.0.1.tar.gz’
had non-zero exit status

Using RStudio? It happens to override install.packages with a function
that doesn't quite handle file paths. Try utils::install.packages(tar,
type = "source", repos = NULL).


______________________________________________
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 http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to