Skip to content

Installation issue #203

@MatteaE

Description

@MatteaE

I am getting the following error when trying to run
install.packages("metR"):

Installing package into ‘/home/ocirne94/R/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)                                                                                               
trying URL 'https://cloud.r-project.org/src/contrib/metR_0.18.0.tar.gz'                                                 
Content type 'application/x-gzip' length 3595647 bytes (3.4 MB)                                                         
==================================================                                                                      
downloaded 3.4 MB                                                                                                                                                                                                                               * installing *source* package ‘metR’ ...                                                                                
** package ‘metR’ successfully unpacked and MD5 sums checked                                                            
** using staged installation                                                                                            
** R                                                                                                                    
** data                                                                                                                 
*** moving datasets to lazyload DB                                                                                      
** inst                                                                                                                 
** byte-compile and prepare package for lazy loading                                                                    
Error in readRDS(nsInfoFilePath) : error reading from connection                                                        
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace -> readRDS                                   
Execution halted                                                                                                        
ERROR: lazy loading failed for package ‘metR’                                                                           
* removing ‘/home/ocirne94/R/x86_64-pc-linux-gnu-library/4.3/metR’                                                                                                                                                                              The downloaded source packages are in                                                                                           
‘/tmp/Rtmpp4KZP3/downloaded_packages’                                                                           
Warning message:                                                                                                        
In install.packages("metR") :                                                                                             
installation of package ‘metR’ had non-zero exit status

R 4.3.3 on Ubuntu 24.04.2 on WSL virtual machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions