ATFutures / geoplumber

Serve geographic data from R and consume with scalable front end.
https://atfutures.github.io/geoplumber/
59 stars 7 forks source link

Create package skeleton #1

Closed Robinlovelace closed 6 years ago

Robinlovelace commented 6 years ago

Heads-up @layik and @mpadge I suggest we use this as the basis for our plumber exploits, once experience from experimentation yields results, we can generalise!

Heads-up @layik the go-to resources on this are devtools, usethis and the R packages book: http://r-pkgs.had.co.nz/

Suggest we work on this at the minihack and maybe at a distance during the rOpenSci Unconf - happy for you to create this elsewhere @mpadge.

mpadge commented 6 years ago

This is really exciting stuff - I'm looking forward to learning lots through this process

layik commented 6 years ago

rOpenSci Unconf? Sure :)

layik commented 6 years ago

Now have the #R power enough to give this a try.

Robinlovelace commented 6 years ago

Seems like it's getting there, but this ain't working yet:

devtools::install_github("ATFutures/geoplumber")
#> Using GitHub PAT from envvar GITHUB_PAT
#> Downloading GitHub repo ATFutures/geoplumber@master
#> from URL https://api.github.com/repos/ATFutures/geoplumber/zipball/master
#> Installation failed: Does not appear to be an R package (no DESCRIPTION)

Created on 2018-08-20 by the reprex package (v0.2.0).

layik commented 6 years ago

try again?

Robinlovelace commented 6 years ago

Bingo - I think this one's closed then:

devtools::install_github("ATFutures/geoplumber") ; library(geoplumber)
#> Using GitHub PAT from envvar GITHUB_PAT
#> Downloading GitHub repo ATFutures/geoplumber@master
#> from URL https://api.github.com/repos/ATFutures/geoplumber/zipball/master
#> Installing geoplumber
#> '/usr/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore  \
#>   --quiet CMD INSTALL  \
#>   '/tmp/RtmpFwY6Qf/devtools6463465dd64e/ATFutures-geoplumber-36aed816a9a9e99b36ffe863dfb47fd952aa3ed0'  \
#>   --library='/home/robin/R/x86_64-pc-linux-gnu-library/3.5'  \
#>   --install-tests
#> 

Created on 2018-08-20 by the reprex package (v0.2.0).