rnaturalearthhires icon indicating copy to clipboard operation
rnaturalearthhires copied to clipboard

installation attempt fails: "error reading from connection"

Open mgastner opened this issue 4 years ago • 13 comments

I'm trying to run the command ne_countries(scale = 10) in R 3.6.1. I'm encountering an error when trying to install rnaturalearthhires (see below). A Google search doesn't bring up information about what causes this error. Can you please advise?

> ne_countries(scale = 10)
The rnaturalearthhires package needs to be installed.
Install the rnaturalearthhires package? 

1: Yes
2: No

Selection: 1
Installing the rnaturalearthhires package.
Installing package into ‘/home/mgastner/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
Error in value[[3L]](cond) : 
  Failed to install the rnaturalearthhires package.
  Please try installing the package for yourself using the following command: 
     install.packages("rnaturalearthhires", repos = "http://packages.ropensci.org", type = "source")
> install.packages("rnaturalearthhires", repos = "http://packages.ropensci.org", type = "source")
Installing package into ‘/home/mgastner/R/x86_64-pc-linux-gnu-library/3.6’
(as ‘lib’ is unspecified)
Error in install.packages : error reading from connection

mgastner avatar Nov 09 '19 01:11 mgastner