[R] Building Packages.

Ben Bolker bbo|ker @end|ng |rom gm@||@com
Wed Mar 20 17:37:39 CET 2024


   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 using 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).
>



More information about the R-help mailing list