ropensci / geojsonio

Convert many data formats to & from GeoJSON & TopoJSON
https://docs.ropensci.org/geojsonio
Other
150 stars 59 forks source link

Unable to install geojsonio in fedora #171

Closed marsupialsoup closed 4 years ago

marsupialsoup commented 4 years ago

When I try to install geojsonio package using

install.packages('geojsonio', dependencies=TRUE, repos="http://cran.rstudio.com/")

, I even had sudo before I starting R on command line. This is the error I get:

Warning messages: 1: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘units’ had non-zero exit status 2: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘protolite’ had non-zero exit status 3: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘rgeos’ had non-zero exit status 4: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘V8’ had non-zero exit status 5: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘jqr’ had non-zero exit status 6: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘sf’ had non-zero exit status 7: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘geojson’ had non-zero exit status 8: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘RPostgres’ had non-zero exit status 9: In install.packages("geojsonio", dependencies = TRUE, repos = "http://cran.rstudio.com/") : installation of package ‘geojsonio’ had non-zero exit status

sckott commented 4 years ago

can you install any packages?

marsupialsoup commented 4 years ago

Yes, I can install packages. edit: I believe the problem was that I had upgraded to R 4.0.0 or greater, and other packages had to be reinstalled.

sckott commented 4 years ago

ok, let me know if it works after installing dependencies. I don't have immediate/easy access to a fedora environment to test

marsupialsoup commented 4 years ago

I tested it on a script, I believe it's working.

github-actions[bot] commented 2 years ago

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.