Code Monkey home page Code Monkey logo

Comments (4)

cboettig avatar cboettig commented on June 30, 2024 1

Hi @Robinlovelace , great suggestion, I'd welcome a PR. Yup, I think making sure that this image has all the dependencies for geocompr book would be a nice benchmark; I'm a big fan of the work you folks are doing there.

from geospatial.

Robinlovelace avatar Robinlovelace commented on June 30, 2024 1

Update: I just pulled down the latest version of rocker/geospatial and did

docker run -d -p 8787:8787 -v D:/geocompr:/data robinlovelace/geocompr

Happy to say the entire book built on there without issue after I ran this from inside RStudio Server:

bookdown::render_book("index.Rmd") # to build the book
browseURL("_book/index.html") # to view it

cc @Nowosad and @jannes-m: containerised geocompr works!

from geospatial.

Robinlovelace avatar Robinlovelace commented on June 30, 2024

Reprex of my attempt running on the latest version or rocker/geospatial:

install.packages("tmap")
#> Installing package into '/usr/local/lib/R/site-library'
#> (as 'lib' is unspecified)
#> also installing the dependencies 'protolite', 'geojson', 'jqr', 'geojsonio', 'rmapshaper', 'tmaptools'
#> Warning in install.packages("tmap"): installation of package 'protolite'
#> had non-zero exit status
#> Warning in install.packages("tmap"): installation of package 'jqr' had non-
#> zero exit status
#> Warning in install.packages("tmap"): installation of package 'geojson' had
#> non-zero exit status
#> Warning in install.packages("tmap"): installation of package 'geojsonio'
#> had non-zero exit status
#> Warning in install.packages("tmap"): installation of package 'rmapshaper'
#> had non-zero exit status
#> Warning in install.packages("tmap"): installation of package 'tmaptools'
#> had non-zero exit status
#> Warning in install.packages("tmap"): installation of package 'tmap' had
#> non-zero exit status

from geospatial.

Robinlovelace avatar Robinlovelace commented on June 30, 2024

Job done it seems:

image

Any issues you see with this build let me know: https://hub.docker.com/r/robinlovelace/geocompr/builds/bdmus6trgzbkixaqyd9xprd/

from geospatial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.