Robin Lovelace

Results 774 comments of Robin Lovelace

Thanks @nirski. I have not worked on the book for a while and have limited capacity to update it at present. Any Pull Request to fix it welcome, can you...

Have you tried the **revgeo** package? I can recommend it. Demo of it in action (we recently switched to it): http://geocompr.robinlovelace.net/location.html#define-metropolitan-areas

Great. Not sure about API limits with Photon. Glad the chapter was of use. Any comments/suggestions on that welcome!

Hi can reproduce this issue: ``` r library(sysreqs) library(openssl) sysreqs(desc = file.path(path.package(package = "openssl"), "DESCRIPTION")) #> Error: JSON: EXPECTED value GOT U sysreqs(desc = file.path(path.package(package = "openssl"), "DESCRIPTION"), platform =...

@gaborcsardi thanks for the fast response. Does that mean this issue can be closed? I have another issue which is more of a question: any plans for a CRAN release?...

Updated reprex showing the platform returned by `detect_platform()`. Surprised if this is the intended behaviour. ``` r library(sysreqs) library(openssl) (p = sysreqs::detect_platform()) #> [1] "r-release-linux-x86_64" sysreqs(desc = file.path(path.package(package = "openssl"),...

Update, I just saw from this it is - any update on this ~yr after that post? Like @nuest I'm happy to help with this https://github.com/r-hub/sysreqs/issues/5

Example from a package on CRAN: ``` r sysreqs::sysreqs(desc = system.file(package = "tmap", "DESCRIPTION"), platform = "linux-x86_64-ubuntu-gcc") #> [1] "libgeos-dev libgeos++-dev" "gdal-bin" #> [3] "libgdal-dev" "libgeos-dev libgeos++-dev" #> [5] "libudunits2-dev"...

This does not apply `sysreq_commands()` which does not provide duplicates: ``` r cat(sysreqs::sysreq_commands(system.file(package = "tmap", "DESCRIPTION"), platform = "linux-x86_64-ubuntu-gcc")) # works! #> export DEBIAN_FRONTEND=noninteractive; apt-get -y update && apt-get install...

Sure: ```r # from: https://www.ecobici.cdmx.gob.mx/es/informacion-del-servicio/open-data u = "https://www.ecobici.cdmx.gob.mx/sites/default/files/data/usages/2018-01.csv" u_static = "https://www.ecobici.cdmx.gob.mx/sites/default/files/data/usages/" download.file(url = u, destfile = "input-data/month-data.csv") # create loop to download every month yrs = 2011:2018 months = formatC(1:12,...