{"action":"created","issue":{"url":"https://api.github.com/repos/rocker-org/rocker/issues/119","labels_url":"https://api.github.com/repos/rocker-org/rocker/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/rocker-org/rocker/issues/119/comments","events_url":"https://api.github.com/repos/rocker-org/rocker/issues/119/events","html_url":"https://github.com/rocker-org/rocker/issues/119","id":68267339,"number":119,"title":"request: `r-spatial` container","user":{"login":"achubaty","id":3435577,"avatar_url":"https://avatars.githubusercontent.com/u/3435577?v=3","gravatar_id":"","url":"https://api.github.com/users/achubaty","html_url":"https://github.com/achubaty","followers_url":"https://api.github.com/users/achubaty/followers","following_url":"https://api.github.com/users/achubaty/following{/other_user}","gists_url":"https://api.github.com/users/achubaty/gists{/gist_id}","starred_url":"https://api.github.com/users/achubaty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achubaty/subscriptions","organizations_url":"https://api.github.com/users/achubaty/orgs","repos_url":"https://api.github.com/users/achubaty/repos","events_url":"https://api.github.com/users/achubaty/events{/privacy}","received_events_url":"https://api.github.com/users/achubaty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-14T05:36:19Z","updated_at":"2015-04-14T16:44:19Z","closed_at":null,"body":"I just started playing around with Docker and rocker (thank you!) and I want to put together a container \r\nwith a good collection of spatial (*i.e.*, maps) packages. For my use case (package testing and development) I would like `r-spatial` to be based on `r-devel`.\r\n\r\nI've managed to get a container running locally that I built 'manually' based on `r-devel` using:\r\n\r\n```bash\r\n# install system packages\r\napt-get install -y --no-install-recommends \\\r\n\tbwidget gsl-bin libgsl0-dev libgdal-dev libgdal1-dev libgeos-dev libgeos++-dev \\\r\n\tlibproj-dev libspatialite-dev libxml2-dev netcdf-bin r-cran-rgl\r\n\r\n# need to run R-devel with virtual xserver\r\nxvfb-run Rdevel\r\n```\r\n\r\n```r\r\n# install R packages (could be done from cmd line)\r\ninstall.packages(\"devtools\")\r\ninstall.packages(\"testthat\")\r\n\r\nlibrary(devtools)\r\nspatial.pkgs <- c(\"geoR\", \"mapdata\", \"maps\", \"maptools\", \"ncdf4\", \"RandomFields\", \"plotKML\",\r\n                  \"rgdal\", \"rgeos\", \"shapefiles\", \"sp\", \"spatstat\", \"raster\", \"rts\")\r\nlapply(spatial.pkgs, install.packages)\r\ninstall_github(\"s-u/fastshp\")\r\n```\r\n\r\nIs there interest in creating/maintaining an `r-spatial` container as part of your rocker project?"},"comment":{"url":"https://api.github.com/repos/rocker-org/rocker/issues/comments/92971291","html_url":"https://github.com/rocker-org/rocker/issues/119#issuecomment-92971291","issue_url":"https://api.github.com/repos/rocker-org/rocker/issues/119","id":92971291,"user":{"login":"cboettig","id":222586,"avatar_url":"https://avatars.githubusercontent.com/u/222586?v=3","gravatar_id":"","url":"https://api.github.com/users/cboettig","html_url":"https://github.com/cboettig","followers_url":"https://api.github.com/users/cboettig/followers","following_url":"https://api.github.com/users/cboettig/following{/other_user}","gists_url":"https://api.github.com/users/cboettig/gists{/gist_id}","starred_url":"https://api.github.com/users/cboettig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboettig/subscriptions","organizations_url":"https://api.github.com/users/cboettig/orgs","repos_url":"https://api.github.com/users/cboettig/repos","events_url":"https://api.github.com/users/cboettig/events{/privacy}","received_events_url":"https://api.github.com/users/cboettig/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T16:44:19Z","updated_at":"2015-04-14T16:44:19Z","body":"@achubaty For creating an environment for testing a specific package, you might want to take a look at https://github.com/richfitz/dockertest.  \r\n\r\nIt's not going to be possible in general to create a container that has dev version of R for testing, all the dependencies a particular developer needs just for their package, and \"no extra stuff\" without having a custom image for each user; which is exactly what dockertest creates.  You can specify whatever base image you think is appropriate there (e.g. r-devel).  \r\n\r\n"}}